homeassistant-stubs 2024.12.5__py3-none-any.whl → 2025.1.0b0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- homeassistant-stubs/auth/__init__.pyi +1 -1
- homeassistant-stubs/auth/mfa_modules/__init__.pyi +6 -4
- homeassistant-stubs/auth/mfa_modules/notify.pyi +2 -3
- homeassistant-stubs/auth/mfa_modules/totp.pyi +2 -3
- homeassistant-stubs/auth/providers/__init__.pyi +6 -4
- homeassistant-stubs/auth/providers/command_line.pyi +2 -2
- homeassistant-stubs/auth/providers/homeassistant.pyi +2 -2
- homeassistant-stubs/auth/providers/insecure_example.pyi +2 -2
- homeassistant-stubs/auth/providers/trusted_networks.pyi +2 -2
- homeassistant-stubs/backup_restore.pyi +11 -4
- homeassistant-stubs/components/abode/light.pyi +4 -3
- homeassistant-stubs/components/acaia/__init__.pyi +9 -0
- homeassistant-stubs/components/acaia/binary_sensor.pyi +24 -0
- homeassistant-stubs/components/acaia/button.pyi +24 -0
- homeassistant-stubs/components/acaia/config_flow.pyi +18 -0
- homeassistant-stubs/components/acaia/const.pyi +2 -0
- homeassistant-stubs/components/acaia/coordinator.pyi +19 -0
- homeassistant-stubs/components/{stookalert → acaia}/diagnostics.pyi +2 -3
- homeassistant-stubs/components/acaia/entity.pyi +17 -0
- homeassistant-stubs/components/acaia/sensor.pyi +44 -0
- homeassistant-stubs/components/adax/climate.pyi +0 -1
- homeassistant-stubs/components/airtouch5/climate.pyi +0 -1
- homeassistant-stubs/components/airzone/climate.pyi +0 -1
- homeassistant-stubs/components/airzone_cloud/climate.pyi +3 -2
- homeassistant-stubs/components/alarm_control_panel/__init__.pyi +1 -6
- homeassistant-stubs/components/alarm_control_panel/const.pyi +0 -14
- homeassistant-stubs/components/analytics_insights/config_flow.pyi +3 -2
- homeassistant-stubs/components/autarco/__init__.pyi +1 -0
- homeassistant-stubs/components/autarco/config_flow.pyi +4 -0
- homeassistant-stubs/components/autarco/coordinator.pyi +1 -0
- homeassistant-stubs/components/automation/__init__.pyi +1 -10
- homeassistant-stubs/components/backup/__init__.pyi +4 -11
- homeassistant-stubs/components/backup/agent.pyi +35 -0
- homeassistant-stubs/components/backup/backup.pyi +29 -0
- homeassistant-stubs/components/backup/config.pyi +117 -0
- homeassistant-stubs/components/backup/const.pyi +2 -0
- homeassistant-stubs/components/backup/http.pyi +3 -2
- homeassistant-stubs/components/backup/manager.pyi +191 -51
- homeassistant-stubs/components/backup/models.pyi +35 -0
- homeassistant-stubs/components/backup/store.pyi +24 -0
- homeassistant-stubs/components/backup/util.pyi +12 -0
- homeassistant-stubs/components/backup/websocket.pyi +9 -1
- homeassistant-stubs/components/baf/climate.pyi +0 -1
- homeassistant-stubs/components/baf/fan.pyi +0 -1
- homeassistant-stubs/components/baf/light.pyi +4 -5
- homeassistant-stubs/components/bang_olufsen/const.pyi +3 -0
- homeassistant-stubs/components/bang_olufsen/media_player.pyi +2 -2
- homeassistant-stubs/components/binary_sensor/__init__.pyi +0 -33
- homeassistant-stubs/components/bluesound/__init__.pyi +0 -1
- homeassistant-stubs/components/bluesound/media_player.pyi +13 -8
- homeassistant-stubs/components/bluesound/utils.pyi +2 -0
- homeassistant-stubs/components/bmw_connected_drive/__init__.pyi +4 -12
- homeassistant-stubs/components/bmw_connected_drive/binary_sensor.pyi +1 -0
- homeassistant-stubs/components/bmw_connected_drive/button.pyi +1 -0
- homeassistant-stubs/components/bmw_connected_drive/config_flow.pyi +8 -4
- homeassistant-stubs/components/bmw_connected_drive/coordinator.pyi +4 -3
- homeassistant-stubs/components/bmw_connected_drive/device_tracker.pyi +2 -2
- homeassistant-stubs/components/bmw_connected_drive/diagnostics.pyi +1 -0
- homeassistant-stubs/components/bmw_connected_drive/lock.pyi +1 -0
- homeassistant-stubs/components/bmw_connected_drive/notify.pyi +2 -1
- homeassistant-stubs/components/bmw_connected_drive/number.pyi +1 -0
- homeassistant-stubs/components/bmw_connected_drive/select.pyi +1 -0
- homeassistant-stubs/components/bmw_connected_drive/sensor.pyi +1 -0
- homeassistant-stubs/components/bmw_connected_drive/switch.pyi +1 -0
- homeassistant-stubs/components/bryant_evolution/climate.pyi +0 -1
- homeassistant-stubs/components/cambridge_audio/config_flow.pyi +4 -1
- homeassistant-stubs/components/cambridge_audio/media_browser.pyi +8 -0
- homeassistant-stubs/components/cambridge_audio/media_player.pyi +4 -3
- homeassistant-stubs/components/cambridge_audio/select.pyi +2 -2
- homeassistant-stubs/components/cambridge_audio/switch.pyi +2 -2
- homeassistant-stubs/components/camera/__init__.pyi +1 -5
- homeassistant-stubs/components/camera/const.pyi +0 -8
- homeassistant-stubs/components/cert_expiry/config_flow.pyi +0 -1
- homeassistant-stubs/components/cert_expiry/sensor.pyi +2 -10
- homeassistant-stubs/components/climate/__init__.pyi +1 -12
- homeassistant-stubs/components/climate/const.pyi +0 -25
- homeassistant-stubs/components/cloud/backup.pyi +36 -0
- homeassistant-stubs/components/cloud/const.pyi +2 -0
- homeassistant-stubs/components/cloud/http_api.pyi +7 -2
- homeassistant-stubs/components/cookidoo/__init__.pyi +9 -0
- homeassistant-stubs/components/cookidoo/config_flow.pyi +24 -0
- homeassistant-stubs/components/cookidoo/const.pyi +1 -0
- homeassistant-stubs/components/cookidoo/coordinator.pyi +25 -0
- homeassistant-stubs/components/cookidoo/entity.pyi +10 -0
- homeassistant-stubs/components/cookidoo/todo.pyi +32 -0
- homeassistant-stubs/components/cover/__init__.pyi +0 -18
- homeassistant-stubs/components/crownstone/config_flow.pyi +1 -1
- homeassistant-stubs/components/deconz/climate.pyi +0 -1
- homeassistant-stubs/components/deconz/fan.pyi +0 -1
- homeassistant-stubs/components/deconz/light.pyi +7 -5
- homeassistant-stubs/components/demo/climate.pyi +0 -1
- homeassistant-stubs/components/demo/fan.pyi +0 -1
- homeassistant-stubs/components/demo/light.pyi +4 -2
- homeassistant-stubs/components/demo/vacuum.pyi +2 -4
- homeassistant-stubs/components/device_tracker/__init__.pyi +1 -7
- homeassistant-stubs/components/device_tracker/const.pyi +0 -8
- homeassistant-stubs/components/devolo_home_control/__init__.pyi +1 -1
- homeassistant-stubs/components/devolo_home_control/binary_sensor.pyi +3 -2
- homeassistant-stubs/components/devolo_home_control/climate.pyi +0 -1
- homeassistant-stubs/components/devolo_home_control/config_flow.pyi +1 -2
- homeassistant-stubs/components/devolo_home_control/const.pyi +0 -2
- homeassistant-stubs/components/devolo_home_control/sensor.pyi +1 -3
- homeassistant-stubs/components/discovergy/__init__.pyi +2 -2
- homeassistant-stubs/components/duotecno/climate.pyi +0 -1
- homeassistant-stubs/components/easyenergy/__init__.pyi +4 -5
- homeassistant-stubs/components/easyenergy/coordinator.pyi +3 -2
- homeassistant-stubs/components/easyenergy/diagnostics.pyi +2 -5
- homeassistant-stubs/components/easyenergy/sensor.pyi +2 -3
- homeassistant-stubs/components/easyenergy/services.pyi +4 -4
- homeassistant-stubs/components/ecovacs/button.pyi +13 -2
- homeassistant-stubs/components/ecovacs/const.pyi +1 -0
- homeassistant-stubs/components/ecovacs/number.pyi +1 -1
- homeassistant-stubs/components/ecovacs/select.pyi +2 -2
- homeassistant-stubs/components/ecovacs/sensor.pyi +1 -1
- homeassistant-stubs/components/ecovacs/util.pyi +1 -0
- homeassistant-stubs/components/ecovacs/vacuum.pyi +3 -3
- homeassistant-stubs/components/eheimdigital/__init__.pyi +14 -0
- homeassistant-stubs/components/eheimdigital/config_flow.pyi +18 -0
- homeassistant-stubs/components/eheimdigital/const.pyi +8 -0
- homeassistant-stubs/components/eheimdigital/coordinator.pyi +25 -0
- homeassistant-stubs/components/eheimdigital/entity.pyi +20 -0
- homeassistant-stubs/components/eheimdigital/light.pyi +36 -0
- homeassistant-stubs/components/electrasmart/climate.pyi +0 -1
- homeassistant-stubs/components/elevenlabs/__init__.pyi +6 -7
- homeassistant-stubs/components/elevenlabs/config_flow.pyi +4 -3
- homeassistant-stubs/components/elevenlabs/tts.pyi +6 -3
- homeassistant-stubs/components/elgato/__init__.pyi +3 -5
- homeassistant-stubs/components/elgato/button.pyi +4 -3
- homeassistant-stubs/components/elgato/config_flow.pyi +1 -1
- homeassistant-stubs/components/elgato/coordinator.pyi +4 -3
- homeassistant-stubs/components/elgato/diagnostics.pyi +2 -2
- homeassistant-stubs/components/elgato/light.pyi +6 -7
- homeassistant-stubs/components/elgato/sensor.pyi +4 -3
- homeassistant-stubs/components/elgato/switch.pyi +4 -3
- homeassistant-stubs/components/elkm1/climate.pyi +0 -1
- homeassistant-stubs/components/emulated_hue/hue_api.pyi +1 -1
- homeassistant-stubs/components/energyzero/__init__.pyi +4 -5
- homeassistant-stubs/components/energyzero/coordinator.pyi +2 -1
- homeassistant-stubs/components/energyzero/diagnostics.pyi +2 -5
- homeassistant-stubs/components/energyzero/sensor.pyi +2 -3
- homeassistant-stubs/components/energyzero/services.pyi +4 -4
- homeassistant-stubs/components/enigma2/coordinator.pyi +1 -0
- homeassistant-stubs/components/enigma2/media_player.pyi +0 -1
- homeassistant-stubs/components/enphase_envoy/binary_sensor.pyi +2 -0
- homeassistant-stubs/components/enphase_envoy/config_flow.pyi +2 -1
- homeassistant-stubs/components/enphase_envoy/coordinator.pyi +2 -2
- homeassistant-stubs/components/enphase_envoy/number.pyi +2 -0
- homeassistant-stubs/components/enphase_envoy/select.pyi +2 -0
- homeassistant-stubs/components/enphase_envoy/sensor.pyi +35 -1
- homeassistant-stubs/components/enphase_envoy/switch.pyi +2 -0
- homeassistant-stubs/components/esphome/climate.pyi +0 -1
- homeassistant-stubs/components/esphome/fan.pyi +0 -1
- homeassistant-stubs/components/esphome/light.pyi +0 -2
- homeassistant-stubs/components/evohome/climate.pyi +0 -1
- homeassistant-stubs/components/fan/__init__.pyi +0 -15
- homeassistant-stubs/components/feedreader/__init__.pyi +3 -8
- homeassistant-stubs/components/feedreader/config_flow.pyi +1 -6
- homeassistant-stubs/components/flexit_bacnet/climate.pyi +0 -1
- homeassistant-stubs/components/flexit_bacnet/number.pyi +3 -0
- homeassistant-stubs/components/flux_led/light.pyi +4 -5
- homeassistant-stubs/components/fritzbox/climate.pyi +0 -1
- homeassistant-stubs/components/fritzbox/coordinator.pyi +2 -1
- homeassistant-stubs/components/fritzbox/light.pyi +3 -4
- homeassistant-stubs/components/fritzbox_callmonitor/base.pyi +13 -2
- homeassistant-stubs/components/fritzbox_callmonitor/config_flow.pyi +2 -2
- homeassistant-stubs/components/fritzbox_callmonitor/sensor.pyi +4 -4
- homeassistant-stubs/components/fronius/__init__.pyi +1 -1
- homeassistant-stubs/components/fronius/const.pyi +3 -3
- homeassistant-stubs/components/fronius/coordinator.pyi +1 -1
- homeassistant-stubs/components/fronius/sensor.pyi +2 -1
- homeassistant-stubs/components/fujitsu_fglair/climate.pyi +0 -1
- homeassistant-stubs/components/fyta/__init__.pyi +2 -2
- homeassistant-stubs/components/fyta/entity.pyi +2 -2
- homeassistant-stubs/components/generic_thermostat/climate.pyi +1 -4
- homeassistant-stubs/components/generic_thermostat/config_flow.pyi +1 -1
- homeassistant-stubs/components/generic_thermostat/const.pyi +2 -0
- homeassistant-stubs/components/group/fan.pyi +0 -1
- homeassistant-stubs/components/group/registry.pyi +1 -1
- homeassistant-stubs/components/history/__init__.pyi +1 -1
- homeassistant-stubs/components/history/helpers.pyi +1 -2
- homeassistant-stubs/components/history/websocket_api.pyi +1 -1
- homeassistant-stubs/components/holiday/__init__.pyi +2 -1
- homeassistant-stubs/components/holiday/calendar.pyi +4 -3
- homeassistant-stubs/components/holiday/config_flow.pyi +13 -3
- homeassistant-stubs/components/holiday/const.pyi +1 -0
- homeassistant-stubs/components/homeassistant_yellow/config_flow.pyi +5 -3
- homeassistant-stubs/components/homekit/doorbell.pyi +23 -0
- homeassistant-stubs/components/homekit/type_cameras.pyi +4 -12
- homeassistant-stubs/components/homekit/type_locks.pyi +3 -2
- homeassistant-stubs/components/homekit/type_switches.pyi +1 -1
- homeassistant-stubs/components/homekit/util.pyi +1 -0
- homeassistant-stubs/components/homewizard/sensor.pyi +1 -1
- homeassistant-stubs/components/humidifier/__init__.pyi +1 -8
- homeassistant-stubs/components/humidifier/const.pyi +0 -9
- homeassistant-stubs/components/husqvarna_automower/__init__.pyi +2 -2
- homeassistant-stubs/components/husqvarna_automower/binary_sensor.pyi +1 -0
- homeassistant-stubs/components/husqvarna_automower/calendar.pyi +1 -0
- homeassistant-stubs/components/husqvarna_automower/coordinator.pyi +4 -4
- homeassistant-stubs/components/husqvarna_automower/device_tracker.pyi +2 -0
- homeassistant-stubs/components/husqvarna_automower/diagnostics.pyi +1 -2
- homeassistant-stubs/components/husqvarna_automower/entity.pyi +4 -3
- homeassistant-stubs/components/husqvarna_automower/sensor.pyi +1 -0
- homeassistant-stubs/components/idasen_desk/__init__.pyi +5 -16
- homeassistant-stubs/components/idasen_desk/button.pyi +7 -12
- homeassistant-stubs/components/idasen_desk/coordinator.pyi +2 -3
- homeassistant-stubs/components/idasen_desk/cover.pyi +8 -17
- homeassistant-stubs/components/idasen_desk/entity.pyi +12 -0
- homeassistant-stubs/components/idasen_desk/sensor.pyi +7 -20
- homeassistant-stubs/components/image_upload/media_source.pyi +14 -0
- homeassistant-stubs/components/imap/config_flow.pyi +3 -2
- homeassistant-stubs/components/imap/coordinator.pyi +5 -5
- homeassistant-stubs/components/imap/sensor.pyi +1 -0
- homeassistant-stubs/components/intent/__init__.pyi +2 -1
- homeassistant-stubs/components/iotty/switch.pyi +8 -6
- homeassistant-stubs/components/iron_os/__init__.pyi +21 -0
- homeassistant-stubs/components/iron_os/binary_sensor.pyi +19 -0
- homeassistant-stubs/components/iron_os/config_flow.pyi +15 -0
- homeassistant-stubs/components/iron_os/const.pyi +7 -0
- homeassistant-stubs/components/iron_os/coordinator.pyi +43 -0
- homeassistant-stubs/components/iron_os/entity.pyi +13 -0
- homeassistant-stubs/components/iron_os/number.pyi +62 -0
- homeassistant-stubs/components/iron_os/select.pyi +49 -0
- homeassistant-stubs/components/iron_os/sensor.pyi +46 -0
- homeassistant-stubs/components/iron_os/update.pyi +29 -0
- homeassistant-stubs/components/isy994/climate.pyi +0 -1
- homeassistant-stubs/components/isy994/fan.pyi +0 -1
- homeassistant-stubs/components/knx/climate.pyi +0 -1
- homeassistant-stubs/components/knx/config_flow.pyi +4 -0
- homeassistant-stubs/components/knx/fan.pyi +0 -1
- homeassistant-stubs/components/knx/services.pyi +5 -5
- homeassistant-stubs/components/lamarzocco/__init__.pyi +4 -5
- homeassistant-stubs/components/lamarzocco/binary_sensor.pyi +9 -3
- homeassistant-stubs/components/lamarzocco/calendar.pyi +1 -0
- homeassistant-stubs/components/lamarzocco/config_flow.pyi +6 -5
- homeassistant-stubs/components/lamarzocco/coordinator.pyi +39 -16
- homeassistant-stubs/components/lamarzocco/entity.pyi +7 -3
- homeassistant-stubs/components/lamarzocco/number.pyi +8 -4
- homeassistant-stubs/components/lamarzocco/select.pyi +8 -4
- homeassistant-stubs/components/lamarzocco/sensor.pyi +10 -3
- homeassistant-stubs/components/lamarzocco/switch.pyi +1 -1
- homeassistant-stubs/components/lametric/notify.pyi +2 -1
- homeassistant-stubs/components/lametric/number.pyi +2 -1
- homeassistant-stubs/components/lametric/services.pyi +2 -1
- homeassistant-stubs/components/lametric/switch.pyi +2 -1
- homeassistant-stubs/components/lcn/__init__.pyi +3 -1
- homeassistant-stubs/components/lcn/climate.pyi +0 -1
- homeassistant-stubs/components/lcn/const.pyi +1 -0
- homeassistant-stubs/components/lcn/helpers.pyi +1 -1
- homeassistant-stubs/components/lcn/services.pyi +7 -4
- homeassistant-stubs/components/lifx/const.pyi +1 -0
- homeassistant-stubs/components/lifx/manager.pyi +2 -2
- homeassistant-stubs/components/lifx/util.pyi +2 -2
- homeassistant-stubs/components/light/__init__.pyi +31 -55
- homeassistant-stubs/components/light/const.pyi +33 -0
- homeassistant-stubs/components/light/device_action.pyi +2 -1
- homeassistant-stubs/components/light/device_condition.pyi +1 -1
- homeassistant-stubs/components/light/device_trigger.pyi +1 -1
- homeassistant-stubs/components/light/intent.pyi +2 -1
- homeassistant-stubs/components/light/reproduce_state.pyi +2 -1
- homeassistant-stubs/components/light/significant_change.pyi +1 -1
- homeassistant-stubs/components/litterrobot/vacuum.pyi +2 -2
- homeassistant-stubs/components/lock/__init__.pyi +1 -2
- homeassistant-stubs/components/lookin/climate.pyi +0 -1
- homeassistant-stubs/components/mastodon/__init__.pyi +2 -2
- homeassistant-stubs/components/mastodon/config_flow.pyi +1 -2
- homeassistant-stubs/components/mastodon/sensor.pyi +2 -0
- homeassistant-stubs/components/matter/climate.pyi +0 -1
- homeassistant-stubs/components/matter/fan.pyi +0 -1
- homeassistant-stubs/components/matter/light.pyi +5 -5
- homeassistant-stubs/components/matter/vacuum.pyi +3 -3
- homeassistant-stubs/components/mealie/__init__.pyi +18 -0
- homeassistant-stubs/components/mealie/calendar.pyi +21 -0
- homeassistant-stubs/components/mealie/config_flow.pyi +20 -0
- homeassistant-stubs/components/mealie/const.pyi +14 -0
- homeassistant-stubs/components/mealie/coordinator.pyi +53 -0
- homeassistant-stubs/components/mealie/diagnostics.pyi +5 -0
- homeassistant-stubs/components/mealie/entity.pyi +11 -0
- homeassistant-stubs/components/mealie/sensor.pyi +29 -0
- homeassistant-stubs/components/mealie/services.pyi +21 -0
- homeassistant-stubs/components/mealie/todo.pyi +36 -0
- homeassistant-stubs/components/mealie/utils.pyi +3 -0
- homeassistant-stubs/components/media_player/__init__.pyi +0 -2
- homeassistant-stubs/components/modbus/climate.pyi +0 -1
- homeassistant-stubs/components/modbus/fan.pyi +0 -1
- homeassistant-stubs/components/modbus/modbus.pyi +3 -3
- homeassistant-stubs/components/mqtt/client.pyi +1 -1
- homeassistant-stubs/components/mqtt/climate.pyi +0 -1
- homeassistant-stubs/components/mqtt/config_flow.pyi +2 -1
- homeassistant-stubs/components/mqtt/fan.pyi +0 -1
- homeassistant-stubs/components/mqtt/light/schema_basic.pyi +5 -5
- homeassistant-stubs/components/mqtt/light/schema_json.pyi +4 -4
- homeassistant-stubs/components/mqtt/light/schema_template.pyi +4 -4
- homeassistant-stubs/components/mqtt/switch.pyi +1 -1
- homeassistant-stubs/components/mqtt/vacuum.pyi +10 -4
- homeassistant-stubs/components/music_assistant/__init__.pyi +4 -0
- homeassistant-stubs/components/music_assistant/actions.pyi +18 -0
- homeassistant-stubs/components/music_assistant/const.pyi +48 -0
- homeassistant-stubs/components/music_assistant/media_player.pyi +9 -16
- homeassistant-stubs/components/music_assistant/schemas.pyi +20 -0
- homeassistant-stubs/components/mysensors/climate.pyi +0 -1
- homeassistant-stubs/components/myuplink/__init__.pyi +5 -2
- homeassistant-stubs/components/myuplink/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/myuplink/config_flow.pyi +4 -1
- homeassistant-stubs/components/myuplink/number.pyi +2 -2
- homeassistant-stubs/components/myuplink/select.pyi +3 -2
- homeassistant-stubs/components/myuplink/switch.pyi +1 -1
- homeassistant-stubs/components/nanoleaf/light.pyi +4 -4
- homeassistant-stubs/components/neato/vacuum.pyi +3 -3
- homeassistant-stubs/components/nest/__init__.pyi +6 -6
- homeassistant-stubs/components/nest/camera.pyi +2 -4
- homeassistant-stubs/components/nest/climate.pyi +2 -5
- homeassistant-stubs/components/nest/const.pyi +0 -2
- homeassistant-stubs/components/nest/device_info.pyi +2 -1
- homeassistant-stubs/components/nest/diagnostics.pyi +4 -8
- homeassistant-stubs/components/nest/event.pyi +2 -4
- homeassistant-stubs/components/nest/sensor.pyi +2 -4
- homeassistant-stubs/components/nest/types.pyi +11 -0
- homeassistant-stubs/components/netatmo/climate.pyi +0 -1
- homeassistant-stubs/components/netatmo/fan.pyi +0 -1
- homeassistant-stubs/components/nordpool/__init__.pyi +6 -0
- homeassistant-stubs/components/nordpool/coordinator.pyi +5 -2
- homeassistant-stubs/components/nordpool/entity.pyi +1 -1
- homeassistant-stubs/components/nordpool/sensor.pyi +10 -6
- homeassistant-stubs/components/nordpool/services.pyi +19 -0
- homeassistant-stubs/components/number/const.pyi +0 -8
- homeassistant-stubs/components/onkyo/config_flow.pyi +2 -0
- homeassistant-stubs/components/onkyo/media_player.pyi +10 -7
- homeassistant-stubs/components/overkiz/__init__.pyi +4 -3
- homeassistant-stubs/components/overkiz/alarm_control_panel.pyi +2 -4
- homeassistant-stubs/components/overkiz/binary_sensor.pyi +3 -4
- homeassistant-stubs/components/overkiz/button.pyi +4 -5
- homeassistant-stubs/components/overkiz/climate/__init__.pyi +3 -4
- homeassistant-stubs/components/overkiz/climate/atlantic_electrical_heater.pyi +0 -1
- homeassistant-stubs/components/overkiz/climate/atlantic_electrical_heater_with_adjustable_temperature_setpoint.pyi +0 -1
- homeassistant-stubs/components/overkiz/climate/atlantic_electrical_towel_dryer.pyi +1 -2
- homeassistant-stubs/components/overkiz/climate/atlantic_heat_recovery_ventilation.pyi +0 -1
- homeassistant-stubs/components/overkiz/climate/atlantic_pass_apc_heat_pump_main_component.pyi +0 -1
- homeassistant-stubs/components/overkiz/climate/atlantic_pass_apc_heating_zone.pyi +0 -1
- homeassistant-stubs/components/overkiz/climate/atlantic_pass_apc_zone_control.pyi +0 -1
- homeassistant-stubs/components/overkiz/climate/hitachi_air_to_air_heat_pump_hlrrwifi.pyi +0 -1
- homeassistant-stubs/components/overkiz/climate/hitachi_air_to_air_heat_pump_ovp.pyi +0 -1
- homeassistant-stubs/components/overkiz/climate/hitachi_air_to_water_heating_zone.pyi +34 -0
- homeassistant-stubs/components/overkiz/climate/somfy_heating_temperature_interface.pyi +0 -1
- homeassistant-stubs/components/overkiz/climate/somfy_thermostat.pyi +0 -1
- homeassistant-stubs/components/overkiz/climate/valve_heating_temperature_interface.pyi +0 -1
- homeassistant-stubs/components/overkiz/cover/__init__.pyi +2 -4
- homeassistant-stubs/components/overkiz/diagnostics.pyi +4 -5
- homeassistant-stubs/components/overkiz/light.pyi +2 -4
- homeassistant-stubs/components/overkiz/lock.pyi +2 -4
- homeassistant-stubs/components/overkiz/number.pyi +3 -4
- homeassistant-stubs/components/overkiz/scene.pyi +2 -4
- homeassistant-stubs/components/overkiz/select.pyi +3 -4
- homeassistant-stubs/components/overkiz/sensor.pyi +2 -3
- homeassistant-stubs/components/overkiz/siren.pyi +2 -4
- homeassistant-stubs/components/overkiz/switch.pyi +2 -4
- homeassistant-stubs/components/overkiz/water_heater/__init__.pyi +2 -4
- homeassistant-stubs/components/peblar/__init__.pyi +11 -0
- homeassistant-stubs/components/peblar/binary_sensor.pyi +25 -0
- homeassistant-stubs/components/peblar/button.pyi +27 -0
- homeassistant-stubs/components/peblar/config_flow.pyi +18 -0
- homeassistant-stubs/components/peblar/const.pyi +7 -0
- homeassistant-stubs/components/peblar/coordinator.pyi +50 -0
- homeassistant-stubs/components/peblar/diagnostics.pyi +5 -0
- homeassistant-stubs/components/peblar/entity.pyi +15 -0
- homeassistant-stubs/components/peblar/helpers.pyi +7 -0
- homeassistant-stubs/components/peblar/number.pyi +33 -0
- homeassistant-stubs/components/peblar/select.pyi +30 -0
- homeassistant-stubs/components/peblar/sensor.pyi +29 -0
- homeassistant-stubs/components/peblar/switch.pyi +32 -0
- homeassistant-stubs/components/peblar/update.pyi +26 -0
- homeassistant-stubs/components/plugwise/binary_sensor.pyi +1 -0
- homeassistant-stubs/components/plugwise/button.pyi +2 -0
- homeassistant-stubs/components/plugwise/climate.pyi +3 -4
- homeassistant-stubs/components/plugwise/config_flow.pyi +7 -1
- homeassistant-stubs/components/plugwise/entity.pyi +0 -1
- homeassistant-stubs/components/plugwise/number.pyi +2 -0
- homeassistant-stubs/components/plugwise/select.pyi +2 -0
- homeassistant-stubs/components/plugwise/sensor.pyi +2 -0
- homeassistant-stubs/components/plugwise/switch.pyi +2 -0
- homeassistant-stubs/components/plugwise/util.pyi +1 -0
- homeassistant-stubs/components/powerfox/__init__.pyi +12 -0
- homeassistant-stubs/components/powerfox/config_flow.pyi +16 -0
- homeassistant-stubs/components/{stookalert → powerfox}/const.pyi +1 -2
- homeassistant-stubs/components/powerfox/coordinator.pyi +14 -0
- homeassistant-stubs/components/powerfox/diagnostics.pyi +5 -0
- homeassistant-stubs/components/powerfox/entity.pyi +11 -0
- homeassistant-stubs/components/powerfox/sensor.pyi +28 -0
- homeassistant-stubs/components/powerwall/sensor.pyi +3 -5
- homeassistant-stubs/components/rabbitair/fan.pyi +0 -1
- homeassistant-stubs/components/recorder/db_schema.pyi +19 -4
- homeassistant-stubs/components/recorder/history/legacy.pyi +4 -4
- homeassistant-stubs/components/recorder/history/modern.pyi +5 -5
- homeassistant-stubs/components/recorder/migration.pyi +29 -19
- homeassistant-stubs/components/recorder/models/state.pyi +3 -0
- homeassistant-stubs/components/recorder/queries.pyi +3 -4
- homeassistant-stubs/components/recorder/statistics.pyi +2 -2
- homeassistant-stubs/components/recorder/table_managers/event_types.pyi +0 -1
- homeassistant-stubs/components/recorder/table_managers/recorder_runs.pyi +1 -12
- homeassistant-stubs/components/recorder/table_managers/states.pyi +7 -0
- homeassistant-stubs/components/remote/__init__.pyi +0 -10
- homeassistant-stubs/components/renault/binary_sensor.pyi +2 -0
- homeassistant-stubs/components/renault/button.pyi +2 -0
- homeassistant-stubs/components/renault/coordinator.pyi +2 -1
- homeassistant-stubs/components/renault/device_tracker.pyi +2 -0
- homeassistant-stubs/components/renault/select.pyi +2 -0
- homeassistant-stubs/components/renault/sensor.pyi +2 -0
- homeassistant-stubs/components/reolink/button.pyi +1 -2
- homeassistant-stubs/components/reolink/camera.pyi +1 -2
- homeassistant-stubs/components/reolink/light.pyi +1 -2
- homeassistant-stubs/components/reolink/number.pyi +1 -2
- homeassistant-stubs/components/reolink/select.pyi +1 -2
- homeassistant-stubs/components/reolink/services.pyi +2 -2
- homeassistant-stubs/components/reolink/siren.pyi +1 -2
- homeassistant-stubs/components/reolink/switch.pyi +1 -2
- homeassistant-stubs/components/reolink/update.pyi +1 -0
- homeassistant-stubs/components/reolink/util.pyi +7 -0
- homeassistant-stubs/components/roborock/vacuum.pyi +2 -2
- homeassistant-stubs/components/roku/__init__.pyi +5 -4
- homeassistant-stubs/components/roku/binary_sensor.pyi +4 -3
- homeassistant-stubs/components/roku/config_flow.pyi +5 -3
- homeassistant-stubs/components/roku/diagnostics.pyi +2 -4
- homeassistant-stubs/components/roku/media_player.pyi +4 -3
- homeassistant-stubs/components/roku/remote.pyi +4 -4
- homeassistant-stubs/components/roku/select.pyi +4 -4
- homeassistant-stubs/components/roku/sensor.pyi +4 -4
- homeassistant-stubs/components/romy/vacuum.pyi +2 -2
- homeassistant-stubs/components/russound_rio/__init__.pyi +14 -0
- homeassistant-stubs/components/russound_rio/config_flow.pyi +14 -0
- homeassistant-stubs/components/russound_rio/const.pyi +7 -0
- homeassistant-stubs/components/russound_rio/diagnostics.pyi +5 -0
- homeassistant-stubs/components/russound_rio/entity.pyi +25 -0
- homeassistant-stubs/components/russound_rio/media_player.pyi +56 -0
- homeassistant-stubs/components/schlage/__init__.pyi +11 -0
- homeassistant-stubs/components/schlage/binary_sensor.pyi +26 -0
- homeassistant-stubs/components/schlage/config_flow.pyi +19 -0
- homeassistant-stubs/components/schlage/const.pyi +6 -0
- homeassistant-stubs/components/schlage/coordinator.pyi +31 -0
- homeassistant-stubs/components/schlage/diagnostics.pyi +5 -0
- homeassistant-stubs/components/schlage/entity.pyi +19 -0
- homeassistant-stubs/components/schlage/lock.pyi +21 -0
- homeassistant-stubs/components/schlage/select.pyi +20 -0
- homeassistant-stubs/components/schlage/sensor.pyi +19 -0
- homeassistant-stubs/components/schlage/switch.pyi +32 -0
- homeassistant-stubs/components/sensibo/climate.pyi +2 -3
- homeassistant-stubs/components/sensibo/coordinator.pyi +1 -1
- homeassistant-stubs/components/sensor/const.pyi +0 -7
- homeassistant-stubs/components/senz/climate.pyi +0 -1
- homeassistant-stubs/components/shelly/climate.pyi +0 -2
- homeassistant-stubs/components/siren/__init__.pyi +1 -6
- homeassistant-stubs/components/siren/const.pyi +0 -11
- homeassistant-stubs/components/snooz/fan.pyi +0 -1
- homeassistant-stubs/components/solarlog/config_flow.pyi +2 -5
- homeassistant-stubs/components/solarlog/const.pyi +0 -1
- homeassistant-stubs/components/solarlog/coordinator.pyi +0 -1
- homeassistant-stubs/components/starlink/coordinator.pyi +4 -2
- homeassistant-stubs/components/starlink/sensor.pyi +1 -1
- homeassistant-stubs/components/statistics/sensor.pyi +43 -40
- homeassistant-stubs/components/stream/__init__.pyi +13 -0
- homeassistant-stubs/components/suez_water/__init__.pyi +3 -5
- homeassistant-stubs/components/suez_water/coordinator.pyi +7 -9
- homeassistant-stubs/components/suez_water/sensor.pyi +5 -6
- homeassistant-stubs/components/sun/__init__.pyi +2 -0
- homeassistant-stubs/components/sun/entity.pyi +1 -2
- homeassistant-stubs/components/switch/__init__.pyi +0 -7
- homeassistant-stubs/components/switch_as_x/fan.pyi +0 -1
- homeassistant-stubs/components/switchbee/climate.pyi +0 -1
- homeassistant-stubs/components/switchbot_cloud/climate.pyi +0 -1
- homeassistant-stubs/components/switchbot_cloud/sensor.pyi +12 -3
- homeassistant-stubs/components/switchbot_cloud/switch.pyi +4 -0
- homeassistant-stubs/components/switchbot_cloud/vacuum.pyi +3 -3
- homeassistant-stubs/components/switcher_kis/climate.pyi +1 -2
- homeassistant-stubs/components/switcher_kis/cover.pyi +0 -4
- homeassistant-stubs/components/switcher_kis/entity.pyi +6 -0
- homeassistant-stubs/components/switcher_kis/light.pyi +0 -4
- homeassistant-stubs/components/switcher_kis/switch.pyi +0 -2
- homeassistant-stubs/components/tailwind/__init__.pyi +2 -4
- homeassistant-stubs/components/tailwind/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/tailwind/button.pyi +1 -1
- homeassistant-stubs/components/tailwind/coordinator.pyi +2 -1
- homeassistant-stubs/components/tailwind/cover.pyi +1 -1
- homeassistant-stubs/components/tailwind/diagnostics.pyi +1 -1
- homeassistant-stubs/components/tailwind/number.pyi +1 -1
- homeassistant-stubs/components/tedee/__init__.pyi +2 -3
- homeassistant-stubs/components/tedee/binary_sensor.pyi +2 -0
- homeassistant-stubs/components/tedee/sensor.pyi +2 -0
- homeassistant-stubs/components/tibber/services.pyi +1 -1
- homeassistant-stubs/components/tolo/climate.pyi +0 -1
- homeassistant-stubs/components/tolo/fan.pyi +0 -1
- homeassistant-stubs/components/tplink/__init__.pyi +1 -1
- homeassistant-stubs/components/tplink/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/tplink/button.pyi +2 -2
- homeassistant-stubs/components/tplink/camera.pyi +49 -0
- homeassistant-stubs/components/tplink/climate.pyi +1 -2
- homeassistant-stubs/components/tplink/config_flow.pyi +11 -5
- homeassistant-stubs/components/tplink/const.pyi +2 -0
- homeassistant-stubs/components/tplink/entity.pyi +9 -2
- homeassistant-stubs/components/tplink/fan.pyi +1 -2
- homeassistant-stubs/components/tplink/light.pyi +2 -2
- homeassistant-stubs/components/tplink/models.pyi +4 -1
- homeassistant-stubs/components/tplink/number.pyi +2 -2
- homeassistant-stubs/components/tplink/select.pyi +2 -2
- homeassistant-stubs/components/tplink/sensor.pyi +2 -2
- homeassistant-stubs/components/tplink/siren.pyi +1 -1
- homeassistant-stubs/components/tplink/switch.pyi +2 -2
- homeassistant-stubs/components/tractive/sensor.pyi +1 -1
- homeassistant-stubs/components/tradfri/fan.pyi +0 -1
- homeassistant-stubs/components/tradfri/light.pyi +4 -4
- homeassistant-stubs/components/transmission/__init__.pyi +1 -1
- homeassistant-stubs/components/transmission/const.pyi +1 -0
- homeassistant-stubs/components/twentemilieu/__init__.pyi +3 -11
- homeassistant-stubs/components/twentemilieu/calendar.pyi +1 -1
- homeassistant-stubs/components/twentemilieu/coordinator.pyi +14 -0
- homeassistant-stubs/components/twentemilieu/diagnostics.pyi +2 -2
- homeassistant-stubs/components/twentemilieu/entity.pyi +2 -3
- homeassistant-stubs/components/twentemilieu/sensor.pyi +3 -3
- homeassistant-stubs/components/unifi/sensor.pyi +1 -1
- homeassistant-stubs/components/unifiprotect/const.pyi +6 -0
- homeassistant-stubs/components/unifiprotect/event.pyi +5 -3
- homeassistant-stubs/components/unifiprotect/services.pyi +16 -9
- homeassistant-stubs/components/update/__init__.pyi +0 -2
- homeassistant-stubs/components/vacuum/__init__.pyi +16 -7
- homeassistant-stubs/components/vacuum/const.pyi +18 -5
- homeassistant-stubs/components/vacuum/device_condition.pyi +1 -1
- homeassistant-stubs/components/vacuum/device_trigger.pyi +1 -1
- homeassistant-stubs/components/vacuum/reproduce_state.pyi +2 -2
- homeassistant-stubs/components/vallox/fan.pyi +0 -1
- homeassistant-stubs/components/velbus/__init__.pyi +22 -9
- homeassistant-stubs/components/velbus/binary_sensor.pyi +4 -3
- homeassistant-stubs/components/velbus/button.pyi +4 -3
- homeassistant-stubs/components/velbus/climate.pyi +4 -3
- homeassistant-stubs/components/velbus/cover.pyi +4 -3
- homeassistant-stubs/components/velbus/diagnostics.pyi +3 -4
- homeassistant-stubs/components/velbus/light.pyi +4 -3
- homeassistant-stubs/components/velbus/select.pyi +4 -3
- homeassistant-stubs/components/velbus/sensor.pyi +4 -3
- homeassistant-stubs/components/velbus/services.pyi +7 -0
- homeassistant-stubs/components/velbus/switch.pyi +4 -3
- homeassistant-stubs/components/water_heater/__init__.pyi +7 -12
- homeassistant-stubs/components/wemo/fan.pyi +0 -1
- homeassistant-stubs/components/wemo/light.pyi +4 -2
- homeassistant-stubs/components/wiz/light.pyi +4 -5
- homeassistant-stubs/components/yale_smart_alarm/__init__.pyi +4 -4
- homeassistant-stubs/components/yale_smart_alarm/alarm_control_panel.pyi +0 -1
- homeassistant-stubs/components/yale_smart_alarm/config_flow.pyi +3 -2
- homeassistant-stubs/components/yale_smart_alarm/coordinator.pyi +3 -3
- homeassistant-stubs/components/yale_smart_alarm/entity.pyi +1 -1
- homeassistant-stubs/components/yale_smart_alarm/lock.pyi +1 -1
- homeassistant-stubs/components/zwave_js/api.pyi +2 -0
- homeassistant-stubs/components/zwave_js/climate.pyi +0 -1
- homeassistant-stubs/components/zwave_js/fan.pyi +0 -1
- homeassistant-stubs/components/zwave_js/light.pyi +7 -9
- homeassistant-stubs/const.pyi +2 -151
- homeassistant-stubs/core.pyi +3 -6
- homeassistant-stubs/core_config.pyi +2 -1
- homeassistant-stubs/data_entry_flow.pyi +0 -13
- homeassistant-stubs/exceptions.pyi +6 -0
- homeassistant-stubs/helpers/device_registry.pyi +1 -9
- homeassistant-stubs/helpers/entity.pyi +1 -2
- homeassistant-stubs/helpers/event.pyi +3 -4
- homeassistant-stubs/helpers/service.pyi +1 -1
- homeassistant-stubs/helpers/service_info/mqtt.pyi +1 -1
- homeassistant-stubs/helpers/template.pyi +1 -1
- homeassistant-stubs/util/dt.pyi +1 -0
- {homeassistant_stubs-2024.12.5.dist-info → homeassistant_stubs-2025.1.0b0.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2024.12.5.dist-info → homeassistant_stubs-2025.1.0b0.dist-info}/RECORD +567 -474
- homeassistant-stubs/components/bluesound/services.pyi +0 -21
- homeassistant-stubs/components/stookalert/__init__.pyi +0 -10
- homeassistant-stubs/components/stookalert/binary_sensor.pyi +0 -24
- homeassistant-stubs/components/stookalert/config_flow.pyi +0 -7
- homeassistant-stubs/components/tailwind/typing.pyi +0 -4
- {homeassistant_stubs-2024.12.5.dist-info → homeassistant_stubs-2025.1.0b0.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2024.12.5.dist-info → homeassistant_stubs-2025.1.0b0.dist-info}/licenses/LICENSE +0 -0
@@ -1,9 +1,6 @@
|
|
1
|
-
from . import
|
2
|
-
from .const import DOMAIN as DOMAIN
|
3
|
-
from .coordinator import EnergyZeroData as EnergyZeroData
|
4
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
1
|
+
from .coordinator import EnergyZeroConfigEntry as EnergyZeroConfigEntry, EnergyZeroData as EnergyZeroData
|
5
2
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
3
|
from typing import Any
|
7
4
|
|
8
5
|
def get_gas_price(data: EnergyZeroData, hours: int) -> float | None: ...
|
9
|
-
async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry:
|
6
|
+
async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry: EnergyZeroConfigEntry) -> dict[str, Any]: ...
|
@@ -1,11 +1,10 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN, SERVICE_TYPE_DEVICE_NAMES as SERVICE_TYPE_DEVICE_NAMES
|
2
|
-
from .coordinator import EnergyZeroData as EnergyZeroData, EnergyZeroDataUpdateCoordinator as EnergyZeroDataUpdateCoordinator
|
2
|
+
from .coordinator import EnergyZeroConfigEntry as EnergyZeroConfigEntry, EnergyZeroData as EnergyZeroData, EnergyZeroDataUpdateCoordinator as EnergyZeroDataUpdateCoordinator
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from collections.abc import Callable as Callable
|
5
5
|
from dataclasses import dataclass
|
6
6
|
from datetime import datetime
|
7
7
|
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
|
8
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
9
8
|
from homeassistant.const import CURRENCY_EURO as CURRENCY_EURO, PERCENTAGE as PERCENTAGE, UnitOfEnergy as UnitOfEnergy, UnitOfTime as UnitOfTime, UnitOfVolume as UnitOfVolume
|
10
9
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
11
10
|
from homeassistant.helpers.device_registry import DeviceEntryType as DeviceEntryType, DeviceInfo as DeviceInfo
|
@@ -21,7 +20,7 @@ class EnergyZeroSensorEntityDescription(SensorEntityDescription):
|
|
21
20
|
SENSORS: tuple[EnergyZeroSensorEntityDescription, ...]
|
22
21
|
|
23
22
|
def get_gas_price(data: EnergyZeroData, hours: int) -> float | None: ...
|
24
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
23
|
+
async def async_setup_entry(hass: HomeAssistant, entry: EnergyZeroConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
25
24
|
|
26
25
|
class EnergyZeroSensorEntity(CoordinatorEntity[EnergyZeroDataUpdateCoordinator], SensorEntity):
|
27
26
|
_attr_has_entity_name: bool
|
@@ -1,10 +1,10 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
2
|
-
from .coordinator import EnergyZeroDataUpdateCoordinator as EnergyZeroDataUpdateCoordinator
|
2
|
+
from .coordinator import EnergyZeroConfigEntry as EnergyZeroConfigEntry, EnergyZeroDataUpdateCoordinator as EnergyZeroDataUpdateCoordinator
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from datetime import date, datetime
|
5
5
|
from energyzero import Electricity as Electricity, Gas as Gas
|
6
6
|
from enum import Enum
|
7
|
-
from homeassistant.config_entries import
|
7
|
+
from homeassistant.config_entries import ConfigEntryState as ConfigEntryState
|
8
8
|
from homeassistant.core import HomeAssistant as HomeAssistant, ServiceCall as ServiceCall, ServiceResponse as ServiceResponse, SupportsResponse as SupportsResponse, callback as callback
|
9
9
|
from homeassistant.exceptions import ServiceValidationError as ServiceValidationError
|
10
10
|
from homeassistant.helpers import selector as selector
|
@@ -24,6 +24,6 @@ class PriceType(Enum):
|
|
24
24
|
|
25
25
|
def __get_date(date_input: str | None) -> date | datetime: ...
|
26
26
|
def __serialize_prices(prices: Electricity | Gas) -> ServiceResponse: ...
|
27
|
-
def __get_coordinator(
|
28
|
-
async def __get_prices(call: ServiceCall, *,
|
27
|
+
def __get_coordinator(call: ServiceCall) -> EnergyZeroDataUpdateCoordinator: ...
|
28
|
+
async def __get_prices(call: ServiceCall, *, price_type: PriceType) -> ServiceResponse: ...
|
29
29
|
def async_setup_services(hass: HomeAssistant) -> None: ...
|
@@ -13,6 +13,7 @@ LOGGER: Incomplete
|
|
13
13
|
|
14
14
|
class Enigma2UpdateCoordinator(DataUpdateCoordinator[OpenWebIfStatus]):
|
15
15
|
device: OpenWebIfDevice
|
16
|
+
unique_id: str | None
|
16
17
|
device_info: Incomplete
|
17
18
|
def __init__(self, hass: HomeAssistant, config_entry: ConfigEntry) -> None: ...
|
18
19
|
async def _async_setup(self) -> None: ...
|
@@ -2,7 +2,6 @@ from . import Enigma2ConfigEntry as Enigma2ConfigEntry
|
|
2
2
|
from .coordinator import Enigma2UpdateCoordinator as Enigma2UpdateCoordinator
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from homeassistant.components.media_player import MediaPlayerEntity as MediaPlayerEntity, MediaPlayerEntityFeature as MediaPlayerEntityFeature, MediaPlayerState as MediaPlayerState, MediaType as MediaType
|
5
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
5
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
7
6
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
8
7
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
@@ -11,6 +11,8 @@ from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
|
11
11
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
12
12
|
from pyenphase import EnvoyEncharge as EnvoyEncharge, EnvoyEnpower as EnvoyEnpower
|
13
13
|
|
14
|
+
PARALLEL_UPDATES: int
|
15
|
+
|
14
16
|
@dataclass(frozen=True, kw_only=True)
|
15
17
|
class EnvoyEnchargeBinarySensorEntityDescription(BinarySensorEntityDescription):
|
16
18
|
value_fn: Callable[[EnvoyEncharge], bool]
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import voluptuous as vol
|
2
2
|
from .const import DOMAIN as DOMAIN, INVALID_AUTH_ERRORS as INVALID_AUTH_ERRORS, OPTION_DIAGNOSTICS_INCLUDE_FIXTURES as OPTION_DIAGNOSTICS_INCLUDE_FIXTURES, OPTION_DIAGNOSTICS_INCLUDE_FIXTURES_DEFAULT_VALUE as OPTION_DIAGNOSTICS_INCLUDE_FIXTURES_DEFAULT_VALUE, OPTION_DISABLE_KEEP_ALIVE as OPTION_DISABLE_KEEP_ALIVE, OPTION_DISABLE_KEEP_ALIVE_DEFAULT_VALUE as OPTION_DISABLE_KEEP_ALIVE_DEFAULT_VALUE
|
3
|
+
from .coordinator import EnphaseConfigEntry as EnphaseConfigEntry
|
3
4
|
from _typeshed import Incomplete
|
4
5
|
from collections.abc import Mapping
|
5
6
|
from homeassistant.components import zeroconf as zeroconf
|
@@ -26,7 +27,7 @@ class EnphaseConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
26
27
|
protovers: Incomplete
|
27
28
|
def __init__(self) -> None: ...
|
28
29
|
@staticmethod
|
29
|
-
def async_get_options_flow(config_entry:
|
30
|
+
def async_get_options_flow(config_entry: EnphaseConfigEntry) -> EnvoyOptionsFlowHandler: ...
|
30
31
|
def _async_generate_schema(self) -> vol.Schema: ...
|
31
32
|
def _async_current_hosts(self) -> set[str]: ...
|
32
33
|
async def async_step_zeroconf(self, discovery_info: zeroconf.ZeroconfServiceInfo) -> ConfigFlowResult: ...
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import datetime
|
2
|
-
from .const import INVALID_AUTH_ERRORS as INVALID_AUTH_ERRORS
|
2
|
+
from .const import DOMAIN as DOMAIN, INVALID_AUTH_ERRORS as INVALID_AUTH_ERRORS
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
5
|
from homeassistant.const import CONF_NAME as CONF_NAME, CONF_PASSWORD as CONF_PASSWORD, CONF_TOKEN as CONF_TOKEN, CONF_USERNAME as CONF_USERNAME
|
@@ -20,8 +20,8 @@ type EnphaseConfigEntry = ConfigEntry[EnphaseUpdateCoordinator]
|
|
20
20
|
class EnphaseUpdateCoordinator(DataUpdateCoordinator[dict[str, Any]]):
|
21
21
|
envoy_serial_number: str
|
22
22
|
envoy_firmware: str
|
23
|
+
config_entry: EnphaseConfigEntry
|
23
24
|
envoy: Incomplete
|
24
|
-
entry: Incomplete
|
25
25
|
username: Incomplete
|
26
26
|
password: Incomplete
|
27
27
|
_setup_complete: bool
|
@@ -13,6 +13,8 @@ from pyenphase import Envoy as Envoy, EnvoyDryContactSettings as EnvoyDryContact
|
|
13
13
|
from pyenphase.models.tariff import EnvoyStorageSettings as EnvoyStorageSettings
|
14
14
|
from typing import Any
|
15
15
|
|
16
|
+
PARALLEL_UPDATES: int
|
17
|
+
|
16
18
|
@dataclass(frozen=True, kw_only=True)
|
17
19
|
class EnvoyRelayNumberEntityDescription(NumberEntityDescription):
|
18
20
|
value_fn: Callable[[EnvoyDryContactSettings], float]
|
@@ -12,6 +12,8 @@ from pyenphase import Envoy as Envoy, EnvoyDryContactSettings as EnvoyDryContact
|
|
12
12
|
from pyenphase.models.tariff import EnvoyStorageSettings as EnvoyStorageSettings
|
13
13
|
from typing import Any
|
14
14
|
|
15
|
+
PARALLEL_UPDATES: int
|
16
|
+
|
15
17
|
@dataclass(frozen=True, kw_only=True)
|
16
18
|
class EnvoyRelaySelectEntityDescription(SelectEntityDescription):
|
17
19
|
value_fn: Callable[[EnvoyDryContactSettings], str]
|
@@ -11,13 +11,14 @@ from homeassistant.core import HomeAssistant as HomeAssistant
|
|
11
11
|
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
12
12
|
from homeassistant.helpers.entity import Entity as Entity
|
13
13
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
14
|
-
from pyenphase import EnvoyEncharge as EnvoyEncharge, EnvoyEnchargeAggregate as EnvoyEnchargeAggregate, EnvoyEnchargePower as EnvoyEnchargePower, EnvoyEnpower as EnvoyEnpower, EnvoyInverter as EnvoyInverter, EnvoySystemConsumption as EnvoySystemConsumption, EnvoySystemProduction as EnvoySystemProduction
|
14
|
+
from pyenphase import EnvoyACBPower as EnvoyACBPower, EnvoyBatteryAggregate as EnvoyBatteryAggregate, EnvoyEncharge as EnvoyEncharge, EnvoyEnchargeAggregate as EnvoyEnchargeAggregate, EnvoyEnchargePower as EnvoyEnchargePower, EnvoyEnpower as EnvoyEnpower, EnvoyInverter as EnvoyInverter, EnvoySystemConsumption as EnvoySystemConsumption, EnvoySystemProduction as EnvoySystemProduction
|
15
15
|
from pyenphase.models.meters import CtMeterStatus, CtState as CtState, CtStatusFlags as CtStatusFlags, CtType, EnvoyMeterData as EnvoyMeterData
|
16
16
|
|
17
17
|
ICON: str
|
18
18
|
_LOGGER: Incomplete
|
19
19
|
INVERTERS_KEY: str
|
20
20
|
LAST_REPORTED_KEY: str
|
21
|
+
PARALLEL_UPDATES: int
|
21
22
|
|
22
23
|
@dataclass(frozen=True, kw_only=True)
|
23
24
|
class EnvoyInverterSensorEntityDescription(SensorEntityDescription):
|
@@ -92,6 +93,21 @@ class EnvoyEnchargeAggregateSensorEntityDescription(SensorEntityDescription):
|
|
92
93
|
|
93
94
|
ENCHARGE_AGGREGATE_SENSORS: Incomplete
|
94
95
|
|
96
|
+
@dataclass(frozen=True, kw_only=True)
|
97
|
+
class EnvoyAcbBatterySensorEntityDescription(SensorEntityDescription):
|
98
|
+
value_fn: Callable[[EnvoyACBPower], int | str]
|
99
|
+
def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., last_reset=..., native_unit_of_measurement=..., options=..., state_class=..., suggested_display_precision=..., suggested_unit_of_measurement=..., value_fn) -> None: ...
|
100
|
+
|
101
|
+
ACB_BATTERY_POWER_SENSORS: Incomplete
|
102
|
+
ACB_BATTERY_ENERGY_SENSORS: Incomplete
|
103
|
+
|
104
|
+
@dataclass(frozen=True, kw_only=True)
|
105
|
+
class EnvoyAggregateBatterySensorEntityDescription(SensorEntityDescription):
|
106
|
+
value_fn: Callable[[EnvoyBatteryAggregate], int]
|
107
|
+
def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., last_reset=..., native_unit_of_measurement=..., options=..., state_class=..., suggested_display_precision=..., suggested_unit_of_measurement=..., value_fn) -> None: ...
|
108
|
+
|
109
|
+
AGGREGATE_BATTERY_SENSORS: Incomplete
|
110
|
+
|
95
111
|
async def async_setup_entry(hass: HomeAssistant, config_entry: EnphaseConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
96
112
|
|
97
113
|
class EnvoySensorBaseEntity(EnvoyBaseEntity, SensorEntity): ...
|
@@ -200,3 +216,21 @@ class EnvoyEnpowerEntity(EnvoySensorBaseEntity):
|
|
200
216
|
def __init__(self, coordinator: EnphaseUpdateCoordinator, description: EnvoyEnpowerSensorEntityDescription) -> None: ...
|
201
217
|
@property
|
202
218
|
def native_value(self) -> datetime.datetime | int | float | None: ...
|
219
|
+
|
220
|
+
class EnvoyAcbBatteryPowerEntity(EnvoySensorBaseEntity):
|
221
|
+
entity_description: EnvoyAcbBatterySensorEntityDescription
|
222
|
+
_attr_unique_id: Incomplete
|
223
|
+
_attr_device_info: Incomplete
|
224
|
+
def __init__(self, coordinator: EnphaseUpdateCoordinator, description: EnvoyAcbBatterySensorEntityDescription) -> None: ...
|
225
|
+
@property
|
226
|
+
def native_value(self) -> int | str | None: ...
|
227
|
+
|
228
|
+
class EnvoyAcbBatteryEnergyEntity(EnvoySystemSensorEntity):
|
229
|
+
entity_description: EnvoyAcbBatterySensorEntityDescription
|
230
|
+
@property
|
231
|
+
def native_value(self) -> int | str: ...
|
232
|
+
|
233
|
+
class AggregateBatteryEntity(EnvoySystemSensorEntity):
|
234
|
+
entity_description: EnvoyAggregateBatterySensorEntityDescription
|
235
|
+
@property
|
236
|
+
def native_value(self) -> int: ...
|
@@ -12,6 +12,8 @@ from pyenphase import Envoy as Envoy, EnvoyDryContactStatus as EnvoyDryContactSt
|
|
12
12
|
from pyenphase.models.tariff import EnvoyStorageSettings as EnvoyStorageSettings
|
13
13
|
from typing import Any
|
14
14
|
|
15
|
+
PARALLEL_UPDATES: int
|
16
|
+
|
15
17
|
@dataclass(frozen=True, kw_only=True)
|
16
18
|
class EnvoyEnpowerSwitchEntityDescription(SwitchEntityDescription):
|
17
19
|
value_fn: Callable[[EnvoyEnpower], bool]
|
@@ -17,7 +17,6 @@ _PRESETS: EsphomeEnumMapper[ClimatePreset, str]
|
|
17
17
|
class EsphomeClimateEntity(EsphomeEntity[ClimateInfo, ClimateState], ClimateEntity):
|
18
18
|
_attr_temperature_unit: Incomplete
|
19
19
|
_attr_translation_key: str
|
20
|
-
_enable_turn_on_off_backwards_compatibility: bool
|
21
20
|
_attr_precision: Incomplete
|
22
21
|
_attr_hvac_modes: Incomplete
|
23
22
|
_attr_fan_modes: Incomplete
|
@@ -12,7 +12,6 @@ _FAN_DIRECTIONS: EsphomeEnumMapper[FanDirection, str]
|
|
12
12
|
|
13
13
|
class EsphomeFan(EsphomeEntity[FanInfo, FanState], FanEntity):
|
14
14
|
_supports_speed_levels: bool
|
15
|
-
_enable_turn_on_off_backwards_compatibility: bool
|
16
15
|
async def async_set_percentage(self, percentage: int) -> None: ...
|
17
16
|
async def _async_set_percentage(self, percentage: int | None) -> None: ...
|
18
17
|
async def async_turn_on(self, percentage: int | None = None, preset_mode: str | None = None, **kwargs: Any) -> None: ...
|
@@ -37,8 +37,6 @@ class EsphomeLight(EsphomeEntity[LightInfo, LightState], LightEntity):
|
|
37
37
|
_attr_supported_features: Incomplete
|
38
38
|
_attr_supported_color_modes: Incomplete
|
39
39
|
_attr_effect_list: Incomplete
|
40
|
-
_attr_min_mireds: Incomplete
|
41
|
-
_attr_max_mireds: Incomplete
|
42
40
|
_attr_min_color_temp_kelvin: Incomplete
|
43
41
|
_attr_max_color_temp_kelvin: Incomplete
|
44
42
|
def _on_static_info_update(self, static_info: EntityInfo) -> None: ...
|
@@ -27,7 +27,6 @@ async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_ad
|
|
27
27
|
class EvoClimateEntity(EvoDevice, ClimateEntity):
|
28
28
|
_attr_hvac_modes: Incomplete
|
29
29
|
_attr_temperature_unit: Incomplete
|
30
|
-
_enable_turn_on_off_backwards_compatibility: bool
|
31
30
|
|
32
31
|
class EvoZone(EvoChild, EvoClimateEntity):
|
33
32
|
_attr_preset_modes: Incomplete
|
@@ -1,14 +1,11 @@
|
|
1
|
-
import asyncio
|
2
1
|
from _typeshed import Incomplete
|
3
2
|
from enum import IntFlag
|
4
3
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
4
|
from homeassistant.const import SERVICE_TOGGLE as SERVICE_TOGGLE, SERVICE_TURN_OFF as SERVICE_TURN_OFF, SERVICE_TURN_ON as SERVICE_TURN_ON, STATE_ON as STATE_ON
|
6
5
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
7
6
|
from homeassistant.exceptions import ServiceValidationError as ServiceValidationError
|
8
|
-
from homeassistant.helpers.deprecation import DeprecatedConstantEnum as DeprecatedConstantEnum, all_with_deprecated_constants as all_with_deprecated_constants, check_if_deprecated_constant as check_if_deprecated_constant, dir_with_deprecated_constants as dir_with_deprecated_constants
|
9
7
|
from homeassistant.helpers.entity import ToggleEntity as ToggleEntity, ToggleEntityDescription as ToggleEntityDescription
|
10
8
|
from homeassistant.helpers.entity_component import EntityComponent as EntityComponent
|
11
|
-
from homeassistant.helpers.entity_platform import EntityPlatform as EntityPlatform
|
12
9
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
13
10
|
from homeassistant.loader import bind_hass as bind_hass
|
14
11
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
@@ -31,10 +28,6 @@ class FanEntityFeature(IntFlag):
|
|
31
28
|
TURN_OFF = 16
|
32
29
|
TURN_ON = 32
|
33
30
|
|
34
|
-
_DEPRECATED_SUPPORT_SET_SPEED: Incomplete
|
35
|
-
_DEPRECATED_SUPPORT_OSCILLATE: Incomplete
|
36
|
-
_DEPRECATED_SUPPORT_DIRECTION: Incomplete
|
37
|
-
_DEPRECATED_SUPPORT_PRESET_MODE: Incomplete
|
38
31
|
SERVICE_INCREASE_SPEED: str
|
39
32
|
SERVICE_DECREASE_SPEED: str
|
40
33
|
SERVICE_OSCILLATE: str
|
@@ -74,10 +67,6 @@ class FanEntity(ToggleEntity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
|
74
67
|
_attr_preset_modes: list[str] | None
|
75
68
|
_attr_speed_count: int
|
76
69
|
_attr_supported_features: FanEntityFeature
|
77
|
-
__mod_supported_features: FanEntityFeature
|
78
|
-
_enable_turn_on_off_backwards_compatibility: bool
|
79
|
-
def __getattribute__(self, name: str) -> Any: ...
|
80
|
-
def add_to_platform_start(self, hass: HomeAssistant, platform: EntityPlatform, parallel_updates: asyncio.Semaphore | None) -> None: ...
|
81
70
|
def set_percentage(self, percentage: int) -> None: ...
|
82
71
|
async def async_set_percentage(self, percentage: int) -> None: ...
|
83
72
|
async def async_increase_speed(self, percentage_step: int | None = None) -> None: ...
|
@@ -109,7 +98,3 @@ class FanEntity(ToggleEntity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
|
109
98
|
def supported_features(self) -> FanEntityFeature: ...
|
110
99
|
def preset_mode(self) -> str | None: ...
|
111
100
|
def preset_modes(self) -> list[str] | None: ...
|
112
|
-
|
113
|
-
__getattr__: Incomplete
|
114
|
-
__dir__: Incomplete
|
115
|
-
__all__: Incomplete
|
@@ -1,19 +1,14 @@
|
|
1
|
-
from .const import CONF_MAX_ENTRIES as CONF_MAX_ENTRIES,
|
1
|
+
from .const import CONF_MAX_ENTRIES as CONF_MAX_ENTRIES, DOMAIN as DOMAIN
|
2
2
|
from .coordinator import FeedReaderCoordinator as FeedReaderCoordinator, StoredData as StoredData
|
3
|
-
from
|
4
|
-
from homeassistant.
|
5
|
-
from homeassistant.const import CONF_SCAN_INTERVAL as CONF_SCAN_INTERVAL, CONF_URL as CONF_URL, Platform as Platform
|
3
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
4
|
+
from homeassistant.const import CONF_URL as CONF_URL, Platform as Platform
|
6
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
|
-
from homeassistant.helpers.issue_registry import IssueSeverity as IssueSeverity, async_create_issue as async_create_issue
|
8
|
-
from homeassistant.helpers.typing import ConfigType as ConfigType
|
9
6
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
10
7
|
|
11
8
|
type FeedReaderConfigEntry = ConfigEntry[FeedReaderCoordinator]
|
12
9
|
CONF_URLS: str
|
13
10
|
MY_KEY: HassKey[StoredData]
|
14
|
-
CONFIG_SCHEMA: Incomplete
|
15
11
|
|
16
|
-
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
|
17
12
|
async def async_setup_entry(hass: HomeAssistant, entry: FeedReaderConfigEntry) -> bool: ...
|
18
13
|
async def async_unload_entry(hass: HomeAssistant, entry: FeedReaderConfigEntry) -> bool: ...
|
19
14
|
async def _async_update_listener(hass: HomeAssistant, entry: FeedReaderConfigEntry) -> None: ...
|
@@ -1,12 +1,10 @@
|
|
1
1
|
import feedparser
|
2
2
|
from .const import CONF_MAX_ENTRIES as CONF_MAX_ENTRIES, DEFAULT_MAX_ENTRIES as DEFAULT_MAX_ENTRIES, DOMAIN as DOMAIN
|
3
3
|
from _typeshed import Incomplete
|
4
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow
|
4
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow
|
5
5
|
from homeassistant.const import CONF_URL as CONF_URL
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
7
|
-
from homeassistant.helpers.issue_registry import IssueSeverity as IssueSeverity, async_create_issue as async_create_issue
|
8
7
|
from homeassistant.helpers.selector import TextSelector as TextSelector, TextSelectorConfig as TextSelectorConfig, TextSelectorType as TextSelectorType
|
9
|
-
from homeassistant.util import slugify as slugify
|
10
8
|
from typing import Any
|
11
9
|
|
12
10
|
LOGGER: Incomplete
|
@@ -15,13 +13,10 @@ async def async_fetch_feed(hass: HomeAssistant, url: str) -> feedparser.FeedPars
|
|
15
13
|
|
16
14
|
class FeedReaderConfigFlow(ConfigFlow, domain=DOMAIN):
|
17
15
|
VERSION: int
|
18
|
-
_max_entries: int | None
|
19
16
|
@staticmethod
|
20
17
|
def async_get_options_flow(config_entry: ConfigEntry) -> OptionsFlow: ...
|
21
18
|
def show_user_form(self, user_input: dict[str, Any] | None = None, errors: dict[str, str] | None = None, description_placeholders: dict[str, str] | None = None, step_id: str = 'user') -> ConfigFlowResult: ...
|
22
|
-
def abort_on_import_error(self, url: str, error: str) -> ConfigFlowResult: ...
|
23
19
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
24
|
-
async def async_step_import(self, import_data: dict[str, Any]) -> ConfigFlowResult: ...
|
25
20
|
async def async_step_reconfigure(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
26
21
|
|
27
22
|
class FeedReaderOptionsFlowHandler(OptionsFlow):
|
@@ -21,7 +21,6 @@ class FlexitClimateEntity(FlexitEntity, ClimateEntity):
|
|
21
21
|
_attr_temperature_unit: Incomplete
|
22
22
|
_attr_max_temp = MAX_TEMP
|
23
23
|
_attr_min_temp = MIN_TEMP
|
24
|
-
_enable_turn_on_off_backwards_compatibility: bool
|
25
24
|
_attr_unique_id: Incomplete
|
26
25
|
def __init__(self, coordinator: FlexitCoordinator) -> None: ...
|
27
26
|
async def async_update(self) -> None: ...
|
@@ -12,6 +12,9 @@ from homeassistant.core import HomeAssistant as HomeAssistant
|
|
12
12
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
13
13
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
14
14
|
|
15
|
+
_MAX_FAN_SETPOINT: int
|
16
|
+
_MIN_FAN_SETPOINT: int
|
17
|
+
|
15
18
|
@dataclass(kw_only=True, frozen=True)
|
16
19
|
class FlexitNumberEntityDescription(NumberEntityDescription):
|
17
20
|
native_value_fn: Callable[[FlexitBACnet], float]
|
@@ -4,14 +4,13 @@ from .entity import FluxOnOffEntity as FluxOnOffEntity
|
|
4
4
|
from .util import _effect_brightness as _effect_brightness, _flux_color_mode_to_hass as _flux_color_mode_to_hass, _hass_color_modes as _hass_color_modes, _min_rgb_brightness as _min_rgb_brightness, _min_rgbw_brightness as _min_rgbw_brightness, _min_rgbwc_brightness as _min_rgbwc_brightness, _str_to_multi_color_effect as _str_to_multi_color_effect
|
5
5
|
from _typeshed import Incomplete
|
6
6
|
from homeassistant import config_entries as config_entries
|
7
|
-
from homeassistant.components.light import ATTR_BRIGHTNESS as ATTR_BRIGHTNESS,
|
7
|
+
from homeassistant.components.light import ATTR_BRIGHTNESS as ATTR_BRIGHTNESS, ATTR_COLOR_TEMP_KELVIN as ATTR_COLOR_TEMP_KELVIN, ATTR_EFFECT as ATTR_EFFECT, ATTR_RGBWW_COLOR as ATTR_RGBWW_COLOR, ATTR_RGBW_COLOR as ATTR_RGBW_COLOR, ATTR_RGB_COLOR as ATTR_RGB_COLOR, ATTR_WHITE as ATTR_WHITE, LightEntity as LightEntity, LightEntityFeature as LightEntityFeature
|
8
8
|
from homeassistant.const import CONF_EFFECT as CONF_EFFECT
|
9
9
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
10
10
|
from homeassistant.helpers import entity_platform as entity_platform
|
11
11
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
12
12
|
from homeassistant.helpers.typing import VolDictType as VolDictType
|
13
13
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
14
|
-
from homeassistant.util.color import color_temperature_kelvin_to_mired as color_temperature_kelvin_to_mired, color_temperature_mired_to_kelvin as color_temperature_mired_to_kelvin
|
15
14
|
from typing import Any, Final
|
16
15
|
|
17
16
|
_LOGGER: Incomplete
|
@@ -34,8 +33,8 @@ async def async_setup_entry(hass: HomeAssistant, entry: config_entries.ConfigEnt
|
|
34
33
|
class FluxLight(FluxOnOffEntity, CoordinatorEntity[FluxLedUpdateCoordinator], LightEntity):
|
35
34
|
_attr_name: Incomplete
|
36
35
|
_attr_supported_features: Incomplete
|
37
|
-
|
38
|
-
|
36
|
+
_attr_min_color_temp_kelvin: Incomplete
|
37
|
+
_attr_max_color_temp_kelvin: Incomplete
|
39
38
|
_attr_supported_color_modes: Incomplete
|
40
39
|
_attr_effect_list: Incomplete
|
41
40
|
_custom_effect_colors: Incomplete
|
@@ -45,7 +44,7 @@ class FluxLight(FluxOnOffEntity, CoordinatorEntity[FluxLedUpdateCoordinator], Li
|
|
45
44
|
@property
|
46
45
|
def brightness(self) -> int: ...
|
47
46
|
@property
|
48
|
-
def
|
47
|
+
def color_temp_kelvin(self) -> int: ...
|
49
48
|
@property
|
50
49
|
def rgb_color(self) -> tuple[int, int, int]: ...
|
51
50
|
@property
|
@@ -29,7 +29,6 @@ class FritzboxThermostat(FritzBoxDeviceEntity, ClimateEntity):
|
|
29
29
|
_attr_precision = PRECISION_HALVES
|
30
30
|
_attr_temperature_unit: Incomplete
|
31
31
|
_attr_translation_key: str
|
32
|
-
_enable_turn_on_off_backwards_compatibility: bool
|
33
32
|
_attr_supported_features: Incomplete
|
34
33
|
_attr_hvac_modes: Incomplete
|
35
34
|
_attr_preset_modes: Incomplete
|
@@ -14,7 +14,8 @@ type FritzboxConfigEntry = ConfigEntry[FritzboxDataUpdateCoordinator]
|
|
14
14
|
class FritzboxCoordinatorData:
|
15
15
|
devices: dict[str, FritzhomeDevice]
|
16
16
|
templates: dict[str, FritzhomeTemplate]
|
17
|
-
|
17
|
+
supported_color_properties: dict[str, tuple[dict, list]]
|
18
|
+
def __init__(self, devices, templates, supported_color_properties) -> None: ...
|
18
19
|
|
19
20
|
class FritzboxDataUpdateCoordinator(DataUpdateCoordinator[FritzboxCoordinatorData]):
|
20
21
|
config_entry: FritzboxConfigEntry
|
@@ -10,8 +10,10 @@ from typing import Any
|
|
10
10
|
async def async_setup_entry(hass: HomeAssistant, entry: FritzboxConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
11
11
|
|
12
12
|
class FritzboxLight(FritzBoxDeviceEntity, LightEntity):
|
13
|
-
_supported_hs: Incomplete
|
14
13
|
_attr_supported_color_modes: Incomplete
|
14
|
+
_supported_hs: Incomplete
|
15
|
+
_attr_max_color_temp_kelvin: Incomplete
|
16
|
+
_attr_min_color_temp_kelvin: Incomplete
|
15
17
|
def __init__(self, coordinator: FritzboxDataUpdateCoordinator, ain: str) -> None: ...
|
16
18
|
@property
|
17
19
|
def is_on(self) -> bool: ...
|
@@ -25,6 +27,3 @@ class FritzboxLight(FritzBoxDeviceEntity, LightEntity):
|
|
25
27
|
def color_mode(self) -> ColorMode: ...
|
26
28
|
async def async_turn_on(self, **kwargs: Any) -> None: ...
|
27
29
|
async def async_turn_off(self, **kwargs: Any) -> None: ...
|
28
|
-
_attr_max_color_temp_kelvin: Incomplete
|
29
|
-
_attr_min_color_temp_kelvin: Incomplete
|
30
|
-
async def async_added_to_hass(self) -> None: ...
|
@@ -1,15 +1,26 @@
|
|
1
1
|
from .const import REGEX_NUMBER as REGEX_NUMBER, UNKNOWN_NAME as UNKNOWN_NAME
|
2
2
|
from _typeshed import Incomplete
|
3
|
+
from dataclasses import dataclass
|
3
4
|
from fritzconnection.lib.fritzphonebook import FritzPhonebook
|
4
5
|
from homeassistant.util import Throttle as Throttle
|
5
6
|
|
6
7
|
_LOGGER: Incomplete
|
7
8
|
MIN_TIME_PHONEBOOK_UPDATE: Incomplete
|
8
9
|
|
10
|
+
@dataclass
|
11
|
+
class Contact:
|
12
|
+
name: str
|
13
|
+
numbers: list[str]
|
14
|
+
vip: bool
|
15
|
+
def __init__(self, name: str, numbers: list[str] | None = None, category: str | None = None) -> None: ...
|
16
|
+
|
17
|
+
unknown_contact: Incomplete
|
18
|
+
|
9
19
|
class FritzBoxPhonebook:
|
10
20
|
fph: FritzPhonebook
|
11
21
|
phonebook_dict: dict[str, list[str]]
|
12
|
-
|
22
|
+
contacts: list[Contact]
|
23
|
+
number_dict: dict[str, Contact]
|
13
24
|
host: Incomplete
|
14
25
|
username: Incomplete
|
15
26
|
password: Incomplete
|
@@ -19,4 +30,4 @@ class FritzBoxPhonebook:
|
|
19
30
|
def init_phonebook(self) -> None: ...
|
20
31
|
def update_phonebook(self) -> None: ...
|
21
32
|
def get_phonebook_ids(self) -> list[int]: ...
|
22
|
-
def
|
33
|
+
def get_contact(self, number: str) -> Contact: ...
|
@@ -4,8 +4,8 @@ from .const import CONF_PHONEBOOK as CONF_PHONEBOOK, CONF_PREFIXES as CONF_PREFI
|
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from collections.abc import Mapping
|
6
6
|
from enum import StrEnum
|
7
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow
|
8
|
-
from homeassistant.const import CONF_HOST as CONF_HOST,
|
7
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow
|
8
|
+
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_PASSWORD as CONF_PASSWORD, CONF_PORT as CONF_PORT, CONF_USERNAME as CONF_USERNAME
|
9
9
|
from homeassistant.core import callback as callback
|
10
10
|
from typing import Any
|
11
11
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import queue
|
2
2
|
from . import FritzBoxCallMonitorConfigEntry as FritzBoxCallMonitorConfigEntry
|
3
|
-
from .base import FritzBoxPhonebook as FritzBoxPhonebook
|
3
|
+
from .base import Contact as Contact, FritzBoxPhonebook as FritzBoxPhonebook
|
4
4
|
from .const import ATTR_PREFIXES as ATTR_PREFIXES, CONF_PHONEBOOK as CONF_PHONEBOOK, CONF_PREFIXES as CONF_PREFIXES, DOMAIN as DOMAIN, FritzState as FritzState, MANUFACTURER as MANUFACTURER, SERIAL_NUMBER as SERIAL_NUMBER
|
5
5
|
from _typeshed import Incomplete
|
6
6
|
from collections.abc import Mapping
|
@@ -43,10 +43,10 @@ class FritzBoxCallSensor(SensorEntity):
|
|
43
43
|
def _start_call_monitor(self) -> None: ...
|
44
44
|
def _stop_call_monitor(self, event: Event | None = None) -> None: ...
|
45
45
|
def set_state(self, state: CallState) -> None: ...
|
46
|
-
def set_attributes(self, attributes: Mapping[str, str]) -> None: ...
|
46
|
+
def set_attributes(self, attributes: Mapping[str, str | bool]) -> None: ...
|
47
47
|
@property
|
48
|
-
def extra_state_attributes(self) -> dict[str, str | list[str]]: ...
|
49
|
-
def
|
48
|
+
def extra_state_attributes(self) -> dict[str, str | list[str] | bool]: ...
|
49
|
+
def number_to_contact(self, number: str) -> Contact: ...
|
50
50
|
def update(self) -> None: ...
|
51
51
|
|
52
52
|
class FritzBoxCallMonitor:
|
@@ -20,7 +20,7 @@ type FroniusConfigEntry = ConfigEntry[FroniusSolarNet]
|
|
20
20
|
|
21
21
|
async def async_setup_entry(hass: HomeAssistant, entry: FroniusConfigEntry) -> bool: ...
|
22
22
|
async def async_unload_entry(hass: HomeAssistant, entry: FroniusConfigEntry) -> bool: ...
|
23
|
-
async def async_remove_config_entry_device(hass: HomeAssistant, config_entry:
|
23
|
+
async def async_remove_config_entry_device(hass: HomeAssistant, config_entry: FroniusConfigEntry, device_entry: dr.DeviceEntry) -> bool: ...
|
24
24
|
|
25
25
|
class FroniusSolarNet:
|
26
26
|
hass: Incomplete
|
@@ -28,12 +28,12 @@ class InverterStatusCodeOption(StrEnum):
|
|
28
28
|
IDLE = 'idle'
|
29
29
|
READY = 'ready'
|
30
30
|
SLEEPING = 'sleeping'
|
31
|
-
UNKNOWN = 'unknown'
|
32
|
-
INVALID = 'invalid'
|
33
31
|
|
34
32
|
_INVERTER_STATUS_CODES: Final[dict[int, InverterStatusCodeOption]]
|
35
33
|
|
36
|
-
def get_inverter_status_message(code: StateType) -> InverterStatusCodeOption: ...
|
34
|
+
def get_inverter_status_message(code: StateType) -> InverterStatusCodeOption | None: ...
|
35
|
+
|
36
|
+
INVERTER_ERROR_CODES: Final[dict[int, str]]
|
37
37
|
|
38
38
|
class MeterLocationCodeOption(StrEnum):
|
39
39
|
FEED_IN = 'feed_in'
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import abc
|
2
2
|
from . import FroniusSolarNet as FroniusSolarNet
|
3
|
-
from .const import FroniusDeviceInfo as FroniusDeviceInfo, SOLAR_NET_ID_POWER_FLOW as SOLAR_NET_ID_POWER_FLOW, SOLAR_NET_ID_SYSTEM as SOLAR_NET_ID_SYSTEM, SolarNetId as SolarNetId
|
3
|
+
from .const import DOMAIN as DOMAIN, FroniusDeviceInfo as FroniusDeviceInfo, SOLAR_NET_ID_POWER_FLOW as SOLAR_NET_ID_POWER_FLOW, SOLAR_NET_ID_SYSTEM as SOLAR_NET_ID_SYSTEM, SolarNetId as SolarNetId
|
4
4
|
from .sensor import FroniusSensorEntityDescription as FroniusSensorEntityDescription, INVERTER_ENTITY_DESCRIPTIONS as INVERTER_ENTITY_DESCRIPTIONS, LOGGER_ENTITY_DESCRIPTIONS as LOGGER_ENTITY_DESCRIPTIONS, METER_ENTITY_DESCRIPTIONS as METER_ENTITY_DESCRIPTIONS, OHMPILOT_ENTITY_DESCRIPTIONS as OHMPILOT_ENTITY_DESCRIPTIONS, POWER_FLOW_ENTITY_DESCRIPTIONS as POWER_FLOW_ENTITY_DESCRIPTIONS, STORAGE_ENTITY_DESCRIPTIONS as STORAGE_ENTITY_DESCRIPTIONS, _FroniusSensorEntity as _FroniusSensorEntity
|
5
5
|
from _typeshed import Incomplete
|
6
6
|
from abc import ABC, abstractmethod
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from . import FroniusConfigEntry as FroniusConfigEntry
|
2
|
-
from .const import DOMAIN as DOMAIN, InverterStatusCodeOption as InverterStatusCodeOption, MeterLocationCodeOption as MeterLocationCodeOption, OhmPilotStateCodeOption as OhmPilotStateCodeOption, SOLAR_NET_DISCOVERY_NEW as SOLAR_NET_DISCOVERY_NEW, get_inverter_status_message as get_inverter_status_message, get_meter_location_description as get_meter_location_description, get_ohmpilot_state_message as get_ohmpilot_state_message
|
2
|
+
from .const import DOMAIN as DOMAIN, INVERTER_ERROR_CODES as INVERTER_ERROR_CODES, InverterStatusCodeOption as InverterStatusCodeOption, MeterLocationCodeOption as MeterLocationCodeOption, OhmPilotStateCodeOption as OhmPilotStateCodeOption, SOLAR_NET_DISCOVERY_NEW as SOLAR_NET_DISCOVERY_NEW, get_inverter_status_message as get_inverter_status_message, get_meter_location_description as get_meter_location_description, get_ohmpilot_state_message as get_ohmpilot_state_message
|
3
3
|
from .coordinator import FroniusCoordinatorBase as FroniusCoordinatorBase, FroniusInverterUpdateCoordinator as FroniusInverterUpdateCoordinator, FroniusLoggerUpdateCoordinator as FroniusLoggerUpdateCoordinator, FroniusMeterUpdateCoordinator as FroniusMeterUpdateCoordinator, FroniusOhmpilotUpdateCoordinator as FroniusOhmpilotUpdateCoordinator, FroniusPowerFlowUpdateCoordinator as FroniusPowerFlowUpdateCoordinator, FroniusStorageUpdateCoordinator as FroniusStorageUpdateCoordinator
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from collections.abc import Callable as Callable
|
@@ -14,6 +14,7 @@ from homeassistant.helpers.typing import StateType as StateType
|
|
14
14
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
15
15
|
from typing import Any, Final
|
16
16
|
|
17
|
+
PARALLEL_UPDATES: int
|
17
18
|
ENERGY_VOLT_AMPERE_REACTIVE_HOUR: Final[str]
|
18
19
|
|
19
20
|
async def async_setup_entry(hass: HomeAssistant, config_entry: FroniusConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
@@ -26,7 +26,6 @@ class FGLairDevice(CoordinatorEntity[FGLairCoordinator], ClimateEntity):
|
|
26
26
|
_attr_target_temperature_step: float
|
27
27
|
_attr_has_entity_name: bool
|
28
28
|
_attr_name: Incomplete
|
29
|
-
_enable_turn_on_off_backwards_compatibility: bool
|
30
29
|
_attr_unique_id: Incomplete
|
31
30
|
_attr_device_info: Incomplete
|
32
31
|
_attr_supported_features: Incomplete
|
@@ -12,5 +12,5 @@ PLATFORMS: Incomplete
|
|
12
12
|
type FytaConfigEntry = ConfigEntry[FytaCoordinator]
|
13
13
|
|
14
14
|
async def async_setup_entry(hass: HomeAssistant, entry: FytaConfigEntry) -> bool: ...
|
15
|
-
async def async_unload_entry(hass: HomeAssistant, entry:
|
16
|
-
async def async_migrate_entry(hass: HomeAssistant, config_entry:
|
15
|
+
async def async_unload_entry(hass: HomeAssistant, entry: FytaConfigEntry) -> bool: ...
|
16
|
+
async def async_migrate_entry(hass: HomeAssistant, config_entry: FytaConfigEntry) -> bool: ...
|
@@ -1,9 +1,9 @@
|
|
1
|
+
from . import FytaConfigEntry as FytaConfigEntry
|
1
2
|
from .const import DOMAIN as DOMAIN
|
2
3
|
from .coordinator import FytaCoordinator as FytaCoordinator
|
3
4
|
from _typeshed import Incomplete
|
4
5
|
from fyta_cli.fyta_models import Plant as Plant
|
5
6
|
from homeassistant.components.sensor import SensorEntityDescription as SensorEntityDescription
|
6
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
7
7
|
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
8
8
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
9
9
|
|
@@ -13,7 +13,7 @@ class FytaPlantEntity(CoordinatorEntity[FytaCoordinator]):
|
|
13
13
|
_attr_unique_id: Incomplete
|
14
14
|
_attr_device_info: Incomplete
|
15
15
|
entity_description: Incomplete
|
16
|
-
def __init__(self, coordinator: FytaCoordinator, entry:
|
16
|
+
def __init__(self, coordinator: FytaCoordinator, entry: FytaConfigEntry, description: SensorEntityDescription, plant_id: int) -> None: ...
|
17
17
|
@property
|
18
18
|
def plant(self) -> Plant: ...
|
19
19
|
@property
|