mirror of
https://github.com/elisspace/core.git
synced 2026-09-24 19:46:55 +00:00
* Add 'available' property. Return True by default. * Use new property in update_ha_state(). If available is False, set state to 'unavailable', through constant. * Add STATE_UNAVAILABLE constant 'unavailable' in const.py. * Fix docstrings in entity.py and const.py, according to PEP257. Ignore D203 and D105.