5151c4d99b
* Add long-term statistics support for homematic * Refactor cast list to SensorEntityDescription dict Additional: - Gas power, gas energy counter, air pressure and voltage uses long-term-statistics - Gas power, gas energy counter uses device class gas - Voltage uses device class voltage - air pressure uses device class pressure * Refactor expensive loop to separate dictionarys * Use entity description property + fix humidity sensor * Log missing sensor descriptions * Use state class measurement for illumination sensors * Move sensor entity desc missing warning to setup_platform * Set type for hmdevice and homematic to fix mypy error * Use EntityDescription instead of SensorEntityDescription * Update entity.py * fix type * Update climate.py * fix v2 Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch> |
||
---|---|---|
.. | ||
__init__.py | ||
binary_sensor.py | ||
climate.py | ||
const.py | ||
cover.py | ||
entity.py | ||
light.py | ||
lock.py | ||
manifest.json | ||
notify.py | ||
sensor.py | ||
services.yaml | ||
switch.py |