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
@@ -19,4 +19,4 @@ class TPLinkSirenEntity(CoordinatedTPLinkEntity, SirenEntity):
|
|
19
19
|
async def async_turn_on(self, **kwargs: Any) -> None: ...
|
20
20
|
async def async_turn_off(self, **kwargs: Any) -> None: ...
|
21
21
|
_attr_is_on: Incomplete
|
22
|
-
def _async_update_attrs(self) ->
|
22
|
+
def _async_update_attrs(self) -> bool: ...
|
@@ -11,7 +11,7 @@ _LOGGER: Incomplete
|
|
11
11
|
|
12
12
|
@dataclass(frozen=True, kw_only=True)
|
13
13
|
class TPLinkSwitchEntityDescription(SwitchEntityDescription, TPLinkFeatureEntityDescription):
|
14
|
-
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=..., deprecated_info=...) -> None: ...
|
14
|
+
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=..., deprecated_info=..., available_fn=...) -> None: ...
|
15
15
|
|
16
16
|
SWITCH_DESCRIPTIONS: tuple[TPLinkSwitchEntityDescription, ...]
|
17
17
|
SWITCH_DESCRIPTIONS_MAP: Incomplete
|
@@ -23,4 +23,4 @@ class TPLinkSwitch(CoordinatedTPLinkFeatureEntity, SwitchEntity):
|
|
23
23
|
async def async_turn_on(self, **kwargs: Any) -> None: ...
|
24
24
|
async def async_turn_off(self, **kwargs: Any) -> None: ...
|
25
25
|
_attr_is_on: Incomplete
|
26
|
-
def _async_update_attrs(self) ->
|
26
|
+
def _async_update_attrs(self) -> bool: ...
|
@@ -5,7 +5,7 @@ from _typeshed import Incomplete
|
|
5
5
|
from collections.abc import Callable as Callable
|
6
6
|
from dataclasses import dataclass
|
7
7
|
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
|
8
|
-
from homeassistant.const import ATTR_BATTERY_LEVEL as ATTR_BATTERY_LEVEL, EntityCategory as EntityCategory, PERCENTAGE as PERCENTAGE, UnitOfTime as UnitOfTime
|
8
|
+
from homeassistant.const import ATTR_BATTERY_LEVEL as ATTR_BATTERY_LEVEL, EntityCategory as EntityCategory, PERCENTAGE as PERCENTAGE, UnitOfEnergy as UnitOfEnergy, UnitOfTime as UnitOfTime
|
9
9
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
10
10
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
11
11
|
from homeassistant.helpers.typing import StateType as StateType
|
@@ -22,7 +22,6 @@ class TradfriAirPurifierFan(TradfriBaseEntity, FanEntity):
|
|
22
22
|
_attr_supported_features: Incomplete
|
23
23
|
_attr_preset_modes: Incomplete
|
24
24
|
_attr_speed_count = ATTR_MAX_FAN_STEPS
|
25
|
-
_enable_turn_on_off_backwards_compatibility: bool
|
26
25
|
_device_control: Incomplete
|
27
26
|
_device_data: Incomplete
|
28
27
|
def __init__(self, device_coordinator: TradfriDeviceDataUpdateCoordinator, api: Callable[[Command | list[Command]], Any], gateway_id: str) -> None: ...
|
@@ -3,7 +3,7 @@ from .coordinator import TradfriDeviceDataUpdateCoordinator as TradfriDeviceData
|
|
3
3
|
from .entity import TradfriBaseEntity as TradfriBaseEntity
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from collections.abc import Callable as Callable
|
6
|
-
from homeassistant.components.light import ATTR_BRIGHTNESS as ATTR_BRIGHTNESS,
|
6
|
+
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_TRANSITION as ATTR_TRANSITION, ColorMode as ColorMode, LightEntity as LightEntity, LightEntityFeature as LightEntityFeature, filter_supported_color_modes as filter_supported_color_modes
|
7
7
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
8
8
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
9
9
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
@@ -21,8 +21,8 @@ class TradfriLight(TradfriBaseEntity, LightEntity):
|
|
21
21
|
_attr_unique_id: Incomplete
|
22
22
|
_hs_color: Incomplete
|
23
23
|
_attr_supported_color_modes: Incomplete
|
24
|
-
|
25
|
-
|
24
|
+
_attr_max_color_temp_kelvin: Incomplete
|
25
|
+
_attr_min_color_temp_kelvin: Incomplete
|
26
26
|
def __init__(self, device_coordinator: TradfriDeviceDataUpdateCoordinator, api: Callable[[Command | list[Command]], Any], gateway_id: str) -> None: ...
|
27
27
|
def _refresh(self) -> None: ...
|
28
28
|
@property
|
@@ -32,7 +32,7 @@ class TradfriLight(TradfriBaseEntity, LightEntity):
|
|
32
32
|
@property
|
33
33
|
def brightness(self) -> int | None: ...
|
34
34
|
@property
|
35
|
-
def
|
35
|
+
def color_temp_kelvin(self) -> int | None: ...
|
36
36
|
@property
|
37
37
|
def hs_color(self) -> tuple[float, float] | None: ...
|
38
38
|
async def async_turn_off(self, **kwargs: Any) -> None: ...
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import transmission_rpc
|
2
|
-
from .const import ATTR_DELETE_DATA as ATTR_DELETE_DATA, ATTR_TORRENT as ATTR_TORRENT, CONF_ENTRY_ID as CONF_ENTRY_ID, DEFAULT_DELETE_DATA as DEFAULT_DELETE_DATA, DEFAULT_PATH as DEFAULT_PATH, DEFAULT_SSL as DEFAULT_SSL, DOMAIN as DOMAIN, SERVICE_ADD_TORRENT as SERVICE_ADD_TORRENT, SERVICE_REMOVE_TORRENT as SERVICE_REMOVE_TORRENT, SERVICE_START_TORRENT as SERVICE_START_TORRENT, SERVICE_STOP_TORRENT as SERVICE_STOP_TORRENT
|
2
|
+
from .const import ATTR_DELETE_DATA as ATTR_DELETE_DATA, ATTR_DOWNLOAD_PATH as ATTR_DOWNLOAD_PATH, ATTR_TORRENT as ATTR_TORRENT, CONF_ENTRY_ID as CONF_ENTRY_ID, DEFAULT_DELETE_DATA as DEFAULT_DELETE_DATA, DEFAULT_PATH as DEFAULT_PATH, DEFAULT_SSL as DEFAULT_SSL, DOMAIN as DOMAIN, SERVICE_ADD_TORRENT as SERVICE_ADD_TORRENT, SERVICE_REMOVE_TORRENT as SERVICE_REMOVE_TORRENT, SERVICE_START_TORRENT as SERVICE_START_TORRENT, SERVICE_STOP_TORRENT as SERVICE_STOP_TORRENT
|
3
3
|
from .coordinator import TransmissionDataUpdateCoordinator as TransmissionDataUpdateCoordinator
|
4
4
|
from .errors import AuthenticationError as AuthenticationError, CannotConnect as CannotConnect, UnknownError as UnknownError
|
5
5
|
from _typeshed import Incomplete
|
@@ -1,19 +1,11 @@
|
|
1
|
-
from .
|
1
|
+
from .coordinator import TwenteMilieuConfigEntry as TwenteMilieuConfigEntry, TwenteMilieuDataUpdateCoordinator as TwenteMilieuDataUpdateCoordinator
|
2
2
|
from _typeshed import Incomplete
|
3
|
-
from datetime import date
|
4
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
3
|
from homeassistant.const import CONF_ID as CONF_ID, Platform as Platform
|
6
4
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
|
-
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
8
|
-
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator
|
9
|
-
from twentemilieu import WasteType
|
10
5
|
|
11
|
-
SCAN_INTERVAL: Incomplete
|
12
6
|
SERVICE_UPDATE: str
|
13
7
|
SERVICE_SCHEMA: Incomplete
|
14
8
|
PLATFORMS: Incomplete
|
15
|
-
type TwenteMilieuDataUpdateCoordinator = DataUpdateCoordinator[dict[WasteType, list[date]]]
|
16
|
-
type TwenteMilieuConfigEntry = ConfigEntry[TwenteMilieuDataUpdateCoordinator]
|
17
9
|
|
18
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
19
|
-
async def async_unload_entry(hass: HomeAssistant, entry:
|
10
|
+
async def async_setup_entry(hass: HomeAssistant, entry: TwenteMilieuConfigEntry) -> bool: ...
|
11
|
+
async def async_unload_entry(hass: HomeAssistant, entry: TwenteMilieuConfigEntry) -> bool: ...
|
@@ -1,5 +1,5 @@
|
|
1
|
-
from . import TwenteMilieuConfigEntry as TwenteMilieuConfigEntry
|
2
1
|
from .const import WASTE_TYPE_TO_DESCRIPTION as WASTE_TYPE_TO_DESCRIPTION
|
2
|
+
from .coordinator import TwenteMilieuConfigEntry as TwenteMilieuConfigEntry
|
3
3
|
from .entity import TwenteMilieuEntity as TwenteMilieuEntity
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from datetime import datetime
|
@@ -0,0 +1,14 @@
|
|
1
|
+
from .const import CONF_HOUSE_LETTER as CONF_HOUSE_LETTER, CONF_HOUSE_NUMBER as CONF_HOUSE_NUMBER, CONF_POST_CODE as CONF_POST_CODE, DOMAIN as DOMAIN, LOGGER as LOGGER, SCAN_INTERVAL as SCAN_INTERVAL
|
2
|
+
from _typeshed import Incomplete
|
3
|
+
from datetime import date
|
4
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
|
+
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
7
|
+
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator
|
8
|
+
from twentemilieu import WasteType
|
9
|
+
|
10
|
+
type TwenteMilieuConfigEntry = ConfigEntry[TwenteMilieuDataUpdateCoordinator]
|
11
|
+
class TwenteMilieuDataUpdateCoordinator(DataUpdateCoordinator[dict[WasteType, list[date]]]):
|
12
|
+
twentemilieu: Incomplete
|
13
|
+
def __init__(self, hass: HomeAssistant, entry: TwenteMilieuConfigEntry) -> None: ...
|
14
|
+
async def _async_update_data(self) -> dict[WasteType, list[date]]: ...
|
@@ -1,5 +1,5 @@
|
|
1
|
-
from
|
1
|
+
from .coordinator import TwenteMilieuConfigEntry as TwenteMilieuConfigEntry
|
2
2
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
3
3
|
from typing import Any
|
4
4
|
|
5
|
-
async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry:
|
5
|
+
async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry: TwenteMilieuConfigEntry) -> dict[str, Any]: ...
|
@@ -1,7 +1,6 @@
|
|
1
|
-
from . import TwenteMilieuDataUpdateCoordinator as TwenteMilieuDataUpdateCoordinator
|
2
1
|
from .const import DOMAIN as DOMAIN
|
2
|
+
from .coordinator import TwenteMilieuConfigEntry as TwenteMilieuConfigEntry, TwenteMilieuDataUpdateCoordinator as TwenteMilieuDataUpdateCoordinator
|
3
3
|
from _typeshed import Incomplete
|
4
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
4
|
from homeassistant.const import CONF_ID as CONF_ID
|
6
5
|
from homeassistant.helpers.device_registry import DeviceEntryType as DeviceEntryType, DeviceInfo as DeviceInfo
|
7
6
|
from homeassistant.helpers.entity import Entity as Entity
|
@@ -10,4 +9,4 @@ from homeassistant.helpers.update_coordinator import CoordinatorEntity as Coordi
|
|
10
9
|
class TwenteMilieuEntity(CoordinatorEntity[TwenteMilieuDataUpdateCoordinator], Entity):
|
11
10
|
_attr_has_entity_name: bool
|
12
11
|
_attr_device_info: Incomplete
|
13
|
-
def __init__(self, entry:
|
12
|
+
def __init__(self, entry: TwenteMilieuConfigEntry) -> None: ...
|
@@ -1,10 +1,10 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
2
|
+
from .coordinator import TwenteMilieuConfigEntry as TwenteMilieuConfigEntry
|
2
3
|
from .entity import TwenteMilieuEntity as TwenteMilieuEntity
|
3
4
|
from _typeshed import Incomplete
|
4
5
|
from dataclasses import dataclass
|
5
6
|
from datetime import date
|
6
7
|
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription
|
7
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
8
8
|
from homeassistant.const import CONF_ID as CONF_ID
|
9
9
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
10
10
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
@@ -17,11 +17,11 @@ class TwenteMilieuSensorDescription(SensorEntityDescription):
|
|
17
17
|
|
18
18
|
SENSORS: tuple[TwenteMilieuSensorDescription, ...]
|
19
19
|
|
20
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
20
|
+
async def async_setup_entry(hass: HomeAssistant, entry: TwenteMilieuConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
21
21
|
|
22
22
|
class TwenteMilieuSensor(TwenteMilieuEntity, SensorEntity):
|
23
23
|
entity_description: TwenteMilieuSensorDescription
|
24
24
|
_attr_unique_id: Incomplete
|
25
|
-
def __init__(self, entry:
|
25
|
+
def __init__(self, entry: TwenteMilieuConfigEntry, description: TwenteMilieuSensorDescription) -> None: ...
|
26
26
|
@property
|
27
27
|
def native_value(self) -> date | None: ...
|
@@ -35,7 +35,7 @@ def async_device_outlet_supported_fn(hub: UnifiHub, obj_id: str) -> bool: ...
|
|
35
35
|
def async_device_uplink_mac_supported_fn(hub: UnifiHub, obj_id: str) -> bool: ...
|
36
36
|
def device_system_stats_supported_fn(stat_index: int, hub: UnifiHub, obj_id: str) -> bool: ...
|
37
37
|
def async_client_is_connected_fn(hub: UnifiHub, obj_id: str) -> bool: ...
|
38
|
-
def async_device_state_value_fn(hub: UnifiHub, device: Device) -> str: ...
|
38
|
+
def async_device_state_value_fn(hub: UnifiHub, device: Device) -> str | None: ...
|
39
39
|
def async_device_wan_latency_supported_fn(wan: Literal['WAN', 'WAN2'], monitor_target: str, hub: UnifiHub, obj_id: str) -> bool: ...
|
40
40
|
def async_device_wan_latency_value_fn(wan: Literal['WAN', 'WAN2'], monitor_target: str, hub: UnifiHub, device: Device) -> int | None: ...
|
41
41
|
def _device_wan_latency_monitor(wan: Literal['WAN', 'WAN2'], monitor_target: str, device: Device) -> TypedDeviceUptimeStatsWanMonitor | None: ...
|
@@ -39,3 +39,9 @@ EVENT_TYPE_FINGERPRINT_IDENTIFIED: Final[str]
|
|
39
39
|
EVENT_TYPE_FINGERPRINT_NOT_IDENTIFIED: Final[str]
|
40
40
|
EVENT_TYPE_NFC_SCANNED: Final[str]
|
41
41
|
EVENT_TYPE_DOORBELL_RING: Final[str]
|
42
|
+
KEYRINGS_ULP_ID: Final[str]
|
43
|
+
KEYRINGS_USER_STATUS: Final[str]
|
44
|
+
KEYRINGS_USER_FULL_NAME: Final[str]
|
45
|
+
KEYRINGS_KEY_TYPE: Final[str]
|
46
|
+
KEYRINGS_KEY_TYPE_ID_FINGERPRINT: Final[str]
|
47
|
+
KEYRINGS_KEY_TYPE_ID_NFC: Final[str]
|
@@ -1,12 +1,14 @@
|
|
1
1
|
import dataclasses
|
2
|
-
from .
|
3
|
-
from .
|
2
|
+
from . import Bootstrap as Bootstrap
|
3
|
+
from .const import ATTR_EVENT_ID as ATTR_EVENT_ID, EVENT_TYPE_DOORBELL_RING as EVENT_TYPE_DOORBELL_RING, EVENT_TYPE_FINGERPRINT_IDENTIFIED as EVENT_TYPE_FINGERPRINT_IDENTIFIED, EVENT_TYPE_FINGERPRINT_NOT_IDENTIFIED as EVENT_TYPE_FINGERPRINT_NOT_IDENTIFIED, EVENT_TYPE_NFC_SCANNED as EVENT_TYPE_NFC_SCANNED, KEYRINGS_KEY_TYPE_ID_NFC as KEYRINGS_KEY_TYPE_ID_NFC, KEYRINGS_ULP_ID as KEYRINGS_ULP_ID, KEYRINGS_USER_FULL_NAME as KEYRINGS_USER_FULL_NAME, KEYRINGS_USER_STATUS as KEYRINGS_USER_STATUS
|
4
|
+
from .data import Camera as Camera, EventType as EventType, ProtectAdoptableDeviceModel as ProtectAdoptableDeviceModel, ProtectData as ProtectData, ProtectDeviceType as ProtectDeviceType, UFPConfigEntry as UFPConfigEntry
|
4
5
|
from .entity import EventEntityMixin as EventEntityMixin, ProtectDeviceEntity as ProtectDeviceEntity, ProtectEventMixin as ProtectEventMixin
|
5
6
|
from _typeshed import Incomplete
|
6
7
|
from homeassistant.components.event import EventDeviceClass as EventDeviceClass, EventEntity as EventEntity, EventEntityDescription as EventEntityDescription
|
7
8
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
8
9
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
9
|
-
|
10
|
+
|
11
|
+
def _add_ulp_user_infos(bootstrap: Bootstrap, event_data: dict[str, str], ulp_id: str) -> None: ...
|
10
12
|
|
11
13
|
@dataclasses.dataclass(frozen=True, kw_only=True)
|
12
14
|
class ProtectEventEntityDescription(ProtectEventMixin, EventEntityDescription):
|
@@ -1,11 +1,12 @@
|
|
1
|
-
from .const import ATTR_MESSAGE as ATTR_MESSAGE, DOMAIN as DOMAIN
|
1
|
+
from .const import ATTR_MESSAGE as ATTR_MESSAGE, DOMAIN as DOMAIN, KEYRINGS_KEY_TYPE as KEYRINGS_KEY_TYPE, KEYRINGS_KEY_TYPE_ID_FINGERPRINT as KEYRINGS_KEY_TYPE_ID_FINGERPRINT, KEYRINGS_KEY_TYPE_ID_NFC as KEYRINGS_KEY_TYPE_ID_NFC, KEYRINGS_ULP_ID as KEYRINGS_ULP_ID, KEYRINGS_USER_FULL_NAME as KEYRINGS_USER_FULL_NAME, KEYRINGS_USER_STATUS as KEYRINGS_USER_STATUS
|
2
2
|
from .data import async_ufp_instance_for_config_entry_ids as async_ufp_instance_for_config_entry_ids
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from homeassistant.components.binary_sensor import BinarySensorDeviceClass as BinarySensorDeviceClass
|
5
5
|
from homeassistant.const import ATTR_DEVICE_ID as ATTR_DEVICE_ID, ATTR_NAME as ATTR_NAME, Platform as Platform
|
6
|
-
from homeassistant.core import HomeAssistant as HomeAssistant, ServiceCall as ServiceCall, callback as callback
|
6
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, ServiceCall as ServiceCall, ServiceResponse as ServiceResponse, SupportsResponse as SupportsResponse, callback as callback
|
7
7
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError, ServiceValidationError as ServiceValidationError
|
8
8
|
from homeassistant.helpers.service import async_extract_referenced_entity_ids as async_extract_referenced_entity_ids
|
9
|
+
from homeassistant.util.json import JsonValueType as JsonValueType
|
9
10
|
from homeassistant.util.read_only_dict import ReadOnlyDict as ReadOnlyDict
|
10
11
|
from typing import Any
|
11
12
|
from uiprotect.api import ProtectApiClient as ProtectApiClient
|
@@ -16,18 +17,24 @@ SERVICE_REMOVE_DOORBELL_TEXT: str
|
|
16
17
|
SERVICE_SET_PRIVACY_ZONE: str
|
17
18
|
SERVICE_REMOVE_PRIVACY_ZONE: str
|
18
19
|
SERVICE_SET_CHIME_PAIRED: str
|
20
|
+
SERVICE_GET_USER_KEYRING_INFO: str
|
19
21
|
ALL_GLOBAL_SERIVCES: Incomplete
|
20
22
|
DOORBELL_TEXT_SCHEMA: Incomplete
|
21
23
|
CHIME_PAIRED_SCHEMA: Incomplete
|
22
24
|
REMOVE_PRIVACY_ZONE_SCHEMA: Incomplete
|
25
|
+
GET_USER_KEYRING_INFO_SCHEMA: Incomplete
|
23
26
|
|
24
27
|
def _async_get_ufp_instance(hass: HomeAssistant, device_id: str) -> ProtectApiClient: ...
|
25
|
-
def _async_get_ufp_camera(
|
26
|
-
def _async_get_protect_from_call(
|
27
|
-
async def _async_service_call_nvr(
|
28
|
-
async def add_doorbell_text(
|
29
|
-
async def remove_doorbell_text(
|
30
|
-
async def remove_privacy_zone(
|
28
|
+
def _async_get_ufp_camera(call: ServiceCall) -> Camera: ...
|
29
|
+
def _async_get_protect_from_call(call: ServiceCall) -> set[ProtectApiClient]: ...
|
30
|
+
async def _async_service_call_nvr(call: ServiceCall, method: str, *args: Any, **kwargs: Any) -> None: ...
|
31
|
+
async def add_doorbell_text(call: ServiceCall) -> None: ...
|
32
|
+
async def remove_doorbell_text(call: ServiceCall) -> None: ...
|
33
|
+
async def remove_privacy_zone(call: ServiceCall) -> None: ...
|
31
34
|
def _async_unique_id_to_mac(unique_id: str) -> str: ...
|
32
|
-
async def set_chime_paired_doorbells(
|
35
|
+
async def set_chime_paired_doorbells(call: ServiceCall) -> None: ...
|
36
|
+
async def get_user_keyring_info(call: ServiceCall) -> ServiceResponse: ...
|
37
|
+
|
38
|
+
SERVICES: Incomplete
|
39
|
+
|
33
40
|
def async_setup_services(hass: HomeAssistant) -> None: ...
|
@@ -55,8 +55,6 @@ class UpdateEntity(RestoreEntity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_
|
|
55
55
|
def release_url(self) -> str | None: ...
|
56
56
|
def supported_features(self) -> UpdateEntityFeature: ...
|
57
57
|
def title(self) -> str | None: ...
|
58
|
-
@property
|
59
|
-
def supported_features_compat(self) -> UpdateEntityFeature: ...
|
60
58
|
def update_percentage(self) -> int | float | None: ...
|
61
59
|
async def async_skip(self) -> None: ...
|
62
60
|
async def async_clear_skipped(self) -> None: ...
|
@@ -1,12 +1,15 @@
|
|
1
|
-
|
1
|
+
import asyncio
|
2
|
+
from .const import DOMAIN as DOMAIN, VacuumActivity as VacuumActivity, _DEPRECATED_STATE_CLEANING as _DEPRECATED_STATE_CLEANING, _DEPRECATED_STATE_DOCKED as _DEPRECATED_STATE_DOCKED, _DEPRECATED_STATE_ERROR as _DEPRECATED_STATE_ERROR, _DEPRECATED_STATE_RETURNING as _DEPRECATED_STATE_RETURNING
|
2
3
|
from _typeshed import Incomplete
|
3
4
|
from enum import IntFlag
|
4
5
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
|
-
from homeassistant.const import ATTR_BATTERY_LEVEL as ATTR_BATTERY_LEVEL, ATTR_COMMAND as ATTR_COMMAND, SERVICE_TOGGLE as SERVICE_TOGGLE, SERVICE_TURN_OFF as SERVICE_TURN_OFF, SERVICE_TURN_ON as SERVICE_TURN_ON,
|
6
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
|
+
from homeassistant.const import ATTR_BATTERY_LEVEL as ATTR_BATTERY_LEVEL, ATTR_COMMAND as ATTR_COMMAND, SERVICE_TOGGLE as SERVICE_TOGGLE, SERVICE_TURN_OFF as SERVICE_TURN_OFF, SERVICE_TURN_ON as SERVICE_TURN_ON, STATE_ON as STATE_ON
|
7
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
7
8
|
from homeassistant.helpers.deprecation import DeprecatedConstantEnum as DeprecatedConstantEnum, all_with_deprecated_constants as all_with_deprecated_constants, check_if_deprecated_constant as check_if_deprecated_constant, dir_with_deprecated_constants as dir_with_deprecated_constants
|
8
9
|
from homeassistant.helpers.entity import Entity as Entity, EntityDescription as EntityDescription
|
9
10
|
from homeassistant.helpers.entity_component import EntityComponent as EntityComponent
|
11
|
+
from homeassistant.helpers.entity_platform import EntityPlatform as EntityPlatform
|
12
|
+
from homeassistant.helpers.frame import ReportBehavior as ReportBehavior, report_usage as report_usage
|
10
13
|
from homeassistant.helpers.icon import icon_for_battery_level as icon_for_battery_level
|
11
14
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
12
15
|
from homeassistant.loader import bind_hass as bind_hass
|
@@ -34,8 +37,9 @@ SERVICE_START_PAUSE: str
|
|
34
37
|
SERVICE_START: str
|
35
38
|
SERVICE_PAUSE: str
|
36
39
|
SERVICE_STOP: str
|
37
|
-
STATES: Incomplete
|
38
40
|
DEFAULT_NAME: str
|
41
|
+
_DEPRECATED_STATE_IDLE: Incomplete
|
42
|
+
_DEPRECATED_STATE_PAUSED: Incomplete
|
39
43
|
|
40
44
|
class VacuumEntityFeature(IntFlag):
|
41
45
|
TURN_ON = 1
|
@@ -86,8 +90,13 @@ class StateVacuumEntity(Entity, cached_properties=STATE_VACUUM_CACHED_PROPERTIES
|
|
86
90
|
_attr_battery_level: int | None
|
87
91
|
_attr_fan_speed: str | None
|
88
92
|
_attr_fan_speed_list: list[str]
|
89
|
-
|
93
|
+
_attr_activity: VacuumActivity | None
|
90
94
|
_attr_supported_features: VacuumEntityFeature
|
95
|
+
__vacuum_legacy_state: bool
|
96
|
+
def __init_subclass__(cls, **kwargs: Any) -> None: ...
|
97
|
+
def __setattr__(self, name: str, value: Any) -> None: ...
|
98
|
+
def add_to_platform_start(self, hass: HomeAssistant, platform: EntityPlatform, parallel_updates: asyncio.Semaphore | None) -> None: ...
|
99
|
+
def _report_deprecated_activity_handling(self) -> None: ...
|
91
100
|
def battery_level(self) -> int | None: ...
|
92
101
|
@property
|
93
102
|
def battery_icon(self) -> str: ...
|
@@ -97,10 +106,10 @@ class StateVacuumEntity(Entity, cached_properties=STATE_VACUUM_CACHED_PROPERTIES
|
|
97
106
|
def fan_speed_list(self) -> list[str]: ...
|
98
107
|
@property
|
99
108
|
def state_attributes(self) -> dict[str, Any]: ...
|
109
|
+
@property
|
100
110
|
def state(self) -> str | None: ...
|
111
|
+
def activity(self) -> VacuumActivity | None: ...
|
101
112
|
def supported_features(self) -> VacuumEntityFeature: ...
|
102
|
-
@property
|
103
|
-
def supported_features_compat(self) -> VacuumEntityFeature: ...
|
104
113
|
def stop(self, **kwargs: Any) -> None: ...
|
105
114
|
async def async_stop(self, **kwargs: Any) -> None: ...
|
106
115
|
def return_to_base(self, **kwargs: Any) -> None: ...
|
@@ -1,8 +1,21 @@
|
|
1
1
|
from _typeshed import Incomplete
|
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
|
2
4
|
|
3
5
|
DOMAIN: str
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
6
|
+
|
7
|
+
class VacuumActivity(StrEnum):
|
8
|
+
CLEANING = 'cleaning'
|
9
|
+
DOCKED = 'docked'
|
10
|
+
IDLE = 'idle'
|
11
|
+
PAUSED = 'paused'
|
12
|
+
RETURNING = 'returning'
|
13
|
+
ERROR = 'error'
|
14
|
+
|
15
|
+
_DEPRECATED_STATE_CLEANING: Incomplete
|
16
|
+
_DEPRECATED_STATE_DOCKED: Incomplete
|
17
|
+
_DEPRECATED_STATE_RETURNING: Incomplete
|
18
|
+
_DEPRECATED_STATE_ERROR: Incomplete
|
19
|
+
__getattr__: Incomplete
|
20
|
+
__dir__: Incomplete
|
21
|
+
__all__: Incomplete
|
@@ -1,4 +1,4 @@
|
|
1
|
-
from . import DOMAIN as DOMAIN,
|
1
|
+
from . import DOMAIN as DOMAIN, VacuumActivity as VacuumActivity
|
2
2
|
from _typeshed import Incomplete
|
3
3
|
from homeassistant.const import CONF_CONDITION as CONF_CONDITION, CONF_DEVICE_ID as CONF_DEVICE_ID, CONF_DOMAIN as CONF_DOMAIN, CONF_ENTITY_ID as CONF_ENTITY_ID, CONF_TYPE as CONF_TYPE
|
4
4
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import voluptuous as vol
|
2
|
-
from . import DOMAIN as DOMAIN,
|
2
|
+
from . import DOMAIN as DOMAIN, VacuumActivity as VacuumActivity
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from homeassistant.components.device_automation import DEVICE_TRIGGER_BASE_SCHEMA as DEVICE_TRIGGER_BASE_SCHEMA
|
5
5
|
from homeassistant.const import CONF_DEVICE_ID as CONF_DEVICE_ID, CONF_DOMAIN as CONF_DOMAIN, CONF_ENTITY_ID as CONF_ENTITY_ID, CONF_FOR as CONF_FOR, CONF_PLATFORM as CONF_PLATFORM, CONF_TYPE as CONF_TYPE
|
@@ -1,7 +1,7 @@
|
|
1
|
-
from . import ATTR_FAN_SPEED as ATTR_FAN_SPEED, DOMAIN as DOMAIN, SERVICE_PAUSE as SERVICE_PAUSE, SERVICE_RETURN_TO_BASE as SERVICE_RETURN_TO_BASE, SERVICE_SET_FAN_SPEED as SERVICE_SET_FAN_SPEED, SERVICE_START as SERVICE_START, SERVICE_STOP as SERVICE_STOP,
|
1
|
+
from . import ATTR_FAN_SPEED as ATTR_FAN_SPEED, DOMAIN as DOMAIN, SERVICE_PAUSE as SERVICE_PAUSE, SERVICE_RETURN_TO_BASE as SERVICE_RETURN_TO_BASE, SERVICE_SET_FAN_SPEED as SERVICE_SET_FAN_SPEED, SERVICE_START as SERVICE_START, SERVICE_STOP as SERVICE_STOP, VacuumActivity as VacuumActivity
|
2
2
|
from _typeshed import Incomplete
|
3
3
|
from collections.abc import Iterable
|
4
|
-
from homeassistant.const import ATTR_ENTITY_ID as ATTR_ENTITY_ID, SERVICE_TURN_OFF as SERVICE_TURN_OFF, SERVICE_TURN_ON as SERVICE_TURN_ON,
|
4
|
+
from homeassistant.const import ATTR_ENTITY_ID as ATTR_ENTITY_ID, SERVICE_TURN_OFF as SERVICE_TURN_OFF, SERVICE_TURN_ON as SERVICE_TURN_ON, STATE_OFF as STATE_OFF, STATE_ON as STATE_ON
|
5
5
|
from homeassistant.core import Context as Context, HomeAssistant as HomeAssistant, State as State
|
6
6
|
from typing import Any
|
7
7
|
|
@@ -24,7 +24,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_e
|
|
24
24
|
class ValloxFanEntity(ValloxEntity, FanEntity):
|
25
25
|
_attr_name: Incomplete
|
26
26
|
_attr_supported_features: Incomplete
|
27
|
-
_enable_turn_on_off_backwards_compatibility: bool
|
28
27
|
_client: Incomplete
|
29
28
|
_attr_unique_id: Incomplete
|
30
29
|
_attr_preset_modes: Incomplete
|
@@ -1,18 +1,31 @@
|
|
1
|
-
|
1
|
+
import asyncio
|
2
|
+
from .const import DOMAIN as DOMAIN
|
3
|
+
from .services import setup_services as setup_services
|
2
4
|
from _typeshed import Incomplete
|
5
|
+
from dataclasses import dataclass
|
3
6
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
4
|
-
from homeassistant.const import
|
5
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
|
-
from homeassistant.exceptions import PlatformNotReady as PlatformNotReady
|
7
|
+
from homeassistant.const import CONF_PORT as CONF_PORT, Platform as Platform
|
8
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
9
|
+
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady, PlatformNotReady as PlatformNotReady
|
7
10
|
from homeassistant.helpers.storage import STORAGE_DIR as STORAGE_DIR
|
11
|
+
from homeassistant.helpers.typing import ConfigType as ConfigType
|
8
12
|
from velbusaio.controller import Velbus
|
9
13
|
|
10
14
|
_LOGGER: Incomplete
|
11
15
|
PLATFORMS: Incomplete
|
16
|
+
CONFIG_SCHEMA: Incomplete
|
17
|
+
type VelbusConfigEntry = ConfigEntry[VelbusData]
|
12
18
|
|
13
|
-
|
19
|
+
@dataclass
|
20
|
+
class VelbusData:
|
21
|
+
controller: Velbus
|
22
|
+
scan_task: asyncio.Task
|
23
|
+
def __init__(self, controller, scan_task) -> None: ...
|
24
|
+
|
25
|
+
async def velbus_scan_task(controller: Velbus, hass: HomeAssistant, entry_id: str) -> None: ...
|
14
26
|
def _migrate_device_identifiers(hass: HomeAssistant, entry_id: str) -> None: ...
|
15
|
-
async def
|
16
|
-
async def
|
17
|
-
async def
|
18
|
-
async def
|
27
|
+
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
|
28
|
+
async def async_setup_entry(hass: HomeAssistant, entry: VelbusConfigEntry) -> bool: ...
|
29
|
+
async def async_unload_entry(hass: HomeAssistant, entry: VelbusConfigEntry) -> bool: ...
|
30
|
+
async def async_remove_entry(hass: HomeAssistant, entry: VelbusConfigEntry) -> None: ...
|
31
|
+
async def async_migrate_entry(hass: HomeAssistant, config_entry: VelbusConfigEntry) -> bool: ...
|
@@ -1,12 +1,13 @@
|
|
1
|
-
from .
|
1
|
+
from . import VelbusConfigEntry as VelbusConfigEntry
|
2
2
|
from .entity import VelbusEntity as VelbusEntity
|
3
3
|
from homeassistant.components.binary_sensor import BinarySensorEntity as BinarySensorEntity
|
4
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
4
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
5
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
7
6
|
from velbusaio.channels import Button as VelbusButton
|
8
7
|
|
9
|
-
|
8
|
+
PARALLEL_UPDATES: int
|
9
|
+
|
10
|
+
async def async_setup_entry(hass: HomeAssistant, entry: VelbusConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
10
11
|
|
11
12
|
class VelbusBinarySensor(VelbusEntity, BinarySensorEntity):
|
12
13
|
_channel: VelbusButton
|
@@ -1,14 +1,15 @@
|
|
1
|
-
from .
|
1
|
+
from . import VelbusConfigEntry as VelbusConfigEntry
|
2
2
|
from .entity import VelbusEntity as VelbusEntity, api_call as api_call
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from homeassistant.components.button import ButtonEntity as ButtonEntity
|
5
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
5
|
from homeassistant.const import EntityCategory as EntityCategory
|
7
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
8
7
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
9
8
|
from velbusaio.channels import Button as VelbusaioButton, ButtonCounter as VelbusaioButtonCounter
|
10
9
|
|
11
|
-
|
10
|
+
PARALLEL_UPDATES: int
|
11
|
+
|
12
|
+
async def async_setup_entry(hass: HomeAssistant, entry: VelbusConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
12
13
|
|
13
14
|
class VelbusButton(VelbusEntity, ButtonEntity):
|
14
15
|
_channel: VelbusaioButton | VelbusaioButtonCounter
|
@@ -1,8 +1,8 @@
|
|
1
|
+
from . import VelbusConfigEntry as VelbusConfigEntry
|
1
2
|
from .const import DOMAIN as DOMAIN, PRESET_MODES as PRESET_MODES
|
2
3
|
from .entity import VelbusEntity as VelbusEntity, api_call as api_call
|
3
4
|
from _typeshed import Incomplete
|
4
5
|
from homeassistant.components.climate import ClimateEntity as ClimateEntity, ClimateEntityFeature as ClimateEntityFeature, HVACMode as HVACMode
|
5
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
6
|
from homeassistant.const import ATTR_TEMPERATURE as ATTR_TEMPERATURE, UnitOfTemperature as UnitOfTemperature
|
7
7
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
8
8
|
from homeassistant.exceptions import ServiceValidationError as ServiceValidationError
|
@@ -10,7 +10,9 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEnti
|
|
10
10
|
from typing import Any
|
11
11
|
from velbusaio.channels import Temperature as VelbusTemp
|
12
12
|
|
13
|
-
|
13
|
+
PARALLEL_UPDATES: int
|
14
|
+
|
15
|
+
async def async_setup_entry(hass: HomeAssistant, entry: VelbusConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
14
16
|
|
15
17
|
class VelbusClimate(VelbusEntity, ClimateEntity):
|
16
18
|
_channel: VelbusTemp
|
@@ -18,7 +20,6 @@ class VelbusClimate(VelbusEntity, ClimateEntity):
|
|
18
20
|
_attr_temperature_unit: Incomplete
|
19
21
|
_attr_hvac_modes: Incomplete
|
20
22
|
_attr_preset_modes: Incomplete
|
21
|
-
_enable_turn_on_off_backwards_compatibility: bool
|
22
23
|
@property
|
23
24
|
def target_temperature(self) -> float | None: ...
|
24
25
|
@property
|
@@ -1,14 +1,15 @@
|
|
1
|
-
from .
|
1
|
+
from . import VelbusConfigEntry as VelbusConfigEntry
|
2
2
|
from .entity import VelbusEntity as VelbusEntity, api_call as api_call
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from homeassistant.components.cover import ATTR_POSITION as ATTR_POSITION, CoverEntity as CoverEntity, CoverEntityFeature as CoverEntityFeature
|
5
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
6
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
8
7
|
from typing import Any
|
9
8
|
from velbusaio.channels import Blind as VelbusBlind
|
10
9
|
|
11
|
-
|
10
|
+
PARALLEL_UPDATES: int
|
11
|
+
|
12
|
+
async def async_setup_entry(hass: HomeAssistant, entry: VelbusConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
12
13
|
|
13
14
|
class VelbusCover(VelbusEntity, CoverEntity):
|
14
15
|
_channel: VelbusBlind
|
@@ -1,12 +1,11 @@
|
|
1
|
-
from .
|
2
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
1
|
+
from . import VelbusConfigEntry as VelbusConfigEntry
|
3
2
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
4
3
|
from homeassistant.helpers.device_registry import DeviceEntry as DeviceEntry
|
5
4
|
from typing import Any
|
6
5
|
from velbusaio.channels import Channel as VelbusChannel
|
7
6
|
from velbusaio.module import Module as VelbusModule
|
8
7
|
|
9
|
-
async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry:
|
10
|
-
async def async_get_device_diagnostics(hass: HomeAssistant, entry:
|
8
|
+
async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry: VelbusConfigEntry) -> dict[str, Any]: ...
|
9
|
+
async def async_get_device_diagnostics(hass: HomeAssistant, entry: VelbusConfigEntry, device: DeviceEntry) -> dict[str, Any]: ...
|
11
10
|
def _build_module_diagnostics_info(module: VelbusModule) -> dict[str, Any]: ...
|
12
11
|
def _build_channels_diagnostics_info(channels: dict[str, VelbusChannel]) -> dict[str, Any]: ...
|
@@ -1,8 +1,7 @@
|
|
1
|
-
from .
|
1
|
+
from . import VelbusConfigEntry as VelbusConfigEntry
|
2
2
|
from .entity import VelbusEntity as VelbusEntity, api_call as api_call
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from homeassistant.components.light import ATTR_BRIGHTNESS as ATTR_BRIGHTNESS, ATTR_FLASH as ATTR_FLASH, ATTR_TRANSITION as ATTR_TRANSITION, ColorMode as ColorMode, FLASH_LONG as FLASH_LONG, FLASH_SHORT as FLASH_SHORT, LightEntity as LightEntity, LightEntityFeature as LightEntityFeature
|
5
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
5
|
from homeassistant.const import EntityCategory as EntityCategory
|
7
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
8
7
|
from homeassistant.helpers.entity import Entity as Entity
|
@@ -10,7 +9,9 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEnti
|
|
10
9
|
from typing import Any
|
11
10
|
from velbusaio.channels import Button as VelbusButton, Channel as VelbusChannel, Dimmer as VelbusDimmer
|
12
11
|
|
13
|
-
|
12
|
+
PARALLEL_UPDATES: int
|
13
|
+
|
14
|
+
async def async_setup_entry(hass: HomeAssistant, entry: VelbusConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
14
15
|
|
15
16
|
class VelbusLight(VelbusEntity, LightEntity):
|
16
17
|
_channel: VelbusDimmer
|
@@ -1,14 +1,15 @@
|
|
1
|
-
from .
|
1
|
+
from . import VelbusConfigEntry as VelbusConfigEntry
|
2
2
|
from .entity import VelbusEntity as VelbusEntity, api_call as api_call
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from homeassistant.components.select import SelectEntity as SelectEntity
|
5
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
5
|
from homeassistant.const import EntityCategory as EntityCategory
|
7
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
8
7
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
9
8
|
from velbusaio.channels import SelectedProgram as SelectedProgram
|
10
9
|
|
11
|
-
|
10
|
+
PARALLEL_UPDATES: int
|
11
|
+
|
12
|
+
async def async_setup_entry(hass: HomeAssistant, entry: VelbusConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
12
13
|
|
13
14
|
class VelbusSelect(VelbusEntity, SelectEntity):
|
14
15
|
_channel: SelectedProgram
|