mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 04:05:06 +02:00
Fixed power state for remove domain.
This commit is contained in:
@@ -441,7 +441,7 @@ class AlexaPowerController(AlexaCapability):
|
||||
elif self.entity.domain == humidifier.DOMAIN:
|
||||
is_on = self.entity.state == humidifier.STATE_ON
|
||||
elif self.entity.domain == remote.DOMAIN:
|
||||
is_on = self.entity.state == remote.STATE_ON
|
||||
is_on = self.entity.state not in (STATE_OFF, STATE_UNKNOWN)
|
||||
elif self.entity.domain == vacuum.DOMAIN:
|
||||
is_on = self.entity.state == vacuum.STATE_CLEANING
|
||||
elif self.entity.domain == timer.DOMAIN:
|
||||
|
Reference in New Issue
Block a user