2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

FB_CALLLIST: fixing double space in certain call state values

git-svn-id: https://svn.fhem.de/fhem/trunk@11507 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch 2016-05-23 20:08:33 +00:00
parent 11dc0f9b81
commit e764abe206
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.
# 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;
any existing ONKYO_AVR devices used for zoning need to to
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" )
{
$state = "=> [=]";
$state = "=> [=]";
$state = FB_CALLLIST_returnIcon($hash,"incoming.connected", $state) if($icons);
}
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);
}
elsif($data->{direction} eq "outgoing" and $data->{last_event} eq "connect" )
{
$state = "<= [=]";
$state = "<= [=]";
$state = FB_CALLLIST_returnIcon($hash,"outgoing.connected", $state) if($icons);
}
elsif($data->{direction} eq "outgoing" and $data->{last_event} eq "call")