mirror of
https://github.com/Andre0512/hon.git
synced 2026-02-24 11:02:17 +00:00
Replace deprecated HomeAssistantType with HomeAssistant from homeassistant.core. HomeAssistantType was removed in newer Home Assistant versions, causing ImportError. This updates all imports from homeassistant.helpers.typing to homeassistant.core. Fixes compatibility with Home Assistant 2026.x and later versions. Files updated: - __init__.py - binary_sensor.py - button.py - climate.py - entity.py - fan.py - light.py - lock.py - number.py - select.py - sensor.py - switch.py |
||
|---|---|---|
| .. | ||
| translations | ||
| __init__.py | ||
| binary_sensor.py | ||
| button.py | ||
| climate.py | ||
| config_flow.py | ||
| const.py | ||
| entity.py | ||
| fan.py | ||
| light.py | ||
| lock.py | ||
| manifest.json | ||
| number.py | ||
| select.py | ||
| sensor.py | ||
| switch.py | ||
| typedefs.py | ||
| util.py | ||