hass_flickerstrip/custom_components/flickerstrip/common.py

11 lines
249 B
Python
Raw Normal View History

2023-01-29 20:57:59 -05:00
from flickerstrip_py import Flickerstrip
2023-01-29 13:29:34 -05:00
2023-01-29 20:57:59 -05:00
from homeassistant.helpers.entity import Entity
2023-01-29 13:29:34 -05:00
2023-01-29 20:57:59 -05:00
class FlickerstripEntity(Entity):
"""Base flickerstrip entity."""
2023-01-29 13:29:34 -05:00
2023-01-30 12:14:08 -05:00
def __init__(self, strip: Flickerstrip):
self.strip: Flickerstrip = strip