Call a fan.turn_off when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
This commit is contained in:
@@ -1020,7 +1020,7 @@ text_sensor:
|
||||
}
|
||||
else if (domain == "fan")
|
||||
{
|
||||
if (key == "stop")
|
||||
if (key == "stop" or value == "0")
|
||||
{
|
||||
service = "fan.turn_off";
|
||||
key = "";
|
||||
|
||||
Reference in New Issue
Block a user