How to use the aioswitcher.consts.STATE_ON function in aioswitcher

To help you get started, we’ve selected a few aioswitcher examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github home-assistant / home-assistant / homeassistant / components / switcher_kis / switch.py View on Github external
def is_on(self) -> bool:
        """Return True if entity is on."""

        return self._state == SWITCHER_STATE_ON

aioswitcher

Switcher Python Integration.

Apache-2.0
Latest version published 5 days ago

Package Health Score

78 / 100
Full package analysis

Similar packages