homeassistant-stubs 2024.12.4__py3-none-any.whl → 2025.1.0__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/bootstrap.pyi +2 -1
- 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/apple_tv/config_flow.pyi +1 -1
- homeassistant-stubs/components/apsystems/number.pyi +1 -0
- 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 +192 -51
- homeassistant-stubs/components/backup/models.pyi +38 -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/__init__.pyi +1 -1
- homeassistant-stubs/components/cloud/backup.pyi +37 -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/feedreader/coordinator.pyi +1 -0
- 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/google_cloud/const.pyi +3 -0
- homeassistant-stubs/components/google_cloud/helpers.pyi +1 -1
- homeassistant-stubs/components/google_cloud/tts.pyi +1 -1
- 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/__init__.pyi +5 -3
- homeassistant-stubs/components/modbus/climate.pyi +0 -1
- homeassistant-stubs/components/modbus/fan.pyi +0 -1
- homeassistant-stubs/components/modbus/modbus.pyi +3 -4
- 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 +10 -3
- 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 +49 -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 +27 -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/prometheus/__init__.pyi +11 -3
- homeassistant-stubs/components/rabbitair/fan.pyi +0 -1
- homeassistant-stubs/components/recorder/__init__.pyi +1 -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 +32 -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/__init__.pyi +1 -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/media_source.pyi +2 -3
- 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 +9 -0
- homeassistant-stubs/components/reolink/views.pyi +21 -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 +6 -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/sql/sensor.pyi +2 -0
- 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/system_info.pyi +1 -1
- homeassistant-stubs/helpers/template.pyi +1 -1
- homeassistant-stubs/util/dt.pyi +1 -0
- homeassistant-stubs/util/package.pyi +1 -0
- homeassistant-stubs/util/system_info.pyi +1 -0
- {homeassistant_stubs-2024.12.4.dist-info → homeassistant_stubs-2025.1.0.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2024.12.4.dist-info → homeassistant_stubs-2025.1.0.dist-info}/RECORD +585 -490
- 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.4.dist-info → homeassistant_stubs-2025.1.0.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2024.12.4.dist-info → homeassistant_stubs-2025.1.0.dist-info}/licenses/LICENSE +0 -0
@@ -2,7 +2,7 @@ from .const import DATA_CLIENT as DATA_CLIENT, DOMAIN as DOMAIN
|
|
2
2
|
from .discovery import ZwaveDiscoveryInfo as ZwaveDiscoveryInfo
|
3
3
|
from .entity import ZWaveBaseEntity as ZWaveBaseEntity
|
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_HS_COLOR as ATTR_HS_COLOR, ATTR_RGBW_COLOR as ATTR_RGBW_COLOR, ATTR_TRANSITION as ATTR_TRANSITION, ColorMode as ColorMode, 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.dispatcher import async_dispatcher_connect as async_dispatcher_connect
|
@@ -14,11 +14,15 @@ from zwave_js_server.model.value import Value
|
|
14
14
|
|
15
15
|
PARALLEL_UPDATES: int
|
16
16
|
MULTI_COLOR_MAP: Incomplete
|
17
|
+
MIN_MIREDS: int
|
18
|
+
MAX_MIREDS: int
|
17
19
|
|
18
20
|
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
19
21
|
def byte_to_zwave_brightness(value: int) -> int: ...
|
20
22
|
|
21
23
|
class ZwaveLight(ZWaveBaseEntity, LightEntity):
|
24
|
+
_attr_min_color_temp_kelvin: int
|
25
|
+
_attr_max_color_temp_kelvin: int
|
22
26
|
_supports_color: bool
|
23
27
|
_supports_rgbw: bool
|
24
28
|
_supports_color_temp: bool
|
@@ -27,8 +31,6 @@ class ZwaveLight(ZWaveBaseEntity, LightEntity):
|
|
27
31
|
_hs_color: Incomplete
|
28
32
|
_rgbw_color: Incomplete
|
29
33
|
_color_temp: Incomplete
|
30
|
-
_min_mireds: int
|
31
|
-
_max_mireds: int
|
32
34
|
_warm_white: Incomplete
|
33
35
|
_cold_white: Incomplete
|
34
36
|
_supported_color_modes: Incomplete
|
@@ -52,16 +54,12 @@ class ZwaveLight(ZWaveBaseEntity, LightEntity):
|
|
52
54
|
@property
|
53
55
|
def rgbw_color(self) -> tuple[int, int, int, int] | None: ...
|
54
56
|
@property
|
55
|
-
def
|
56
|
-
@property
|
57
|
-
def min_mireds(self) -> int: ...
|
58
|
-
@property
|
59
|
-
def max_mireds(self) -> int: ...
|
57
|
+
def color_temp_kelvin(self) -> int | None: ...
|
60
58
|
@property
|
61
59
|
def supported_color_modes(self) -> set[ColorMode] | None: ...
|
62
60
|
async def async_turn_on(self, **kwargs: Any) -> None: ...
|
63
61
|
async def async_turn_off(self, **kwargs: Any) -> None: ...
|
64
|
-
def _get_new_colors(self, hs_color: tuple[float, float] | None,
|
62
|
+
def _get_new_colors(self, hs_color: tuple[float, float] | None, color_temp_k: int | None, rgbw: tuple[int, int, int, int] | None, brightness_scale: float | None = None) -> dict[ColorComponent, int] | None: ...
|
65
63
|
async def _async_set_colors(self, colors: dict[ColorComponent, int], transition: float | None = None) -> None: ...
|
66
64
|
async def _async_set_brightness(self, brightness: int | None, transition: float | None = None) -> None: ...
|
67
65
|
def _get_color_values(self) -> tuple[Value | None, ...]: ...
|
homeassistant-stubs/const.pyi
CHANGED
@@ -294,34 +294,6 @@ EVENT_LOVELACE_UPDATED: Final[str]
|
|
294
294
|
EVENT_RECORDER_5MIN_STATISTICS_GENERATED: Final[str]
|
295
295
|
EVENT_RECORDER_HOURLY_STATISTICS_GENERATED: Final[str]
|
296
296
|
EVENT_SHOPPING_LIST_UPDATED: Final[str]
|
297
|
-
_DEPRECATED_DEVICE_CLASS_AQI: Final[Incomplete]
|
298
|
-
_DEPRECATED_DEVICE_CLASS_BATTERY: Final[Incomplete]
|
299
|
-
_DEPRECATED_DEVICE_CLASS_CO: Final[Incomplete]
|
300
|
-
_DEPRECATED_DEVICE_CLASS_CO2: Final[Incomplete]
|
301
|
-
_DEPRECATED_DEVICE_CLASS_CURRENT: Final[Incomplete]
|
302
|
-
_DEPRECATED_DEVICE_CLASS_DATE: Final[Incomplete]
|
303
|
-
_DEPRECATED_DEVICE_CLASS_ENERGY: Final[Incomplete]
|
304
|
-
_DEPRECATED_DEVICE_CLASS_FREQUENCY: Final[Incomplete]
|
305
|
-
_DEPRECATED_DEVICE_CLASS_GAS: Final[Incomplete]
|
306
|
-
_DEPRECATED_DEVICE_CLASS_HUMIDITY: Final[Incomplete]
|
307
|
-
_DEPRECATED_DEVICE_CLASS_ILLUMINANCE: Final[Incomplete]
|
308
|
-
_DEPRECATED_DEVICE_CLASS_MONETARY: Final[Incomplete]
|
309
|
-
_DEPRECATED_DEVICE_CLASS_NITROGEN_DIOXIDE: Final[Incomplete]
|
310
|
-
_DEPRECATED_DEVICE_CLASS_NITROGEN_MONOXIDE: Final[Incomplete]
|
311
|
-
_DEPRECATED_DEVICE_CLASS_NITROUS_OXIDE: Final[Incomplete]
|
312
|
-
_DEPRECATED_DEVICE_CLASS_OZONE: Final[Incomplete]
|
313
|
-
_DEPRECATED_DEVICE_CLASS_PM1: Final[Incomplete]
|
314
|
-
_DEPRECATED_DEVICE_CLASS_PM10: Final[Incomplete]
|
315
|
-
_DEPRECATED_DEVICE_CLASS_PM25: Final[Incomplete]
|
316
|
-
_DEPRECATED_DEVICE_CLASS_POWER_FACTOR: Final[Incomplete]
|
317
|
-
_DEPRECATED_DEVICE_CLASS_POWER: Final[Incomplete]
|
318
|
-
_DEPRECATED_DEVICE_CLASS_PRESSURE: Final[Incomplete]
|
319
|
-
_DEPRECATED_DEVICE_CLASS_SIGNAL_STRENGTH: Final[Incomplete]
|
320
|
-
_DEPRECATED_DEVICE_CLASS_SULPHUR_DIOXIDE: Final[Incomplete]
|
321
|
-
_DEPRECATED_DEVICE_CLASS_TEMPERATURE: Final[Incomplete]
|
322
|
-
_DEPRECATED_DEVICE_CLASS_TIMESTAMP: Final[Incomplete]
|
323
|
-
_DEPRECATED_DEVICE_CLASS_VOLATILE_ORGANIC_COMPOUNDS: Final[Incomplete]
|
324
|
-
_DEPRECATED_DEVICE_CLASS_VOLTAGE: Final[Incomplete]
|
325
297
|
STATE_ON: Final[str]
|
326
298
|
STATE_OFF: Final[str]
|
327
299
|
STATE_HOME: Final[str]
|
@@ -419,9 +391,8 @@ ATTR_PERSONS: Final[str]
|
|
419
391
|
class UnitOfApparentPower(StrEnum):
|
420
392
|
VOLT_AMPERE = 'VA'
|
421
393
|
|
422
|
-
_DEPRECATED_POWER_VOLT_AMPERE: Final[Incomplete]
|
423
|
-
|
424
394
|
class UnitOfPower(StrEnum):
|
395
|
+
MILLIWATT = 'mW'
|
425
396
|
WATT = 'W'
|
426
397
|
KILO_WATT = 'kW'
|
427
398
|
MEGA_WATT = 'MW'
|
@@ -429,10 +400,6 @@ class UnitOfPower(StrEnum):
|
|
429
400
|
TERA_WATT = 'TW'
|
430
401
|
BTU_PER_HOUR = 'BTU/h'
|
431
402
|
|
432
|
-
_DEPRECATED_POWER_WATT: Final[Incomplete]
|
433
|
-
_DEPRECATED_POWER_KILO_WATT: Final[Incomplete]
|
434
|
-
_DEPRECATED_POWER_BTU_PER_HOUR: Final[Incomplete]
|
435
|
-
|
436
403
|
class UnitOfReactivePower(StrEnum):
|
437
404
|
VOLT_AMPERE_REACTIVE = 'var'
|
438
405
|
|
@@ -443,6 +410,7 @@ class UnitOfEnergy(StrEnum):
|
|
443
410
|
KILO_JOULE = 'kJ'
|
444
411
|
MEGA_JOULE = 'MJ'
|
445
412
|
GIGA_JOULE = 'GJ'
|
413
|
+
MILLIWATT_HOUR = 'mWh'
|
446
414
|
WATT_HOUR = 'Wh'
|
447
415
|
KILO_WATT_HOUR = 'kWh'
|
448
416
|
MEGA_WATT_HOUR = 'MWh'
|
@@ -453,24 +421,15 @@ class UnitOfEnergy(StrEnum):
|
|
453
421
|
MEGA_CALORIE = 'Mcal'
|
454
422
|
GIGA_CALORIE = 'Gcal'
|
455
423
|
|
456
|
-
_DEPRECATED_ENERGY_KILO_WATT_HOUR: Final[Incomplete]
|
457
|
-
_DEPRECATED_ENERGY_MEGA_WATT_HOUR: Final[Incomplete]
|
458
|
-
_DEPRECATED_ENERGY_WATT_HOUR: Final[Incomplete]
|
459
|
-
|
460
424
|
class UnitOfElectricCurrent(StrEnum):
|
461
425
|
MILLIAMPERE = 'mA'
|
462
426
|
AMPERE = 'A'
|
463
427
|
|
464
|
-
_DEPRECATED_ELECTRIC_CURRENT_MILLIAMPERE: Final[Incomplete]
|
465
|
-
_DEPRECATED_ELECTRIC_CURRENT_AMPERE: Final[Incomplete]
|
466
|
-
|
467
428
|
class UnitOfElectricPotential(StrEnum):
|
468
429
|
MICROVOLT = 'µV'
|
469
430
|
MILLIVOLT = 'mV'
|
470
431
|
VOLT = 'V'
|
471
432
|
|
472
|
-
_DEPRECATED_ELECTRIC_POTENTIAL_MILLIVOLT: Final[Incomplete]
|
473
|
-
_DEPRECATED_ELECTRIC_POTENTIAL_VOLT: Final[Incomplete]
|
474
433
|
DEGREE: Final[str]
|
475
434
|
CURRENCY_EURO: Final[str]
|
476
435
|
CURRENCY_DOLLAR: Final[str]
|
@@ -481,10 +440,6 @@ class UnitOfTemperature(StrEnum):
|
|
481
440
|
FAHRENHEIT = '°F'
|
482
441
|
KELVIN = 'K'
|
483
442
|
|
484
|
-
_DEPRECATED_TEMP_CELSIUS: Final[Incomplete]
|
485
|
-
_DEPRECATED_TEMP_FAHRENHEIT: Final[Incomplete]
|
486
|
-
_DEPRECATED_TEMP_KELVIN: Final[Incomplete]
|
487
|
-
|
488
443
|
class UnitOfTime(StrEnum):
|
489
444
|
MICROSECONDS = 'μs'
|
490
445
|
MILLISECONDS = 'ms'
|
@@ -496,16 +451,6 @@ class UnitOfTime(StrEnum):
|
|
496
451
|
MONTHS = 'm'
|
497
452
|
YEARS = 'y'
|
498
453
|
|
499
|
-
_DEPRECATED_TIME_MICROSECONDS: Final[Incomplete]
|
500
|
-
_DEPRECATED_TIME_MILLISECONDS: Final[Incomplete]
|
501
|
-
_DEPRECATED_TIME_SECONDS: Final[Incomplete]
|
502
|
-
_DEPRECATED_TIME_MINUTES: Final[Incomplete]
|
503
|
-
_DEPRECATED_TIME_HOURS: Final[Incomplete]
|
504
|
-
_DEPRECATED_TIME_DAYS: Final[Incomplete]
|
505
|
-
_DEPRECATED_TIME_WEEKS: Final[Incomplete]
|
506
|
-
_DEPRECATED_TIME_MONTHS: Final[Incomplete]
|
507
|
-
_DEPRECATED_TIME_YEARS: Final[Incomplete]
|
508
|
-
|
509
454
|
class UnitOfLength(StrEnum):
|
510
455
|
MILLIMETERS = 'mm'
|
511
456
|
CENTIMETERS = 'cm'
|
@@ -517,26 +462,12 @@ class UnitOfLength(StrEnum):
|
|
517
462
|
MILES = 'mi'
|
518
463
|
NAUTICAL_MILES = 'nmi'
|
519
464
|
|
520
|
-
_DEPRECATED_LENGTH_MILLIMETERS: Final[Incomplete]
|
521
|
-
_DEPRECATED_LENGTH_CENTIMETERS: Final[Incomplete]
|
522
|
-
_DEPRECATED_LENGTH_METERS: Final[Incomplete]
|
523
|
-
_DEPRECATED_LENGTH_KILOMETERS: Final[Incomplete]
|
524
|
-
_DEPRECATED_LENGTH_INCHES: Final[Incomplete]
|
525
|
-
_DEPRECATED_LENGTH_FEET: Final[Incomplete]
|
526
|
-
_DEPRECATED_LENGTH_YARD: Final[Incomplete]
|
527
|
-
_DEPRECATED_LENGTH_MILES: Final[Incomplete]
|
528
|
-
|
529
465
|
class UnitOfFrequency(StrEnum):
|
530
466
|
HERTZ = 'Hz'
|
531
467
|
KILOHERTZ = 'kHz'
|
532
468
|
MEGAHERTZ = 'MHz'
|
533
469
|
GIGAHERTZ = 'GHz'
|
534
470
|
|
535
|
-
_DEPRECATED_FREQUENCY_HERTZ: Final[Incomplete]
|
536
|
-
_DEPRECATED_FREQUENCY_KILOHERTZ: Final[Incomplete]
|
537
|
-
_DEPRECATED_FREQUENCY_MEGAHERTZ: Final[Incomplete]
|
538
|
-
_DEPRECATED_FREQUENCY_GIGAHERTZ: Final[Incomplete]
|
539
|
-
|
540
471
|
class UnitOfPressure(StrEnum):
|
541
472
|
PA = 'Pa'
|
542
473
|
HPA = 'hPa'
|
@@ -548,23 +479,10 @@ class UnitOfPressure(StrEnum):
|
|
548
479
|
INHG = 'inHg'
|
549
480
|
PSI = 'psi'
|
550
481
|
|
551
|
-
_DEPRECATED_PRESSURE_PA: Final[Incomplete]
|
552
|
-
_DEPRECATED_PRESSURE_HPA: Final[Incomplete]
|
553
|
-
_DEPRECATED_PRESSURE_KPA: Final[Incomplete]
|
554
|
-
_DEPRECATED_PRESSURE_BAR: Final[Incomplete]
|
555
|
-
_DEPRECATED_PRESSURE_CBAR: Final[Incomplete]
|
556
|
-
_DEPRECATED_PRESSURE_MBAR: Final[Incomplete]
|
557
|
-
_DEPRECATED_PRESSURE_MMHG: Final[Incomplete]
|
558
|
-
_DEPRECATED_PRESSURE_INHG: Final[Incomplete]
|
559
|
-
_DEPRECATED_PRESSURE_PSI: Final[Incomplete]
|
560
|
-
|
561
482
|
class UnitOfSoundPressure(StrEnum):
|
562
483
|
DECIBEL = 'dB'
|
563
484
|
WEIGHTED_DECIBEL_A = 'dBA'
|
564
485
|
|
565
|
-
_DEPRECATED_SOUND_PRESSURE_DB: Final[Incomplete]
|
566
|
-
_DEPRECATED_SOUND_PRESSURE_WEIGHTED_DBA: Final[Incomplete]
|
567
|
-
|
568
486
|
class UnitOfVolume(StrEnum):
|
569
487
|
CUBIC_FEET = 'ft³'
|
570
488
|
CENTUM_CUBIC_FEET = 'CCF'
|
@@ -574,13 +492,6 @@ class UnitOfVolume(StrEnum):
|
|
574
492
|
GALLONS = 'gal'
|
575
493
|
FLUID_OUNCES = 'fl. oz.'
|
576
494
|
|
577
|
-
_DEPRECATED_VOLUME_LITERS: Final[Incomplete]
|
578
|
-
_DEPRECATED_VOLUME_MILLILITERS: Final[Incomplete]
|
579
|
-
_DEPRECATED_VOLUME_CUBIC_METERS: Final[Incomplete]
|
580
|
-
_DEPRECATED_VOLUME_CUBIC_FEET: Final[Incomplete]
|
581
|
-
_DEPRECATED_VOLUME_GALLONS: Final[Incomplete]
|
582
|
-
_DEPRECATED_VOLUME_FLUID_OUNCE: Final[Incomplete]
|
583
|
-
|
584
495
|
class UnitOfVolumeFlowRate(StrEnum):
|
585
496
|
CUBIC_METERS_PER_HOUR = 'm³/h'
|
586
497
|
CUBIC_FEET_PER_MINUTE = 'ft³/min'
|
@@ -588,9 +499,6 @@ class UnitOfVolumeFlowRate(StrEnum):
|
|
588
499
|
GALLONS_PER_MINUTE = 'gal/min'
|
589
500
|
MILLILITERS_PER_SECOND = 'mL/s'
|
590
501
|
|
591
|
-
_DEPRECATED_VOLUME_FLOW_RATE_CUBIC_METERS_PER_HOUR: Final[Incomplete]
|
592
|
-
_DEPRECATED_VOLUME_FLOW_RATE_CUBIC_FEET_PER_MINUTE: Final[Incomplete]
|
593
|
-
|
594
502
|
class UnitOfArea(StrEnum):
|
595
503
|
SQUARE_METERS = 'm²'
|
596
504
|
SQUARE_CENTIMETERS = 'cm²'
|
@@ -614,13 +522,6 @@ class UnitOfMass(StrEnum):
|
|
614
522
|
POUNDS = 'lb'
|
615
523
|
STONES = 'st'
|
616
524
|
|
617
|
-
_DEPRECATED_MASS_GRAMS: Final[Incomplete]
|
618
|
-
_DEPRECATED_MASS_KILOGRAMS: Final[Incomplete]
|
619
|
-
_DEPRECATED_MASS_MILLIGRAMS: Final[Incomplete]
|
620
|
-
_DEPRECATED_MASS_MICROGRAMS: Final[Incomplete]
|
621
|
-
_DEPRECATED_MASS_OUNCES: Final[Incomplete]
|
622
|
-
_DEPRECATED_MASS_POUNDS: Final[Incomplete]
|
623
|
-
|
624
525
|
class UnitOfConductivity(StrEnum, deprecated={'SIEMENS': ('UnitOfConductivity.SIEMENS_PER_CM', '2025.11.0'), 'MICROSIEMENS': ('UnitOfConductivity.MICROSIEMENS_PER_CM', '2025.11.0'), 'MILLISIEMENS': ('UnitOfConductivity.MILLISIEMENS_PER_CM', '2025.11.0')}, metaclass=EnumWithDeprecatedMembers):
|
625
526
|
SIEMENS_PER_CM = 'S/cm'
|
626
527
|
MICROSIEMENS_PER_CM = 'µS/cm'
|
@@ -639,9 +540,6 @@ class UnitOfIrradiance(StrEnum):
|
|
639
540
|
WATTS_PER_SQUARE_METER = 'W/m²'
|
640
541
|
BTUS_PER_HOUR_SQUARE_FOOT = 'BTU/(h⋅ft²)'
|
641
542
|
|
642
|
-
_DEPRECATED_IRRADIATION_WATTS_PER_SQUARE_METER: Final[Incomplete]
|
643
|
-
_DEPRECATED_IRRADIATION_BTUS_PER_HOUR_SQUARE_FOOT: Final[Incomplete]
|
644
|
-
|
645
543
|
class UnitOfVolumetricFlux(StrEnum):
|
646
544
|
INCHES_PER_DAY = 'in/d'
|
647
545
|
INCHES_PER_HOUR = 'in/h'
|
@@ -653,10 +551,6 @@ class UnitOfPrecipitationDepth(StrEnum):
|
|
653
551
|
MILLIMETERS = 'mm'
|
654
552
|
CENTIMETERS = 'cm'
|
655
553
|
|
656
|
-
_DEPRECATED_PRECIPITATION_INCHES: Final[Incomplete]
|
657
|
-
_DEPRECATED_PRECIPITATION_MILLIMETERS: Final[Incomplete]
|
658
|
-
_DEPRECATED_PRECIPITATION_MILLIMETERS_PER_HOUR: Final[Incomplete]
|
659
|
-
_DEPRECATED_PRECIPITATION_INCHES_PER_HOUR: Final[Incomplete]
|
660
554
|
CONCENTRATION_MICROGRAMS_PER_CUBIC_METER: Final[str]
|
661
555
|
CONCENTRATION_MILLIGRAMS_PER_CUBIC_METER: Final[str]
|
662
556
|
CONCENTRATION_MICROGRAMS_PER_CUBIC_FOOT: Final[str]
|
@@ -678,14 +572,6 @@ class UnitOfSpeed(StrEnum):
|
|
678
572
|
MILES_PER_HOUR = 'mph'
|
679
573
|
MILLIMETERS_PER_SECOND = 'mm/s'
|
680
574
|
|
681
|
-
_DEPRECATED_SPEED_FEET_PER_SECOND: Final[Incomplete]
|
682
|
-
_DEPRECATED_SPEED_METERS_PER_SECOND: Final[Incomplete]
|
683
|
-
_DEPRECATED_SPEED_KILOMETERS_PER_HOUR: Final[Incomplete]
|
684
|
-
_DEPRECATED_SPEED_KNOTS: Final[Incomplete]
|
685
|
-
_DEPRECATED_SPEED_MILES_PER_HOUR: Final[Incomplete]
|
686
|
-
_DEPRECATED_SPEED_MILLIMETERS_PER_DAY: Final[Incomplete]
|
687
|
-
_DEPRECATED_SPEED_INCHES_PER_DAY: Final[Incomplete]
|
688
|
-
_DEPRECATED_SPEED_INCHES_PER_HOUR: Final[Incomplete]
|
689
575
|
SIGNAL_STRENGTH_DECIBELS: Final[str]
|
690
576
|
SIGNAL_STRENGTH_DECIBELS_MILLIWATT: Final[str]
|
691
577
|
|
@@ -712,28 +598,6 @@ class UnitOfInformation(StrEnum):
|
|
712
598
|
ZEBIBYTES = 'ZiB'
|
713
599
|
YOBIBYTES = 'YiB'
|
714
600
|
|
715
|
-
_DEPRECATED_DATA_BITS: Final[Incomplete]
|
716
|
-
_DEPRECATED_DATA_KILOBITS: Final[Incomplete]
|
717
|
-
_DEPRECATED_DATA_MEGABITS: Final[Incomplete]
|
718
|
-
_DEPRECATED_DATA_GIGABITS: Final[Incomplete]
|
719
|
-
_DEPRECATED_DATA_BYTES: Final[Incomplete]
|
720
|
-
_DEPRECATED_DATA_KILOBYTES: Final[Incomplete]
|
721
|
-
_DEPRECATED_DATA_MEGABYTES: Final[Incomplete]
|
722
|
-
_DEPRECATED_DATA_GIGABYTES: Final[Incomplete]
|
723
|
-
_DEPRECATED_DATA_TERABYTES: Final[Incomplete]
|
724
|
-
_DEPRECATED_DATA_PETABYTES: Final[Incomplete]
|
725
|
-
_DEPRECATED_DATA_EXABYTES: Final[Incomplete]
|
726
|
-
_DEPRECATED_DATA_ZETTABYTES: Final[Incomplete]
|
727
|
-
_DEPRECATED_DATA_YOTTABYTES: Final[Incomplete]
|
728
|
-
_DEPRECATED_DATA_KIBIBYTES: Final[Incomplete]
|
729
|
-
_DEPRECATED_DATA_MEBIBYTES: Final[Incomplete]
|
730
|
-
_DEPRECATED_DATA_GIBIBYTES: Final[Incomplete]
|
731
|
-
_DEPRECATED_DATA_TEBIBYTES: Final[Incomplete]
|
732
|
-
_DEPRECATED_DATA_PEBIBYTES: Final[Incomplete]
|
733
|
-
_DEPRECATED_DATA_EXBIBYTES: Final[Incomplete]
|
734
|
-
_DEPRECATED_DATA_ZEBIBYTES: Final[Incomplete]
|
735
|
-
_DEPRECATED_DATA_YOBIBYTES: Final[Incomplete]
|
736
|
-
|
737
601
|
class UnitOfDataRate(StrEnum):
|
738
602
|
BITS_PER_SECOND = 'bit/s'
|
739
603
|
KILOBITS_PER_SECOND = 'kbit/s'
|
@@ -747,17 +611,6 @@ class UnitOfDataRate(StrEnum):
|
|
747
611
|
MEBIBYTES_PER_SECOND = 'MiB/s'
|
748
612
|
GIBIBYTES_PER_SECOND = 'GiB/s'
|
749
613
|
|
750
|
-
_DEPRECATED_DATA_RATE_BITS_PER_SECOND: Final[Incomplete]
|
751
|
-
_DEPRECATED_DATA_RATE_KILOBITS_PER_SECOND: Final[Incomplete]
|
752
|
-
_DEPRECATED_DATA_RATE_MEGABITS_PER_SECOND: Final[Incomplete]
|
753
|
-
_DEPRECATED_DATA_RATE_GIGABITS_PER_SECOND: Final[Incomplete]
|
754
|
-
_DEPRECATED_DATA_RATE_BYTES_PER_SECOND: Final[Incomplete]
|
755
|
-
_DEPRECATED_DATA_RATE_KILOBYTES_PER_SECOND: Final[Incomplete]
|
756
|
-
_DEPRECATED_DATA_RATE_MEGABYTES_PER_SECOND: Final[Incomplete]
|
757
|
-
_DEPRECATED_DATA_RATE_GIGABYTES_PER_SECOND: Final[Incomplete]
|
758
|
-
_DEPRECATED_DATA_RATE_KIBIBYTES_PER_SECOND: Final[Incomplete]
|
759
|
-
_DEPRECATED_DATA_RATE_MEBIBYTES_PER_SECOND: Final[Incomplete]
|
760
|
-
_DEPRECATED_DATA_RATE_GIBIBYTES_PER_SECOND: Final[Incomplete]
|
761
614
|
COMPRESSED_STATE_STATE: Final[str]
|
762
615
|
COMPRESSED_STATE_ATTRIBUTES: Final[str]
|
763
616
|
COMPRESSED_STATE_CONTEXT: Final[str]
|
@@ -851,8 +704,6 @@ class EntityCategory(StrEnum):
|
|
851
704
|
CONFIG = 'config'
|
852
705
|
DIAGNOSTIC = 'diagnostic'
|
853
706
|
|
854
|
-
_DEPRECATED_ENTITY_CATEGORY_CONFIG: Final[Incomplete]
|
855
|
-
_DEPRECATED_ENTITY_CATEGORY_DIAGNOSTIC: Final[Incomplete]
|
856
707
|
ENTITY_CATEGORIES: Final[list[str]]
|
857
708
|
CAST_APP_ID_HOMEASSISTANT_MEDIA: Final[str]
|
858
709
|
CAST_APP_ID_HOMEASSISTANT_LOVELACE: Final[str]
|
homeassistant-stubs/core.pyi
CHANGED
@@ -9,7 +9,7 @@ from .components.http import HomeAssistantHTTP as HomeAssistantHTTP
|
|
9
9
|
from .config_entries import ConfigEntries as ConfigEntries
|
10
10
|
from .const import ATTR_DOMAIN as ATTR_DOMAIN, ATTR_FRIENDLY_NAME as ATTR_FRIENDLY_NAME, ATTR_SERVICE as ATTR_SERVICE, ATTR_SERVICE_DATA as ATTR_SERVICE_DATA, COMPRESSED_STATE_ATTRIBUTES as COMPRESSED_STATE_ATTRIBUTES, COMPRESSED_STATE_CONTEXT as COMPRESSED_STATE_CONTEXT, COMPRESSED_STATE_LAST_CHANGED as COMPRESSED_STATE_LAST_CHANGED, COMPRESSED_STATE_LAST_UPDATED as COMPRESSED_STATE_LAST_UPDATED, COMPRESSED_STATE_STATE as COMPRESSED_STATE_STATE, EVENT_CALL_SERVICE as EVENT_CALL_SERVICE, EVENT_CORE_CONFIG_UPDATE as EVENT_CORE_CONFIG_UPDATE, EVENT_HOMEASSISTANT_CLOSE as EVENT_HOMEASSISTANT_CLOSE, EVENT_HOMEASSISTANT_FINAL_WRITE as EVENT_HOMEASSISTANT_FINAL_WRITE, EVENT_HOMEASSISTANT_START as EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STARTED as EVENT_HOMEASSISTANT_STARTED, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP, EVENT_LOGGING_CHANGED as EVENT_LOGGING_CHANGED, EVENT_SERVICE_REGISTERED as EVENT_SERVICE_REGISTERED, EVENT_SERVICE_REMOVED as EVENT_SERVICE_REMOVED, EVENT_STATE_CHANGED as EVENT_STATE_CHANGED, EVENT_STATE_REPORTED as EVENT_STATE_REPORTED, MATCH_ALL as MATCH_ALL, MAX_EXPECTED_ENTITY_IDS as MAX_EXPECTED_ENTITY_IDS, MAX_LENGTH_EVENT_EVENT_TYPE as MAX_LENGTH_EVENT_EVENT_TYPE, MAX_LENGTH_STATE_STATE as MAX_LENGTH_STATE_STATE, __version__ as __version__
|
11
11
|
from .exceptions import HomeAssistantError as HomeAssistantError, InvalidEntityFormatError as InvalidEntityFormatError, InvalidStateError as InvalidStateError, MaxLengthExceeded as MaxLengthExceeded, ServiceNotFound as ServiceNotFound, ServiceValidationError as ServiceValidationError, Unauthorized as Unauthorized
|
12
|
-
from .helpers.deprecation import DeferredDeprecatedAlias as DeferredDeprecatedAlias,
|
12
|
+
from .helpers.deprecation import DeferredDeprecatedAlias as DeferredDeprecatedAlias, EnumWithDeprecatedMembers as EnumWithDeprecatedMembers, 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
|
13
13
|
from .helpers.entity import StateInfo as StateInfo
|
14
14
|
from .helpers.json import json_bytes as json_bytes, json_fragment as json_fragment
|
15
15
|
from .helpers.typing import VolSchemaType as VolSchemaType
|
@@ -56,10 +56,6 @@ class EventStateChangedData(EventStateEventData):
|
|
56
56
|
class EventStateReportedData(EventStateEventData):
|
57
57
|
old_last_reported: datetime.datetime
|
58
58
|
|
59
|
-
_DEPRECATED_SOURCE_DISCOVERED: Incomplete
|
60
|
-
_DEPRECATED_SOURCE_STORAGE: Incomplete
|
61
|
-
_DEPRECATED_SOURCE_YAML: Incomplete
|
62
|
-
|
63
59
|
def _deprecated_core_config() -> Any: ...
|
64
60
|
|
65
61
|
_DEPRECATED_Config: Incomplete
|
@@ -365,12 +361,13 @@ class Service:
|
|
365
361
|
|
366
362
|
class ServiceCall:
|
367
363
|
__slots__: Incomplete
|
364
|
+
hass: Incomplete
|
368
365
|
domain: Incomplete
|
369
366
|
service: Incomplete
|
370
367
|
data: Incomplete
|
371
368
|
context: Incomplete
|
372
369
|
return_response: Incomplete
|
373
|
-
def __init__(self, domain: str, service: str, data: dict[str, Any] | None = None, context: Context | None = None, return_response: bool = False) -> None: ...
|
370
|
+
def __init__(self, hass: HomeAssistant, domain: str, service: str, data: dict[str, Any] | None = None, context: Context | None = None, return_response: bool = False) -> None: ...
|
374
371
|
def __repr__(self) -> str: ...
|
375
372
|
|
376
373
|
class ServiceRegistry:
|
@@ -11,7 +11,7 @@ from .helpers.typing import UNDEFINED as UNDEFINED, UndefinedType as UndefinedTy
|
|
11
11
|
from .util import location as location
|
12
12
|
from .util.hass_dict import HassKey as HassKey
|
13
13
|
from .util.package import is_docker_env as is_docker_env
|
14
|
-
from .util.unit_system import METRIC_SYSTEM as METRIC_SYSTEM, UnitSystem as UnitSystem, _CONF_UNIT_SYSTEM_IMPERIAL as _CONF_UNIT_SYSTEM_IMPERIAL,
|
14
|
+
from .util.unit_system import METRIC_SYSTEM as METRIC_SYSTEM, UnitSystem as UnitSystem, _CONF_UNIT_SYSTEM_IMPERIAL as _CONF_UNIT_SYSTEM_IMPERIAL, _CONF_UNIT_SYSTEM_METRIC as _CONF_UNIT_SYSTEM_METRIC, _CONF_UNIT_SYSTEM_US_CUSTOMARY as _CONF_UNIT_SYSTEM_US_CUSTOMARY, get_unit_system as get_unit_system
|
15
15
|
from _typeshed import Incomplete
|
16
16
|
from collections.abc import Sequence
|
17
17
|
from typing import Any, Final
|
@@ -40,6 +40,7 @@ _PACKAGE_DEFINITION_SCHEMA: Incomplete
|
|
40
40
|
_CUSTOMIZE_DICT_SCHEMA: Incomplete
|
41
41
|
_CUSTOMIZE_CONFIG_SCHEMA: Incomplete
|
42
42
|
|
43
|
+
def _raise_issue_if_imperial_unit_system(hass: HomeAssistant, config: dict[str, Any]) -> dict[str, Any]: ...
|
43
44
|
def _raise_issue_if_historic_currency(hass: HomeAssistant, currency: str) -> None: ...
|
44
45
|
def _raise_issue_if_no_country(hass: HomeAssistant, country: str | None) -> None: ...
|
45
46
|
def _validate_currency(data: Any) -> Any: ...
|
@@ -3,7 +3,6 @@ import asyncio
|
|
3
3
|
import voluptuous as vol
|
4
4
|
from .core import HomeAssistant as HomeAssistant, callback as callback
|
5
5
|
from .exceptions import HomeAssistantError as HomeAssistantError
|
6
|
-
from .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
|
7
6
|
from .helpers.frame import ReportBehavior as ReportBehavior, report_usage as report_usage
|
8
7
|
from .loader import async_suggest_report_issue as async_suggest_report_issue
|
9
8
|
from _typeshed import Incomplete
|
@@ -25,14 +24,6 @@ class FlowResultType(StrEnum):
|
|
25
24
|
SHOW_PROGRESS_DONE = 'progress_done'
|
26
25
|
MENU = 'menu'
|
27
26
|
|
28
|
-
_DEPRECATED_RESULT_TYPE_FORM: Incomplete
|
29
|
-
_DEPRECATED_RESULT_TYPE_CREATE_ENTRY: Incomplete
|
30
|
-
_DEPRECATED_RESULT_TYPE_ABORT: Incomplete
|
31
|
-
_DEPRECATED_RESULT_TYPE_EXTERNAL_STEP: Incomplete
|
32
|
-
_DEPRECATED_RESULT_TYPE_EXTERNAL_STEP_DONE: Incomplete
|
33
|
-
_DEPRECATED_RESULT_TYPE_SHOW_PROGRESS: Incomplete
|
34
|
-
_DEPRECATED_RESULT_TYPE_SHOW_PROGRESS_DONE: Incomplete
|
35
|
-
_DEPRECATED_RESULT_TYPE_MENU: Incomplete
|
36
27
|
EVENT_DATA_ENTRY_FLOW_PROGRESSED: str
|
37
28
|
FLOW_NOT_COMPLETE_STEPS: Incomplete
|
38
29
|
STEP_ID_OPTIONAL_STEPS: Incomplete
|
@@ -159,7 +150,3 @@ class section:
|
|
159
150
|
options: Incomplete
|
160
151
|
def __init__(self, schema: vol.Schema, options: SectionConfig | None = None) -> None: ...
|
161
152
|
def __call__(self, value: Any) -> Any: ...
|
162
|
-
|
163
|
-
__getattr__: Incomplete
|
164
|
-
__dir__: Incomplete
|
165
|
-
__all__: Incomplete
|
@@ -84,6 +84,12 @@ class ServiceNotFound(ServiceValidationError):
|
|
84
84
|
generate_message: bool
|
85
85
|
def __init__(self, domain: str, service: str) -> None: ...
|
86
86
|
|
87
|
+
class ServiceNotSupported(ServiceValidationError):
|
88
|
+
domain: Incomplete
|
89
|
+
service: Incomplete
|
90
|
+
generate_message: bool
|
91
|
+
def __init__(self, domain: str, service: str, entity_id: str) -> None: ...
|
92
|
+
|
87
93
|
class MaxLengthExceeded(HomeAssistantError):
|
88
94
|
value: Incomplete
|
89
95
|
property_name: Incomplete
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from . import entity_registry as entity_registry, storage as storage, translation as translation
|
2
2
|
from .debounce import Debouncer as Debouncer
|
3
|
-
from .
|
3
|
+
from .frame import ReportBehavior as ReportBehavior, report_usage as report_usage
|
4
4
|
from .json import JSON_DUMP as JSON_DUMP, find_paths_unserializable_data as find_paths_unserializable_data, json_bytes as json_bytes, json_fragment as json_fragment
|
5
5
|
from .registry import BaseRegistry as BaseRegistry, BaseRegistryItems as BaseRegistryItems, RegistryIndexType as RegistryIndexType
|
6
6
|
from .singleton import singleton as singleton
|
@@ -41,10 +41,6 @@ class DeviceEntryDisabler(StrEnum):
|
|
41
41
|
INTEGRATION = 'integration'
|
42
42
|
USER = 'user'
|
43
43
|
|
44
|
-
_DEPRECATED_DISABLED_CONFIG_ENTRY: Incomplete
|
45
|
-
_DEPRECATED_DISABLED_INTEGRATION: Incomplete
|
46
|
-
_DEPRECATED_DISABLED_USER: Incomplete
|
47
|
-
|
48
44
|
class DeviceInfo(TypedDict, total=False):
|
49
45
|
configuration_url: str | URL | None
|
50
46
|
connections: set[tuple[str, str]]
|
@@ -213,7 +209,3 @@ def async_config_entry_disabled_by_changed(registry: DeviceRegistry, config_entr
|
|
213
209
|
def async_cleanup(hass: HomeAssistant, dev_reg: DeviceRegistry, ent_reg: entity_registry.EntityRegistry) -> None: ...
|
214
210
|
def async_setup_cleanup(hass: HomeAssistant, dev_reg: DeviceRegistry) -> None: ...
|
215
211
|
def _normalize_connections(connections: set[tuple[str, str]]) -> set[tuple[str, str]]: ...
|
216
|
-
|
217
|
-
__getattr__: Incomplete
|
218
|
-
__dir__: Incomplete
|
219
|
-
__all__: Incomplete
|
@@ -11,7 +11,7 @@ from _typeshed import Incomplete
|
|
11
11
|
from abc import ABCMeta
|
12
12
|
from collections import deque
|
13
13
|
from collections.abc import Callable as Callable, Coroutine, Iterable, Mapping
|
14
|
-
from enum import Enum
|
14
|
+
from enum import Enum
|
15
15
|
from homeassistant.const import ATTR_ASSUMED_STATE as ATTR_ASSUMED_STATE, ATTR_ATTRIBUTION as ATTR_ATTRIBUTION, ATTR_DEVICE_CLASS as ATTR_DEVICE_CLASS, ATTR_ENTITY_PICTURE as ATTR_ENTITY_PICTURE, ATTR_FRIENDLY_NAME as ATTR_FRIENDLY_NAME, ATTR_ICON as ATTR_ICON, ATTR_SUPPORTED_FEATURES as ATTR_SUPPORTED_FEATURES, ATTR_UNIT_OF_MEASUREMENT as ATTR_UNIT_OF_MEASUREMENT, DEVICE_DEFAULT_NAME as DEVICE_DEFAULT_NAME, EntityCategory as EntityCategory, STATE_OFF as STATE_OFF, STATE_ON as STATE_ON, STATE_UNAVAILABLE as STATE_UNAVAILABLE, STATE_UNKNOWN as STATE_UNKNOWN
|
16
16
|
from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, Context as Context, Event as Event, HassJobType as HassJobType, HomeAssistant as HomeAssistant, ReleaseChannel as ReleaseChannel, callback as callback, get_hassjob_callable_job_type as get_hassjob_callable_job_type, get_release_channel as get_release_channel
|
17
17
|
from homeassistant.core_config import DATA_CUSTOMIZE as DATA_CUSTOMIZE
|
@@ -212,7 +212,6 @@ class Entity(cached_properties=CACHED_PROPERTIES_WITH_ATTR_, metaclass=ABCCached
|
|
212
212
|
def __repr__(self) -> str: ...
|
213
213
|
async def async_request_call[_T](self, coro: Coroutine[Any, Any, _T]) -> _T: ...
|
214
214
|
def _suggest_report_issue(self) -> str: ...
|
215
|
-
def _report_deprecated_supported_features_values(self, replacement: IntFlag) -> None: ...
|
216
215
|
|
217
216
|
class ToggleEntityDescription(EntityDescription, frozen_or_thawed=True):
|
218
217
|
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=...) -> None: ...
|
@@ -34,7 +34,6 @@ _LOGGER: Incomplete
|
|
34
34
|
RANDOM_MICROSECOND_MIN: int
|
35
35
|
RANDOM_MICROSECOND_MAX: int
|
36
36
|
_TypedDictT = TypeVar('_TypedDictT', bound=Mapping[str, Any])
|
37
|
-
_StateEventDataT = TypeVar('_StateEventDataT', bound=EventStateEventData)
|
38
37
|
|
39
38
|
@dataclass(slots=True, frozen=True)
|
40
39
|
class _KeyedEventTracker(Generic[_TypedDictT]):
|
@@ -77,9 +76,9 @@ def async_track_state_change(hass: HomeAssistant, entity_ids: str | Iterable[str
|
|
77
76
|
track_state_change: Incomplete
|
78
77
|
|
79
78
|
def async_track_state_change_event(hass: HomeAssistant, entity_ids: str | Iterable[str], action: Callable[[Event[EventStateChangedData]], Any], job_type: HassJobType | None = None) -> CALLBACK_TYPE: ...
|
80
|
-
def _async_dispatch_entity_id_event_soon(hass: HomeAssistant, callbacks: dict[str, list[HassJob[[Event[_StateEventDataT]], Any]]], event: Event[_StateEventDataT]) -> None: ...
|
81
|
-
def _async_dispatch_entity_id_event(hass: HomeAssistant, callbacks: dict[str, list[HassJob[[Event[_StateEventDataT]], Any]]], event: Event[_StateEventDataT]) -> None: ...
|
82
|
-
def _async_state_filter(hass: HomeAssistant, callbacks: dict[str, list[HassJob[[Event[_StateEventDataT]], Any]]], event_data: _StateEventDataT) -> bool: ...
|
79
|
+
def _async_dispatch_entity_id_event_soon[_StateEventDataT: EventStateEventData](hass: HomeAssistant, callbacks: dict[str, list[HassJob[[Event[_StateEventDataT]], Any]]], event: Event[_StateEventDataT]) -> None: ...
|
80
|
+
def _async_dispatch_entity_id_event[_StateEventDataT: EventStateEventData](hass: HomeAssistant, callbacks: dict[str, list[HassJob[[Event[_StateEventDataT]], Any]]], event: Event[_StateEventDataT]) -> None: ...
|
81
|
+
def _async_state_filter[_StateEventDataT: EventStateEventData](hass: HomeAssistant, callbacks: dict[str, list[HassJob[[Event[_StateEventDataT]], Any]]], event_data: _StateEventDataT) -> bool: ...
|
83
82
|
|
84
83
|
_KEYED_TRACK_STATE_CHANGE: Incomplete
|
85
84
|
|
@@ -9,7 +9,7 @@ from collections.abc import Awaitable, Callable as Callable, Coroutine, Iterable
|
|
9
9
|
from homeassistant.auth.permissions.const import CAT_ENTITIES as CAT_ENTITIES, POLICY_CONTROL as POLICY_CONTROL
|
10
10
|
from homeassistant.const import ATTR_AREA_ID as ATTR_AREA_ID, ATTR_DEVICE_ID as ATTR_DEVICE_ID, ATTR_ENTITY_ID as ATTR_ENTITY_ID, ATTR_FLOOR_ID as ATTR_FLOOR_ID, ATTR_LABEL_ID as ATTR_LABEL_ID, CONF_ACTION as CONF_ACTION, CONF_ENTITY_ID as CONF_ENTITY_ID, CONF_SERVICE_DATA as CONF_SERVICE_DATA, CONF_SERVICE_DATA_TEMPLATE as CONF_SERVICE_DATA_TEMPLATE, CONF_SERVICE_TEMPLATE as CONF_SERVICE_TEMPLATE, CONF_TARGET as CONF_TARGET, ENTITY_MATCH_ALL as ENTITY_MATCH_ALL, ENTITY_MATCH_NONE as ENTITY_MATCH_NONE
|
11
11
|
from homeassistant.core import Context as Context, EntityServiceResponse as EntityServiceResponse, HassJob as HassJob, HassJobType as HassJobType, HomeAssistant as HomeAssistant, ServiceCall as ServiceCall, ServiceResponse as ServiceResponse, SupportsResponse as SupportsResponse, callback as callback
|
12
|
-
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError, TemplateError as TemplateError, Unauthorized as Unauthorized, UnknownUser as UnknownUser
|
12
|
+
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError, ServiceNotSupported as ServiceNotSupported, TemplateError as TemplateError, Unauthorized as Unauthorized, UnknownUser as UnknownUser
|
13
13
|
from homeassistant.loader import Integration as Integration, async_get_integrations as async_get_integrations, bind_hass as bind_hass
|
14
14
|
from homeassistant.util.async_ import create_eager_task as create_eager_task
|
15
15
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
@@ -1,7 +1,7 @@
|
|
1
1
|
from dataclasses import dataclass
|
2
2
|
from homeassistant.data_entry_flow import BaseServiceInfo as BaseServiceInfo
|
3
3
|
|
4
|
-
type ReceivePayloadType = str | bytes
|
4
|
+
type ReceivePayloadType = str | bytes | bytearray
|
5
5
|
@dataclass(slots=True)
|
6
6
|
class MqttServiceInfo(BaseServiceInfo):
|
7
7
|
topic: str
|
@@ -5,12 +5,12 @@ from _typeshed import Incomplete
|
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
6
|
from homeassistant.loader import bind_hass as bind_hass
|
7
7
|
from homeassistant.util.package import is_docker_env as is_docker_env, is_virtual_env as is_virtual_env
|
8
|
+
from homeassistant.util.system_info import is_official_image as is_official_image
|
8
9
|
from typing import Any
|
9
10
|
|
10
11
|
_LOGGER: Incomplete
|
11
12
|
_DATA_MAC_VER: str
|
12
13
|
|
13
|
-
def is_official_image() -> bool: ...
|
14
14
|
async def async_get_mac_ver(hass: HomeAssistant) -> str: ...
|
15
15
|
|
16
16
|
cached_get_user: Incomplete
|
@@ -4,7 +4,7 @@ from .deprecation import deprecated_function as deprecated_function
|
|
4
4
|
from .singleton import singleton as singleton
|
5
5
|
from .translation import async_translate_state as async_translate_state
|
6
6
|
from .typing import TemplateVarsType as TemplateVarsType
|
7
|
-
from _typeshed import Incomplete
|
7
|
+
from _typeshed import Incomplete, OptExcInfo as OptExcInfo
|
8
8
|
from collections.abc import Callable as Callable, Generator, Iterable
|
9
9
|
from contextlib import AbstractContextManager
|
10
10
|
from contextvars import ContextVar
|
homeassistant-stubs/util/dt.pyi
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
def is_official_image() -> bool: ...
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: homeassistant-stubs
|
3
|
-
Version:
|
3
|
+
Version: 2025.1.0
|
4
4
|
Summary: PEP 484 typing stubs for Home Assistant Core
|
5
5
|
Project-URL: Homepage, https://github.com/KapJI/homeassistant-stubs
|
6
6
|
Project-URL: Bug Tracker, https://github.com/KapJI/homeassistant-stubs/issues
|
@@ -18,7 +18,7 @@ Classifier: Topic :: Home Automation
|
|
18
18
|
Classifier: Topic :: Software Development
|
19
19
|
Classifier: Typing :: Typed
|
20
20
|
Requires-Python: <3.14,>=3.12
|
21
|
-
Requires-Dist: homeassistant==
|
21
|
+
Requires-Dist: homeassistant==2025.1.0
|
22
22
|
Description-Content-Type: text/markdown
|
23
23
|
|
24
24
|
[](https://github.com/KapJI/homeassistant-stubs/actions/workflows/ci.yaml)
|