mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-16 10:46:03 +00:00
98_Hyperion.pm: fixed reporting Hyperion as off while clearall is active
git-svn-id: https://svn.fhem.de/fhem/trunk@11965 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
05cab5ecd7
commit
4c7ea28d57
@ -1,5 +1,6 @@
|
||||
# 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: 98_Hyperion: reporting Hyperion as off while clearall is active
|
||||
- updated: 74_AMAD: New Minor Release 2.6 new 2 Media Readings,
|
||||
new trigger for Mediastate MUST INSTALL AUTOMAGIC 1.31.0
|
||||
fix fix Issues 480148
|
||||
|
@ -356,8 +356,9 @@ sub Hyperion_ParseHttpResponse($$$)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (defined($prio) && $prio == 1100)
|
||||
if ($prio)
|
||||
{
|
||||
Log3 $name,4,"$name Hyperion_ParseHttpResponse clearall priority: $prio";
|
||||
readingsBulkUpdate($hash,"mode","clearall") if (ReadingsVal($name,"mode","") ne "clearall");
|
||||
readingsBulkUpdate($hash,"previous_mode","clearall") if (ReadingsVal($name,"previous_mode","") ne "clearall");
|
||||
readingsBulkUpdate($hash,"state","clearall") if (Value($name) ne "clearall");
|
||||
|
Loading…
x
Reference in New Issue
Block a user