FB_CALLLIST: fixing double space in certain call state values

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11507 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch 2016-05-23 20:08:33 +00:00
parent 7cf9a42de7
commit 04de32e30e
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,8 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it. # Do not insert empty lines here, update check depends on it.
- bugfix: FB_CALLLIST: fixing double space in certain call state values.
PLEASE CHECK YOUR CONFIGURATION (notify, DOIF, FTUI, etc.) after
this update!!!
- added: 71_ONKYO_AVR_ZONE: separate module for ONKYO_AVR zones; - added: 71_ONKYO_AVR_ZONE: separate module for ONKYO_AVR zones;
any existing ONKYO_AVR devices used for zoning need to to any existing ONKYO_AVR devices used for zoning need to to
redefined manually by a ONKYO_AVR_ZONE device redefined manually by a ONKYO_AVR_ZONE device

View File

@ -662,17 +662,17 @@ sub FB_CALLLIST_returnCallState($$;$)
{ {
if($data->{direction} eq "incoming" and $data->{last_event} eq "connect" ) if($data->{direction} eq "incoming" and $data->{last_event} eq "connect" )
{ {
$state = "=> [=]"; $state = "=> [=]";
$state = FB_CALLLIST_returnIcon($hash,"incoming.connected", $state) if($icons); $state = FB_CALLLIST_returnIcon($hash,"incoming.connected", $state) if($icons);
} }
elsif($data->{direction} eq "incoming" and $data->{last_event} eq "ring") elsif($data->{direction} eq "incoming" and $data->{last_event} eq "ring")
{ {
$state = "=> ((o))"; $state = "=> ((o))";
$state = FB_CALLLIST_returnIcon($hash,"incoming.ring", $state) if($icons); $state = FB_CALLLIST_returnIcon($hash,"incoming.ring", $state) if($icons);
} }
elsif($data->{direction} eq "outgoing" and $data->{last_event} eq "connect" ) elsif($data->{direction} eq "outgoing" and $data->{last_event} eq "connect" )
{ {
$state = "<= [=]"; $state = "<= [=]";
$state = FB_CALLLIST_returnIcon($hash,"outgoing.connected", $state) if($icons); $state = FB_CALLLIST_returnIcon($hash,"outgoing.connected", $state) if($icons);
} }
elsif($data->{direction} eq "outgoing" and $data->{last_event} eq "call") elsif($data->{direction} eq "outgoing" and $data->{last_event} eq "call")