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,6 +1,5 @@
|
|
1
1
|
from _typeshed import Incomplete
|
2
2
|
from enum import IntFlag, StrEnum
|
3
|
-
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
|
4
3
|
|
5
4
|
class HVACMode(StrEnum):
|
6
5
|
OFF = 'off'
|
@@ -11,13 +10,6 @@ class HVACMode(StrEnum):
|
|
11
10
|
DRY = 'dry'
|
12
11
|
FAN_ONLY = 'fan_only'
|
13
12
|
|
14
|
-
_DEPRECATED_HVAC_MODE_OFF: Incomplete
|
15
|
-
_DEPRECATED_HVAC_MODE_HEAT: Incomplete
|
16
|
-
_DEPRECATED_HVAC_MODE_COOL: Incomplete
|
17
|
-
_DEPRECATED_HVAC_MODE_HEAT_COOL: Incomplete
|
18
|
-
_DEPRECATED_HVAC_MODE_AUTO: Incomplete
|
19
|
-
_DEPRECATED_HVAC_MODE_DRY: Incomplete
|
20
|
-
_DEPRECATED_HVAC_MODE_FAN_ONLY: Incomplete
|
21
13
|
HVAC_MODES: Incomplete
|
22
14
|
PRESET_NONE: str
|
23
15
|
PRESET_ECO: str
|
@@ -55,12 +47,6 @@ class HVACAction(StrEnum):
|
|
55
47
|
OFF = 'off'
|
56
48
|
PREHEATING = 'preheating'
|
57
49
|
|
58
|
-
_DEPRECATED_CURRENT_HVAC_OFF: Incomplete
|
59
|
-
_DEPRECATED_CURRENT_HVAC_HEAT: Incomplete
|
60
|
-
_DEPRECATED_CURRENT_HVAC_COOL: Incomplete
|
61
|
-
_DEPRECATED_CURRENT_HVAC_DRY: Incomplete
|
62
|
-
_DEPRECATED_CURRENT_HVAC_IDLE: Incomplete
|
63
|
-
_DEPRECATED_CURRENT_HVAC_FAN: Incomplete
|
64
50
|
CURRENT_HVAC_ACTIONS: Incomplete
|
65
51
|
ATTR_AUX_HEAT: str
|
66
52
|
ATTR_CURRENT_HUMIDITY: str
|
@@ -110,14 +96,3 @@ class ClimateEntityFeature(IntFlag):
|
|
110
96
|
TURN_OFF = 128
|
111
97
|
TURN_ON = 256
|
112
98
|
SWING_HORIZONTAL_MODE = 512
|
113
|
-
|
114
|
-
_DEPRECATED_SUPPORT_TARGET_TEMPERATURE: Incomplete
|
115
|
-
_DEPRECATED_SUPPORT_TARGET_TEMPERATURE_RANGE: Incomplete
|
116
|
-
_DEPRECATED_SUPPORT_TARGET_HUMIDITY: Incomplete
|
117
|
-
_DEPRECATED_SUPPORT_FAN_MODE: Incomplete
|
118
|
-
_DEPRECATED_SUPPORT_PRESET_MODE: Incomplete
|
119
|
-
_DEPRECATED_SUPPORT_SWING_MODE: Incomplete
|
120
|
-
_DEPRECATED_SUPPORT_AUX_HEAT: Incomplete
|
121
|
-
__getattr__: Incomplete
|
122
|
-
__dir__: Incomplete
|
123
|
-
__all__: Incomplete
|
@@ -0,0 +1,36 @@
|
|
1
|
+
from .client import CloudClient as CloudClient
|
2
|
+
from .const import DATA_CLOUD as DATA_CLOUD, DOMAIN as DOMAIN, EVENT_CLOUD_EVENT as EVENT_CLOUD_EVENT
|
3
|
+
from _typeshed import Incomplete
|
4
|
+
from aiohttp import StreamReader as StreamReader
|
5
|
+
from collections.abc import AsyncIterator, Callable as Callable, Coroutine
|
6
|
+
from hass_nabucasa import Cloud as Cloud
|
7
|
+
from homeassistant.components.backup import AgentBackup as AgentBackup, BackupAgent as BackupAgent, BackupAgentError as BackupAgentError
|
8
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
9
|
+
from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
|
10
|
+
from typing import Any, Self
|
11
|
+
|
12
|
+
_STORAGE_BACKUP: str
|
13
|
+
|
14
|
+
async def _b64md5(stream: AsyncIterator[bytes]) -> str: ...
|
15
|
+
async def async_get_backup_agents(hass: HomeAssistant, **kwargs: Any) -> list[BackupAgent]: ...
|
16
|
+
def async_register_backup_agents_listener(hass: HomeAssistant, *, listener: Callable[[], None], **kwargs: Any) -> Callable[[], None]: ...
|
17
|
+
|
18
|
+
class ChunkAsyncStreamIterator:
|
19
|
+
__slots__: Incomplete
|
20
|
+
_stream: Incomplete
|
21
|
+
def __init__(self, stream: StreamReader) -> None: ...
|
22
|
+
def __aiter__(self) -> Self: ...
|
23
|
+
async def __anext__(self) -> bytes: ...
|
24
|
+
|
25
|
+
class CloudBackupAgent(BackupAgent):
|
26
|
+
domain = DOMAIN
|
27
|
+
name = DOMAIN
|
28
|
+
_cloud: Incomplete
|
29
|
+
_hass: Incomplete
|
30
|
+
def __init__(self, hass: HomeAssistant, cloud: Cloud[CloudClient]) -> None: ...
|
31
|
+
def _get_backup_filename(self) -> str: ...
|
32
|
+
async def async_download_backup(self, backup_id: str, **kwargs: Any) -> AsyncIterator[bytes]: ...
|
33
|
+
async def async_upload_backup(self, *, open_stream: Callable[[], Coroutine[Any, Any, AsyncIterator[bytes]]], backup: AgentBackup, **kwargs: Any) -> None: ...
|
34
|
+
async def async_delete_backup(self, backup_id: str, **kwargs: Any) -> None: ...
|
35
|
+
async def async_list_backups(self, **kwargs: Any) -> list[AgentBackup]: ...
|
36
|
+
async def async_get_backup(self, backup_id: str, **kwargs: Any) -> AgentBackup | None: ...
|
@@ -9,6 +9,7 @@ from typing import Any
|
|
9
9
|
DOMAIN: str
|
10
10
|
DATA_CLOUD: HassKey[Cloud[CloudClient]]
|
11
11
|
DATA_PLATFORMS_SETUP: HassKey[dict[str, asyncio.Event]]
|
12
|
+
EVENT_CLOUD_EVENT: str
|
12
13
|
REQUEST_TIMEOUT: int
|
13
14
|
PREF_ENABLE_ALEXA: str
|
14
15
|
PREF_ENABLE_GOOGLE: str
|
@@ -60,3 +61,4 @@ MODE_PROD: str
|
|
60
61
|
DISPATCHER_REMOTE_UPDATE: SignalType[Any]
|
61
62
|
STT_ENTITY_UNIQUE_ID: str
|
62
63
|
TTS_ENTITY_UNIQUE_ID: str
|
64
|
+
LOGIN_MFA_TIMEOUT: int
|
@@ -1,13 +1,13 @@
|
|
1
1
|
from .assist_pipeline import async_create_cloud_pipeline as async_create_cloud_pipeline
|
2
2
|
from .client import CloudClient as CloudClient
|
3
|
-
from .const import DATA_CLOUD as DATA_CLOUD, PREF_ALEXA_REPORT_STATE as PREF_ALEXA_REPORT_STATE, PREF_DISABLE_2FA as PREF_DISABLE_2FA, PREF_ENABLE_ALEXA as PREF_ENABLE_ALEXA, PREF_ENABLE_CLOUD_ICE_SERVERS as PREF_ENABLE_CLOUD_ICE_SERVERS, PREF_ENABLE_GOOGLE as PREF_ENABLE_GOOGLE, PREF_GOOGLE_REPORT_STATE as PREF_GOOGLE_REPORT_STATE, PREF_GOOGLE_SECURE_DEVICES_PIN as PREF_GOOGLE_SECURE_DEVICES_PIN, PREF_REMOTE_ALLOW_REMOTE_ENABLE as PREF_REMOTE_ALLOW_REMOTE_ENABLE, PREF_TTS_DEFAULT_VOICE as PREF_TTS_DEFAULT_VOICE, REQUEST_TIMEOUT as REQUEST_TIMEOUT
|
3
|
+
from .const import DATA_CLOUD as DATA_CLOUD, EVENT_CLOUD_EVENT as EVENT_CLOUD_EVENT, LOGIN_MFA_TIMEOUT as LOGIN_MFA_TIMEOUT, PREF_ALEXA_REPORT_STATE as PREF_ALEXA_REPORT_STATE, PREF_DISABLE_2FA as PREF_DISABLE_2FA, PREF_ENABLE_ALEXA as PREF_ENABLE_ALEXA, PREF_ENABLE_CLOUD_ICE_SERVERS as PREF_ENABLE_CLOUD_ICE_SERVERS, PREF_ENABLE_GOOGLE as PREF_ENABLE_GOOGLE, PREF_GOOGLE_REPORT_STATE as PREF_GOOGLE_REPORT_STATE, PREF_GOOGLE_SECURE_DEVICES_PIN as PREF_GOOGLE_SECURE_DEVICES_PIN, PREF_REMOTE_ALLOW_REMOTE_ENABLE as PREF_REMOTE_ALLOW_REMOTE_ENABLE, PREF_TTS_DEFAULT_VOICE as PREF_TTS_DEFAULT_VOICE, REQUEST_TIMEOUT as REQUEST_TIMEOUT
|
4
4
|
from .google_config import CLOUD_GOOGLE as CLOUD_GOOGLE
|
5
5
|
from .repairs import async_manage_legacy_subscription_issue as async_manage_legacy_subscription_issue
|
6
6
|
from .subscription import async_subscription_info as async_subscription_info
|
7
7
|
from _typeshed import Incomplete
|
8
8
|
from aiohttp import web as web
|
9
9
|
from collections.abc import Awaitable, Callable as Callable, Coroutine
|
10
|
-
from hass_nabucasa import Cloud as Cloud
|
10
|
+
from hass_nabucasa import Cloud as Cloud, auth
|
11
11
|
from homeassistant.components import websocket_api as websocket_api
|
12
12
|
from homeassistant.components.homeassistant import exposed_entities as exposed_entities
|
13
13
|
from homeassistant.components.http import HomeAssistantView as HomeAssistantView, KEY_HASS as KEY_HASS, require_admin as require_admin
|
@@ -16,6 +16,7 @@ from homeassistant.const import CLOUD_NEVER_EXPOSED_ENTITIES as CLOUD_NEVER_EXPO
|
|
16
16
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
17
17
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
18
18
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
19
|
+
from homeassistant.helpers.dispatcher import async_dispatcher_send as async_dispatcher_send
|
19
20
|
from homeassistant.util.location import async_detect_location_info as async_detect_location_info
|
20
21
|
from http import HTTPStatus
|
21
22
|
from typing import Any, Concatenate
|
@@ -23,6 +24,8 @@ from typing import Any, Concatenate
|
|
23
24
|
_LOGGER: Incomplete
|
24
25
|
_CLOUD_ERRORS: dict[type[Exception], tuple[HTTPStatus, str]]
|
25
26
|
|
27
|
+
class MFAExpiredOrNotStarted(auth.CloudError): ...
|
28
|
+
|
26
29
|
def async_setup(hass: HomeAssistant) -> None: ...
|
27
30
|
def _handle_cloud_errors[_HassViewT: HomeAssistantView, **_P](handler: Callable[Concatenate[_HassViewT, web.Request, _P], Awaitable[web.Response]]) -> Callable[Concatenate[_HassViewT, web.Request, _P], Coroutine[Any, Any, web.Response]]: ...
|
28
31
|
def _ws_handle_cloud_errors(handler: Callable[[HomeAssistant, websocket_api.ActiveConnection, dict[str, Any]], Coroutine[None, None, None]]) -> Callable[[HomeAssistant, websocket_api.ActiveConnection, dict[str, Any]], Coroutine[None, None, None]]: ...
|
@@ -34,6 +37,8 @@ class GoogleActionsSyncView(HomeAssistantView):
|
|
34
37
|
async def post(self, request: web.Request) -> web.Response: ...
|
35
38
|
|
36
39
|
class CloudLoginView(HomeAssistantView):
|
40
|
+
_mfa_tokens: dict[str, str]
|
41
|
+
_mfa_tokens_set_time: float
|
37
42
|
url: str
|
38
43
|
name: str
|
39
44
|
async def post(self, request: web.Request, data: dict[str, Any]) -> web.Response: ...
|
@@ -0,0 +1,9 @@
|
|
1
|
+
from .coordinator import CookidooConfigEntry as CookidooConfigEntry, CookidooDataUpdateCoordinator as CookidooDataUpdateCoordinator
|
2
|
+
from homeassistant.const import CONF_COUNTRY as CONF_COUNTRY, CONF_EMAIL as CONF_EMAIL, CONF_LANGUAGE as CONF_LANGUAGE, CONF_PASSWORD as CONF_PASSWORD, Platform as Platform
|
3
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
4
|
+
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
5
|
+
|
6
|
+
PLATFORMS: list[Platform]
|
7
|
+
|
8
|
+
async def async_setup_entry(hass: HomeAssistant, entry: CookidooConfigEntry) -> bool: ...
|
9
|
+
async def async_unload_entry(hass: HomeAssistant, entry: CookidooConfigEntry) -> bool: ...
|
@@ -0,0 +1,24 @@
|
|
1
|
+
from .const import DOMAIN as DOMAIN
|
2
|
+
from _typeshed import Incomplete
|
3
|
+
from collections.abc import Mapping
|
4
|
+
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, SOURCE_RECONFIGURE as SOURCE_RECONFIGURE, SOURCE_USER as SOURCE_USER
|
5
|
+
from homeassistant.const import CONF_COUNTRY as CONF_COUNTRY, CONF_EMAIL as CONF_EMAIL, CONF_LANGUAGE as CONF_LANGUAGE, CONF_PASSWORD as CONF_PASSWORD
|
6
|
+
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
7
|
+
from homeassistant.helpers.selector import CountrySelector as CountrySelector, CountrySelectorConfig as CountrySelectorConfig, LanguageSelector as LanguageSelector, LanguageSelectorConfig as LanguageSelectorConfig, TextSelector as TextSelector, TextSelectorConfig as TextSelectorConfig, TextSelectorType as TextSelectorType
|
8
|
+
from typing import Any
|
9
|
+
|
10
|
+
_LOGGER: Incomplete
|
11
|
+
AUTH_DATA_SCHEMA: Incomplete
|
12
|
+
|
13
|
+
class CookidooConfigFlow(ConfigFlow, domain=DOMAIN):
|
14
|
+
COUNTRY_DATA_SCHEMA: dict
|
15
|
+
LANGUAGE_DATA_SCHEMA: dict
|
16
|
+
user_input: dict[str, Any]
|
17
|
+
async def async_step_reconfigure(self, user_input: dict[str, Any]) -> ConfigFlowResult: ...
|
18
|
+
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
19
|
+
async def async_step_language(self, language_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
20
|
+
async def async_step_reauth(self, entry_data: Mapping[str, Any]) -> ConfigFlowResult: ...
|
21
|
+
async def async_step_reauth_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
22
|
+
async def generate_country_schema(self) -> None: ...
|
23
|
+
async def generate_language_schema(self) -> None: ...
|
24
|
+
async def validate_input(self, user_input: dict[str, Any], language_input: dict[str, Any] | None = None) -> dict[str, str]: ...
|
@@ -0,0 +1 @@
|
|
1
|
+
DOMAIN: str
|
@@ -0,0 +1,25 @@
|
|
1
|
+
from .const import DOMAIN as DOMAIN
|
2
|
+
from _typeshed import Incomplete
|
3
|
+
from cookidoo_api import Cookidoo as Cookidoo, CookidooAdditionalItem as CookidooAdditionalItem, CookidooIngredientItem as CookidooIngredientItem
|
4
|
+
from dataclasses import dataclass
|
5
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
|
+
from homeassistant.const import CONF_EMAIL as CONF_EMAIL
|
7
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
8
|
+
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed
|
9
|
+
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
10
|
+
|
11
|
+
_LOGGER: Incomplete
|
12
|
+
type CookidooConfigEntry = ConfigEntry[CookidooDataUpdateCoordinator]
|
13
|
+
|
14
|
+
@dataclass
|
15
|
+
class CookidooData:
|
16
|
+
ingredient_items: list[CookidooIngredientItem]
|
17
|
+
additional_items: list[CookidooAdditionalItem]
|
18
|
+
def __init__(self, ingredient_items, additional_items) -> None: ...
|
19
|
+
|
20
|
+
class CookidooDataUpdateCoordinator(DataUpdateCoordinator[CookidooData]):
|
21
|
+
config_entry: CookidooConfigEntry
|
22
|
+
cookidoo: Incomplete
|
23
|
+
def __init__(self, hass: HomeAssistant, cookidoo: Cookidoo, entry: CookidooConfigEntry) -> None: ...
|
24
|
+
async def _async_setup(self) -> None: ...
|
25
|
+
async def _async_update_data(self) -> CookidooData: ...
|
@@ -0,0 +1,10 @@
|
|
1
|
+
from .const import DOMAIN as DOMAIN
|
2
|
+
from .coordinator import CookidooDataUpdateCoordinator as CookidooDataUpdateCoordinator
|
3
|
+
from _typeshed import Incomplete
|
4
|
+
from homeassistant.helpers.device_registry import DeviceEntryType as DeviceEntryType, DeviceInfo as DeviceInfo
|
5
|
+
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
6
|
+
|
7
|
+
class CookidooBaseEntity(CoordinatorEntity[CookidooDataUpdateCoordinator]):
|
8
|
+
_attr_has_entity_name: bool
|
9
|
+
device_info: Incomplete
|
10
|
+
def __init__(self, coordinator: CookidooDataUpdateCoordinator) -> None: ...
|
@@ -0,0 +1,32 @@
|
|
1
|
+
from .const import DOMAIN as DOMAIN
|
2
|
+
from .coordinator import CookidooConfigEntry as CookidooConfigEntry, CookidooDataUpdateCoordinator as CookidooDataUpdateCoordinator
|
3
|
+
from .entity import CookidooBaseEntity as CookidooBaseEntity
|
4
|
+
from _typeshed import Incomplete
|
5
|
+
from homeassistant.components.todo import TodoItem as TodoItem, TodoItemStatus as TodoItemStatus, TodoListEntity as TodoListEntity, TodoListEntityFeature as TodoListEntityFeature
|
6
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
|
+
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
8
|
+
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
9
|
+
|
10
|
+
PARALLEL_UPDATES: int
|
11
|
+
|
12
|
+
async def async_setup_entry(hass: HomeAssistant, config_entry: CookidooConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
13
|
+
|
14
|
+
class CookidooIngredientsTodoListEntity(CookidooBaseEntity, TodoListEntity):
|
15
|
+
_attr_translation_key: str
|
16
|
+
_attr_supported_features: Incomplete
|
17
|
+
_attr_unique_id: Incomplete
|
18
|
+
def __init__(self, coordinator: CookidooDataUpdateCoordinator) -> None: ...
|
19
|
+
@property
|
20
|
+
def todo_items(self) -> list[TodoItem]: ...
|
21
|
+
async def async_update_todo_item(self, item: TodoItem) -> None: ...
|
22
|
+
|
23
|
+
class CookidooAdditionalItemTodoListEntity(CookidooBaseEntity, TodoListEntity):
|
24
|
+
_attr_translation_key: str
|
25
|
+
_attr_supported_features: Incomplete
|
26
|
+
_attr_unique_id: Incomplete
|
27
|
+
def __init__(self, coordinator: CookidooDataUpdateCoordinator) -> None: ...
|
28
|
+
@property
|
29
|
+
def todo_items(self) -> list[TodoItem]: ...
|
30
|
+
async def async_create_todo_item(self, item: TodoItem) -> None: ...
|
31
|
+
async def async_update_todo_item(self, item: TodoItem) -> None: ...
|
32
|
+
async def async_delete_todo_items(self, uids: list[str]) -> None: ...
|
@@ -45,16 +45,6 @@ class CoverDeviceClass(StrEnum):
|
|
45
45
|
|
46
46
|
DEVICE_CLASSES_SCHEMA: Incomplete
|
47
47
|
DEVICE_CLASSES: Incomplete
|
48
|
-
_DEPRECATED_DEVICE_CLASS_AWNING: Incomplete
|
49
|
-
_DEPRECATED_DEVICE_CLASS_BLIND: Incomplete
|
50
|
-
_DEPRECATED_DEVICE_CLASS_CURTAIN: Incomplete
|
51
|
-
_DEPRECATED_DEVICE_CLASS_DAMPER: Incomplete
|
52
|
-
_DEPRECATED_DEVICE_CLASS_DOOR: Incomplete
|
53
|
-
_DEPRECATED_DEVICE_CLASS_GARAGE: Incomplete
|
54
|
-
_DEPRECATED_DEVICE_CLASS_GATE: Incomplete
|
55
|
-
_DEPRECATED_DEVICE_CLASS_SHADE: Incomplete
|
56
|
-
_DEPRECATED_DEVICE_CLASS_SHUTTER: Incomplete
|
57
|
-
_DEPRECATED_DEVICE_CLASS_WINDOW: Incomplete
|
58
48
|
|
59
49
|
class CoverEntityFeature(IntFlag):
|
60
50
|
OPEN = 1
|
@@ -66,14 +56,6 @@ class CoverEntityFeature(IntFlag):
|
|
66
56
|
STOP_TILT = 64
|
67
57
|
SET_TILT_POSITION = 128
|
68
58
|
|
69
|
-
_DEPRECATED_SUPPORT_OPEN: Incomplete
|
70
|
-
_DEPRECATED_SUPPORT_CLOSE: Incomplete
|
71
|
-
_DEPRECATED_SUPPORT_SET_POSITION: Incomplete
|
72
|
-
_DEPRECATED_SUPPORT_STOP: Incomplete
|
73
|
-
_DEPRECATED_SUPPORT_OPEN_TILT: Incomplete
|
74
|
-
_DEPRECATED_SUPPORT_CLOSE_TILT: Incomplete
|
75
|
-
_DEPRECATED_SUPPORT_STOP_TILT: Incomplete
|
76
|
-
_DEPRECATED_SUPPORT_SET_TILT_POSITION: Incomplete
|
77
59
|
ATTR_CURRENT_POSITION: str
|
78
60
|
ATTR_CURRENT_TILT_POSITION: str
|
79
61
|
ATTR_POSITION: str
|
@@ -20,7 +20,7 @@ class BaseCrownstoneFlowHandler(ConfigEntryBaseFlow):
|
|
20
20
|
create_entry_callback: Incomplete
|
21
21
|
usb_path: Incomplete
|
22
22
|
usb_sphere_id: Incomplete
|
23
|
-
def __init__(self, flow_type: str, create_entry_cb: Callable[
|
23
|
+
def __init__(self, flow_type: str, create_entry_cb: Callable[[], ConfigFlowResult]) -> None: ...
|
24
24
|
async def async_step_usb_config(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
25
25
|
async def async_step_usb_manual_config(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
26
26
|
async def async_step_usb_sphere_config(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -27,7 +27,6 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, asyn
|
|
27
27
|
class DeconzThermostat(DeconzDevice[Thermostat], ClimateEntity):
|
28
28
|
TYPE = CLIMATE_DOMAIN
|
29
29
|
_attr_temperature_unit: Incomplete
|
30
|
-
_enable_turn_on_off_backwards_compatibility: bool
|
31
30
|
_attr_hvac_modes: Incomplete
|
32
31
|
_deconz_to_hvac_mode: Incomplete
|
33
32
|
_attr_supported_features: Incomplete
|
@@ -18,7 +18,6 @@ class DeconzFan(DeconzDevice[Light], FanEntity):
|
|
18
18
|
TYPE = FAN_DOMAIN
|
19
19
|
_default_on_speed: Incomplete
|
20
20
|
_attr_supported_features: Incomplete
|
21
|
-
_enable_turn_on_off_backwards_compatibility: bool
|
22
21
|
def __init__(self, device: Light, hub: DeconzHub) -> None: ...
|
23
22
|
@property
|
24
23
|
def is_on(self) -> bool: ...
|
@@ -2,12 +2,12 @@ from .const import POWER_PLUGS as POWER_PLUGS
|
|
2
2
|
from .entity import DeconzDevice as DeconzDevice
|
3
3
|
from .hub import DeconzHub as DeconzHub
|
4
4
|
from _typeshed import Incomplete
|
5
|
-
from homeassistant.components.light import ATTR_BRIGHTNESS as ATTR_BRIGHTNESS,
|
5
|
+
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_FLASH as ATTR_FLASH, ATTR_HS_COLOR as ATTR_HS_COLOR, ATTR_TRANSITION as ATTR_TRANSITION, ATTR_XY_COLOR as ATTR_XY_COLOR, ColorMode as ColorMode, DEFAULT_MAX_KELVIN as DEFAULT_MAX_KELVIN, DEFAULT_MIN_KELVIN as DEFAULT_MIN_KELVIN, DOMAIN as LIGHT_DOMAIN, EFFECT_COLORLOOP as EFFECT_COLORLOOP, FLASH_LONG as FLASH_LONG, FLASH_SHORT as FLASH_SHORT, LightEntity as LightEntity, LightEntityFeature as LightEntityFeature
|
6
6
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
7
7
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
8
8
|
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
9
9
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
10
|
-
from homeassistant.util.color import color_hs_to_xy as color_hs_to_xy
|
10
|
+
from homeassistant.util.color import color_hs_to_xy as color_hs_to_xy, color_temperature_kelvin_to_mired as color_temperature_kelvin_to_mired, color_temperature_mired_to_kelvin as color_temperature_mired_to_kelvin
|
11
11
|
from pydeconz.interfaces.groups import GroupHandler as GroupHandler
|
12
12
|
from pydeconz.interfaces.lights import LightHandler as LightHandler
|
13
13
|
from pydeconz.models.event import EventType as EventType
|
@@ -38,6 +38,8 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, asyn
|
|
38
38
|
class DeconzBaseLight[_LightDeviceT: Group | Light](DeconzDevice[_LightDeviceT], LightEntity):
|
39
39
|
TYPE = LIGHT_DOMAIN
|
40
40
|
_attr_color_mode: Incomplete
|
41
|
+
_attr_min_color_temp_kelvin = DEFAULT_MIN_KELVIN
|
42
|
+
_attr_max_color_temp_kelvin = DEFAULT_MAX_KELVIN
|
41
43
|
api: Incomplete
|
42
44
|
_attr_supported_color_modes: Incomplete
|
43
45
|
_attr_effect_list: Incomplete
|
@@ -47,7 +49,7 @@ class DeconzBaseLight[_LightDeviceT: Group | Light](DeconzDevice[_LightDeviceT],
|
|
47
49
|
@property
|
48
50
|
def brightness(self) -> int | None: ...
|
49
51
|
@property
|
50
|
-
def
|
52
|
+
def color_temp_kelvin(self) -> int | None: ...
|
51
53
|
@property
|
52
54
|
def hs_color(self) -> tuple[float, float] | None: ...
|
53
55
|
@property
|
@@ -61,9 +63,9 @@ class DeconzBaseLight[_LightDeviceT: Group | Light](DeconzDevice[_LightDeviceT],
|
|
61
63
|
|
62
64
|
class DeconzLight(DeconzBaseLight[Light]):
|
63
65
|
@property
|
64
|
-
def
|
66
|
+
def min_color_temp_kelvin(self) -> int: ...
|
65
67
|
@property
|
66
|
-
def
|
68
|
+
def max_color_temp_kelvin(self) -> int: ...
|
67
69
|
def async_update_callback(self) -> None: ...
|
68
70
|
|
69
71
|
class DeconzGroup(DeconzBaseLight[Group]):
|
@@ -17,7 +17,6 @@ class DemoClimate(ClimateEntity):
|
|
17
17
|
_attr_name: Incomplete
|
18
18
|
_attr_should_poll: bool
|
19
19
|
_attr_translation_key: str
|
20
|
-
_enable_turn_on_off_backwards_compatibility: bool
|
21
20
|
_unique_id: Incomplete
|
22
21
|
_attr_supported_features: Incomplete
|
23
22
|
_target_temperature: Incomplete
|
@@ -17,7 +17,6 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, asyn
|
|
17
17
|
class BaseDemoFan(FanEntity):
|
18
18
|
_attr_should_poll: bool
|
19
19
|
_attr_translation_key: str
|
20
|
-
_enable_turn_on_off_backwards_compatibility: bool
|
21
20
|
hass: Incomplete
|
22
21
|
_unique_id: Incomplete
|
23
22
|
_attr_supported_features: Incomplete
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from . import DOMAIN as DOMAIN
|
2
2
|
from _typeshed import Incomplete
|
3
|
-
from homeassistant.components.light import ATTR_BRIGHTNESS as ATTR_BRIGHTNESS,
|
3
|
+
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_HS_COLOR as ATTR_HS_COLOR, ATTR_RGBWW_COLOR as ATTR_RGBWW_COLOR, ATTR_RGBW_COLOR as ATTR_RGBW_COLOR, ATTR_WHITE as ATTR_WHITE, ColorMode as ColorMode, DEFAULT_MAX_KELVIN as DEFAULT_MAX_KELVIN, DEFAULT_MIN_KELVIN as DEFAULT_MIN_KELVIN, LightEntity as LightEntity, LightEntityFeature as LightEntityFeature
|
4
4
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
6
|
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
@@ -19,6 +19,8 @@ class DemoLight(LightEntity):
|
|
19
19
|
_attr_has_entity_name: bool
|
20
20
|
_attr_name: Incomplete
|
21
21
|
_attr_should_poll: bool
|
22
|
+
_attr_max_color_temp_kelvin = DEFAULT_MAX_KELVIN
|
23
|
+
_attr_min_color_temp_kelvin = DEFAULT_MIN_KELVIN
|
22
24
|
_available: bool
|
23
25
|
_brightness: Incomplete
|
24
26
|
_ct: Incomplete
|
@@ -48,7 +50,7 @@ class DemoLight(LightEntity):
|
|
48
50
|
@property
|
49
51
|
def rgbww_color(self) -> tuple[int, int, int, int, int] | None: ...
|
50
52
|
@property
|
51
|
-
def
|
53
|
+
def color_temp_kelvin(self) -> int | None: ...
|
52
54
|
@property
|
53
55
|
def effect_list(self) -> list[str] | None: ...
|
54
56
|
@property
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from _typeshed import Incomplete
|
2
2
|
from datetime import datetime
|
3
|
-
from homeassistant.components.vacuum import ATTR_CLEANED_AREA as ATTR_CLEANED_AREA,
|
3
|
+
from homeassistant.components.vacuum import ATTR_CLEANED_AREA as ATTR_CLEANED_AREA, StateVacuumEntity as StateVacuumEntity, VacuumActivity as VacuumActivity, VacuumEntityFeature as VacuumEntityFeature
|
4
4
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
6
|
from homeassistant.helpers import event as event
|
@@ -25,14 +25,12 @@ class StateDemoVacuum(StateVacuumEntity):
|
|
25
25
|
_attr_translation_key: str
|
26
26
|
_attr_name: Incomplete
|
27
27
|
_attr_supported_features: Incomplete
|
28
|
-
|
28
|
+
_attr_activity: Incomplete
|
29
29
|
_fan_speed: Incomplete
|
30
30
|
_cleaned_area: int
|
31
31
|
_battery_level: int
|
32
32
|
def __init__(self, name: str, supported_features: VacuumEntityFeature) -> None: ...
|
33
33
|
@property
|
34
|
-
def state(self) -> str: ...
|
35
|
-
@property
|
36
34
|
def battery_level(self) -> int: ...
|
37
35
|
@property
|
38
36
|
def fan_speed(self) -> str: ...
|
@@ -1,16 +1,10 @@
|
|
1
1
|
from .config_entry import ScannerEntity as ScannerEntity, ScannerEntityDescription as ScannerEntityDescription, TrackerEntity as TrackerEntity, TrackerEntityDescription as TrackerEntityDescription, async_setup_entry as async_setup_entry, async_unload_entry as async_unload_entry
|
2
|
-
from .const import ATTR_ATTRIBUTES as ATTR_ATTRIBUTES, ATTR_BATTERY as ATTR_BATTERY, ATTR_DEV_ID as ATTR_DEV_ID, ATTR_GPS as ATTR_GPS, ATTR_HOST_NAME as ATTR_HOST_NAME, ATTR_IP as ATTR_IP, ATTR_LOCATION_NAME as ATTR_LOCATION_NAME, ATTR_MAC as ATTR_MAC, ATTR_SOURCE_TYPE as ATTR_SOURCE_TYPE, CONF_CONSIDER_HOME as CONF_CONSIDER_HOME, CONF_NEW_DEVICE_DEFAULTS as CONF_NEW_DEVICE_DEFAULTS, CONF_SCAN_INTERVAL as CONF_SCAN_INTERVAL, CONF_TRACK_NEW as CONF_TRACK_NEW, CONNECTED_DEVICE_REGISTERED as CONNECTED_DEVICE_REGISTERED, DEFAULT_CONSIDER_HOME as DEFAULT_CONSIDER_HOME, DEFAULT_TRACK_NEW as DEFAULT_TRACK_NEW, DOMAIN as DOMAIN, ENTITY_ID_FORMAT as ENTITY_ID_FORMAT, SCAN_INTERVAL as SCAN_INTERVAL, SourceType as SourceType
|
2
|
+
from .const import ATTR_ATTRIBUTES as ATTR_ATTRIBUTES, ATTR_BATTERY as ATTR_BATTERY, ATTR_DEV_ID as ATTR_DEV_ID, ATTR_GPS as ATTR_GPS, ATTR_HOST_NAME as ATTR_HOST_NAME, ATTR_IP as ATTR_IP, ATTR_LOCATION_NAME as ATTR_LOCATION_NAME, ATTR_MAC as ATTR_MAC, ATTR_SOURCE_TYPE as ATTR_SOURCE_TYPE, CONF_CONSIDER_HOME as CONF_CONSIDER_HOME, CONF_NEW_DEVICE_DEFAULTS as CONF_NEW_DEVICE_DEFAULTS, CONF_SCAN_INTERVAL as CONF_SCAN_INTERVAL, CONF_TRACK_NEW as CONF_TRACK_NEW, CONNECTED_DEVICE_REGISTERED as CONNECTED_DEVICE_REGISTERED, DEFAULT_CONSIDER_HOME as DEFAULT_CONSIDER_HOME, DEFAULT_TRACK_NEW as DEFAULT_TRACK_NEW, DOMAIN as DOMAIN, ENTITY_ID_FORMAT as ENTITY_ID_FORMAT, SCAN_INTERVAL as SCAN_INTERVAL, SourceType as SourceType
|
3
3
|
from .legacy import AsyncSeeCallback as AsyncSeeCallback, DeviceScanner as DeviceScanner, PLATFORM_SCHEMA as PLATFORM_SCHEMA, PLATFORM_SCHEMA_BASE as PLATFORM_SCHEMA_BASE, SERVICE_SEE as SERVICE_SEE, SERVICE_SEE_PAYLOAD_SCHEMA as SERVICE_SEE_PAYLOAD_SCHEMA, SOURCE_TYPES as SOURCE_TYPES, SeeCallback as SeeCallback, see as see
|
4
|
-
from _typeshed import Incomplete
|
5
4
|
from homeassistant.const import ATTR_GPS_ACCURACY as ATTR_GPS_ACCURACY, STATE_HOME as STATE_HOME
|
6
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
|
-
from homeassistant.helpers.deprecation import 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
|
8
6
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
9
7
|
from homeassistant.loader import bind_hass as bind_hass
|
10
8
|
|
11
9
|
def is_on(hass: HomeAssistant, entity_id: str) -> bool: ...
|
12
10
|
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
|
13
|
-
|
14
|
-
__getattr__: Incomplete
|
15
|
-
__dir__: Incomplete
|
16
|
-
__all__: Incomplete
|
@@ -1,6 +1,5 @@
|
|
1
1
|
from _typeshed import Incomplete
|
2
2
|
from enum import StrEnum
|
3
|
-
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
|
4
3
|
from homeassistant.util.signal_type import SignalType as SignalType
|
5
4
|
from typing import Final
|
6
5
|
|
@@ -16,10 +15,6 @@ class SourceType(StrEnum):
|
|
16
15
|
BLUETOOTH = 'bluetooth'
|
17
16
|
BLUETOOTH_LE = 'bluetooth_le'
|
18
17
|
|
19
|
-
_DEPRECATED_SOURCE_TYPE_GPS: Final[Incomplete]
|
20
|
-
_DEPRECATED_SOURCE_TYPE_ROUTER: Final[Incomplete]
|
21
|
-
_DEPRECATED_SOURCE_TYPE_BLUETOOTH: Final[Incomplete]
|
22
|
-
_DEPRECATED_SOURCE_TYPE_BLUETOOTH_LE: Final[Incomplete]
|
23
18
|
CONF_SCAN_INTERVAL: Final[str]
|
24
19
|
SCAN_INTERVAL: Final[Incomplete]
|
25
20
|
CONF_TRACK_NEW: Final[str]
|
@@ -38,6 +33,3 @@ ATTR_SOURCE_TYPE: Final[str]
|
|
38
33
|
ATTR_CONSIDER_HOME: Final[str]
|
39
34
|
ATTR_IP: Final[str]
|
40
35
|
CONNECTED_DEVICE_REGISTERED: Incomplete
|
41
|
-
__getattr__: Incomplete
|
42
|
-
__dir__: Incomplete
|
43
|
-
__all__: Incomplete
|
@@ -1,4 +1,4 @@
|
|
1
|
-
from .const import
|
1
|
+
from .const import GATEWAY_SERIAL_PATTERN as GATEWAY_SERIAL_PATTERN, PLATFORMS as PLATFORMS
|
2
2
|
from devolo_home_control_api.homecontrol import HomeControl
|
3
3
|
from devolo_home_control_api.mydevolo import Mydevolo
|
4
4
|
from homeassistant.components import zeroconf as zeroconf
|
@@ -15,7 +15,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: DevoloHomeControlConfigE
|
|
15
15
|
class DevoloBinaryDeviceEntity(DevoloDeviceEntity, BinarySensorEntity):
|
16
16
|
_binary_sensor_property: Incomplete
|
17
17
|
_attr_device_class: Incomplete
|
18
|
-
|
18
|
+
_attr_translation_key: str
|
19
19
|
_value: Incomplete
|
20
20
|
_attr_entity_category: Incomplete
|
21
21
|
_attr_entity_registry_enabled_default: bool
|
@@ -27,6 +27,7 @@ class DevoloRemoteControl(DevoloDeviceEntity, BinarySensorEntity):
|
|
27
27
|
_remote_control_property: Incomplete
|
28
28
|
_key: Incomplete
|
29
29
|
_attr_is_on: bool
|
30
|
-
|
30
|
+
_attr_translation_key: str
|
31
|
+
_attr_translation_placeholders: Incomplete
|
31
32
|
def __init__(self, homecontrol: HomeControl, device_instance: Zwave, element_uid: str, key: int) -> None: ...
|
32
33
|
def _sync(self, message: tuple) -> None: ...
|
@@ -18,7 +18,6 @@ class DevoloClimateDeviceEntity(DevoloMultiLevelSwitchDeviceEntity, ClimateEntit
|
|
18
18
|
_attr_precision = PRECISION_TENTHS
|
19
19
|
_attr_hvac_mode: Incomplete
|
20
20
|
_attr_hvac_modes: Incomplete
|
21
|
-
_enable_turn_on_off_backwards_compatibility: bool
|
22
21
|
_attr_min_temp: Incomplete
|
23
22
|
_attr_max_temp: Incomplete
|
24
23
|
def __init__(self, homecontrol: HomeControl, device_instance: Zwave, element_uid: str) -> None: ...
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from . import configure_mydevolo as configure_mydevolo
|
2
|
-
from .const import
|
2
|
+
from .const import DOMAIN as DOMAIN, SUPPORTED_MODEL_TYPES as SUPPORTED_MODEL_TYPES
|
3
3
|
from .exceptions import CredentialsInvalid as CredentialsInvalid, UuidChanged as UuidChanged
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from collections.abc import Mapping
|
@@ -13,7 +13,6 @@ class DevoloHomeControlFlowHandler(ConfigFlow, domain=DOMAIN):
|
|
13
13
|
VERSION: int
|
14
14
|
_reauth_entry: ConfigEntry
|
15
15
|
data_schema: Incomplete
|
16
|
-
_url: Incomplete
|
17
16
|
def __init__(self) -> None: ...
|
18
17
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
19
18
|
async def async_step_zeroconf(self, discovery_info: zeroconf.ZeroconfServiceInfo) -> ConfigFlowResult: ...
|
@@ -22,15 +22,14 @@ class DevoloGenericMultiLevelDeviceEntity(DevoloMultiLevelDeviceEntity):
|
|
22
22
|
_attr_device_class: Incomplete
|
23
23
|
_attr_state_class: Incomplete
|
24
24
|
_attr_native_unit_of_measurement: Incomplete
|
25
|
-
_attr_name: Incomplete
|
26
25
|
_value: Incomplete
|
26
|
+
_attr_translation_key: str
|
27
27
|
_attr_entity_registry_enabled_default: bool
|
28
28
|
def __init__(self, homecontrol: HomeControl, device_instance: Zwave, element_uid: str) -> None: ...
|
29
29
|
|
30
30
|
class DevoloBatteryEntity(DevoloMultiLevelDeviceEntity):
|
31
31
|
_attr_entity_category: Incomplete
|
32
32
|
_attr_native_unit_of_measurement = PERCENTAGE
|
33
|
-
_attr_name: str
|
34
33
|
_attr_device_class: Incomplete
|
35
34
|
_attr_state_class: Incomplete
|
36
35
|
_value: Incomplete
|
@@ -42,7 +41,6 @@ class DevoloConsumptionEntity(DevoloMultiLevelDeviceEntity):
|
|
42
41
|
_attr_state_class: Incomplete
|
43
42
|
_attr_native_unit_of_measurement: Incomplete
|
44
43
|
_value: Incomplete
|
45
|
-
_attr_name: Incomplete
|
46
44
|
def __init__(self, homecontrol: HomeControl, device_instance: Zwave, element_uid: str, consumption: str) -> None: ...
|
47
45
|
@property
|
48
46
|
def unique_id(self) -> str: ...
|
@@ -10,5 +10,5 @@ PLATFORMS: Incomplete
|
|
10
10
|
type DiscovergyConfigEntry = ConfigEntry[list[DiscovergyUpdateCoordinator]]
|
11
11
|
|
12
12
|
async def async_setup_entry(hass: HomeAssistant, entry: DiscovergyConfigEntry) -> bool: ...
|
13
|
-
async def async_unload_entry(hass: HomeAssistant, entry:
|
14
|
-
async def async_reload_entry(hass: HomeAssistant, entry:
|
13
|
+
async def async_unload_entry(hass: HomeAssistant, entry: DiscovergyConfigEntry) -> bool: ...
|
14
|
+
async def async_reload_entry(hass: HomeAssistant, entry: DiscovergyConfigEntry) -> None: ...
|
@@ -24,7 +24,6 @@ class DuotecnoClimate(DuotecnoEntity, ClimateEntity):
|
|
24
24
|
_attr_hvac_modes: Incomplete
|
25
25
|
_attr_preset_modes: Incomplete
|
26
26
|
_attr_translation_key: str
|
27
|
-
_enable_turn_on_off_backwards_compatibility: bool
|
28
27
|
@property
|
29
28
|
def current_temperature(self) -> float | None: ...
|
30
29
|
@property
|
@@ -1,16 +1,15 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
2
|
-
from .coordinator import EasyEnergyDataUpdateCoordinator as EasyEnergyDataUpdateCoordinator
|
2
|
+
from .coordinator import EasyEnergyConfigEntry as EasyEnergyConfigEntry, EasyEnergyDataUpdateCoordinator as EasyEnergyDataUpdateCoordinator
|
3
3
|
from .services import async_setup_services as async_setup_services
|
4
4
|
from _typeshed import Incomplete
|
5
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
5
|
from homeassistant.const import Platform as Platform
|
7
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
8
7
|
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
9
8
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
10
9
|
|
11
|
-
PLATFORMS:
|
10
|
+
PLATFORMS: list[Platform]
|
12
11
|
CONFIG_SCHEMA: Incomplete
|
13
12
|
|
14
13
|
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
|
15
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
16
|
-
async def async_unload_entry(hass: HomeAssistant, entry:
|
14
|
+
async def async_setup_entry(hass: HomeAssistant, entry: EasyEnergyConfigEntry) -> bool: ...
|
15
|
+
async def async_unload_entry(hass: HomeAssistant, entry: EasyEnergyConfigEntry) -> bool: ...
|
@@ -7,13 +7,14 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession as asyn
|
|
7
7
|
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
8
8
|
from typing import NamedTuple
|
9
9
|
|
10
|
+
type EasyEnergyConfigEntry = ConfigEntry[EasyEnergyDataUpdateCoordinator]
|
10
11
|
class EasyEnergyData(NamedTuple):
|
11
12
|
energy_today: Electricity
|
12
13
|
energy_tomorrow: Electricity | None
|
13
14
|
gas_today: Gas | None
|
14
15
|
|
15
16
|
class EasyEnergyDataUpdateCoordinator(DataUpdateCoordinator[EasyEnergyData]):
|
16
|
-
config_entry:
|
17
|
+
config_entry: EasyEnergyConfigEntry
|
17
18
|
easyenergy: Incomplete
|
18
|
-
def __init__(self, hass: HomeAssistant) -> None: ...
|
19
|
+
def __init__(self, hass: HomeAssistant, entry: EasyEnergyConfigEntry) -> None: ...
|
19
20
|
async def _async_update_data(self) -> EasyEnergyData: ...
|
@@ -1,9 +1,6 @@
|
|
1
|
-
from . import
|
2
|
-
from .const import DOMAIN as DOMAIN
|
3
|
-
from .coordinator import EasyEnergyData as EasyEnergyData
|
4
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
1
|
+
from .coordinator import EasyEnergyConfigEntry as EasyEnergyConfigEntry, EasyEnergyData as EasyEnergyData
|
5
2
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
3
|
from typing import Any
|
7
4
|
|
8
5
|
def get_gas_price(data: EasyEnergyData, 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: EasyEnergyConfigEntry) -> dict[str, Any]: ...
|