homeassistant-stubs 2024.5.4__py3-none-any.whl → 2024.6.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 -2
- homeassistant-stubs/auth/auth_store.pyi +3 -0
- homeassistant-stubs/auth/mfa_modules/__init__.pyi +2 -1
- homeassistant-stubs/auth/providers/__init__.pyi +2 -1
- homeassistant-stubs/block_async_io.pyi +2 -0
- homeassistant-stubs/bootstrap.pyi +6 -4
- homeassistant-stubs/components/abode/__init__.pyi +3 -37
- homeassistant-stubs/components/abode/alarm_control_panel.pyi +2 -1
- homeassistant-stubs/components/abode/binary_sensor.pyi +2 -1
- homeassistant-stubs/components/abode/camera.pyi +2 -1
- homeassistant-stubs/components/abode/cover.pyi +2 -1
- homeassistant-stubs/components/abode/entity.pyi +39 -0
- homeassistant-stubs/components/abode/light.pyi +2 -1
- homeassistant-stubs/components/abode/lock.pyi +2 -1
- homeassistant-stubs/components/abode/sensor.pyi +2 -1
- homeassistant-stubs/components/abode/switch.pyi +2 -1
- homeassistant-stubs/components/accuweather/__init__.pyi +3 -3
- homeassistant-stubs/components/accuweather/diagnostics.pyi +2 -4
- homeassistant-stubs/components/accuweather/sensor.pyi +3 -4
- homeassistant-stubs/components/accuweather/system_health.pyi +1 -0
- homeassistant-stubs/components/accuweather/weather.pyi +4 -6
- homeassistant-stubs/components/acmeda/__init__.pyi +3 -3
- homeassistant-stubs/components/acmeda/cover.pyi +3 -4
- homeassistant-stubs/components/acmeda/helpers.pyi +2 -1
- homeassistant-stubs/components/acmeda/sensor.pyi +3 -4
- homeassistant-stubs/components/adguard/__init__.pyi +4 -3
- homeassistant-stubs/components/adguard/entity.pyi +3 -3
- homeassistant-stubs/components/adguard/sensor.pyi +3 -4
- homeassistant-stubs/components/adguard/switch.pyi +3 -4
- homeassistant-stubs/components/aftership/__init__.pyi +3 -2
- homeassistant-stubs/components/aftership/sensor.pyi +2 -2
- homeassistant-stubs/components/air_quality/__init__.pyi +1 -1
- homeassistant-stubs/components/air_quality/const.pyi +3 -0
- homeassistant-stubs/components/air_quality/group.pyi +1 -0
- homeassistant-stubs/components/airgradient/__init__.pyi +11 -0
- homeassistant-stubs/components/airgradient/config_flow.pyi +18 -0
- homeassistant-stubs/components/airgradient/const.pyi +4 -0
- homeassistant-stubs/components/airgradient/coordinator.pyi +24 -0
- homeassistant-stubs/components/airgradient/entity.pyi +10 -0
- homeassistant-stubs/components/airgradient/select.pyi +37 -0
- homeassistant-stubs/components/airgradient/sensor.pyi +30 -0
- homeassistant-stubs/components/airly/__init__.pyi +3 -2
- homeassistant-stubs/components/airly/coordinator.pyi +1 -1
- homeassistant-stubs/components/airly/diagnostics.pyi +2 -4
- homeassistant-stubs/components/airly/sensor.pyi +2 -3
- homeassistant-stubs/components/airly/system_health.pyi +1 -0
- homeassistant-stubs/components/airnow/__init__.pyi +3 -2
- homeassistant-stubs/components/airnow/const.pyi +1 -0
- homeassistant-stubs/components/airnow/diagnostics.pyi +2 -4
- homeassistant-stubs/components/airnow/sensor.pyi +3 -4
- homeassistant-stubs/components/airq/__init__.pyi +5 -3
- homeassistant-stubs/components/airq/config_flow.pyi +8 -2
- homeassistant-stubs/components/airq/const.pyi +2 -0
- homeassistant-stubs/components/airq/coordinator.pyi +3 -1
- homeassistant-stubs/components/airq/sensor.pyi +3 -4
- homeassistant-stubs/components/airthings/__init__.pyi +3 -2
- homeassistant-stubs/components/airthings/sensor.pyi +2 -3
- homeassistant-stubs/components/airthings_ble/__init__.pyi +5 -3
- homeassistant-stubs/components/airthings_ble/sensor.pyi +6 -6
- homeassistant-stubs/components/airtouch5/__init__.pyi +4 -2
- homeassistant-stubs/components/airtouch5/climate.pyi +2 -2
- homeassistant-stubs/components/airvisual_pro/__init__.pyi +3 -2
- homeassistant-stubs/components/airvisual_pro/diagnostics.pyi +2 -4
- homeassistant-stubs/components/airvisual_pro/sensor.pyi +2 -4
- homeassistant-stubs/components/airzone_cloud/climate.pyi +6 -9
- homeassistant-stubs/components/aladdin_connect/__init__.pyi +10 -8
- homeassistant-stubs/components/aladdin_connect/api.pyi +12 -0
- homeassistant-stubs/components/aladdin_connect/application_credentials.pyi +5 -0
- homeassistant-stubs/components/aladdin_connect/config_flow.pyi +14 -19
- homeassistant-stubs/components/aladdin_connect/const.pyi +2 -10
- homeassistant-stubs/components/aladdin_connect/coordinator.pyi +15 -0
- homeassistant-stubs/components/aladdin_connect/cover.pyi +11 -28
- homeassistant-stubs/components/aladdin_connect/entity.pyi +12 -0
- homeassistant-stubs/components/aladdin_connect/sensor.pyi +9 -16
- homeassistant-stubs/components/alarm_control_panel/__init__.pyi +15 -1
- homeassistant-stubs/components/alarm_control_panel/group.pyi +2 -1
- homeassistant-stubs/components/ambient_station/__init__.pyi +3 -2
- homeassistant-stubs/components/ambient_station/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/ambient_station/diagnostics.pyi +3 -4
- homeassistant-stubs/components/ambient_station/sensor.pyi +3 -4
- homeassistant-stubs/components/analytics_insights/__init__.pyi +5 -4
- homeassistant-stubs/components/analytics_insights/coordinator.pyi +2 -2
- homeassistant-stubs/components/analytics_insights/sensor.pyi +2 -3
- homeassistant-stubs/components/androidtv/__init__.pyi +12 -4
- homeassistant-stubs/components/androidtv/const.pyi +0 -2
- homeassistant-stubs/components/androidtv/diagnostics.pyi +3 -3
- homeassistant-stubs/components/androidtv/entity.pyi +3 -9
- homeassistant-stubs/components/androidtv/media_player.pyi +4 -4
- homeassistant-stubs/components/androidtv_remote/__init__.pyi +4 -4
- homeassistant-stubs/components/androidtv_remote/config_flow.pyi +1 -0
- homeassistant-stubs/components/androidtv_remote/diagnostics.pyi +2 -4
- homeassistant-stubs/components/androidtv_remote/media_player.pyi +3 -4
- homeassistant-stubs/components/androidtv_remote/remote.pyi +2 -4
- homeassistant-stubs/components/anova/__init__.pyi +3 -2
- homeassistant-stubs/components/anova/config_flow.pyi +0 -1
- homeassistant-stubs/components/anova/coordinator.pyi +7 -6
- homeassistant-stubs/components/anova/entity.pyi +2 -0
- homeassistant-stubs/components/anova/models.pyi +3 -3
- homeassistant-stubs/components/anova/sensor.pyi +7 -9
- homeassistant-stubs/components/apple_tv/__init__.pyi +2 -1
- homeassistant-stubs/components/apple_tv/media_player.pyi +2 -4
- homeassistant-stubs/components/apple_tv/remote.pyi +2 -4
- homeassistant-stubs/components/aprs/device_tracker.pyi +1 -0
- homeassistant-stubs/components/apsystems/__init__.pyi +10 -0
- homeassistant-stubs/components/{poolsense → apsystems}/config_flow.pyi +4 -5
- homeassistant-stubs/components/apsystems/const.pyi +4 -0
- homeassistant-stubs/components/apsystems/coordinator.pyi +10 -0
- homeassistant-stubs/components/apsystems/sensor.pyi +31 -0
- homeassistant-stubs/components/aquostv/media_player.pyi +1 -3
- homeassistant-stubs/components/aranet/const.pyi +1 -0
- homeassistant-stubs/components/aranet/sensor.pyi +8 -6
- homeassistant-stubs/components/arcam_fmj/media_player.pyi +1 -3
- homeassistant-stubs/components/asuswrt/__init__.pyi +4 -4
- homeassistant-stubs/components/asuswrt/bridge.pyi +3 -4
- homeassistant-stubs/components/asuswrt/const.pyi +0 -1
- homeassistant-stubs/components/asuswrt/device_tracker.pyi +2 -3
- homeassistant-stubs/components/asuswrt/diagnostics.pyi +2 -4
- homeassistant-stubs/components/asuswrt/router.pyi +2 -1
- homeassistant-stubs/components/asuswrt/sensor.pyi +3 -3
- homeassistant-stubs/components/auth/__init__.pyi +2 -7
- homeassistant-stubs/components/axis/__init__.pyi +2 -1
- homeassistant-stubs/components/axis/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/axis/camera.pyi +2 -2
- homeassistant-stubs/components/axis/config_flow.pyi +2 -0
- homeassistant-stubs/components/axis/diagnostics.pyi +2 -3
- homeassistant-stubs/components/axis/hub/hub.pyi +3 -5
- homeassistant-stubs/components/axis/light.pyi +2 -2
- homeassistant-stubs/components/axis/switch.pyi +2 -2
- homeassistant-stubs/components/baf/__init__.pyi +6 -5
- homeassistant-stubs/components/baf/binary_sensor.pyi +2 -4
- homeassistant-stubs/components/baf/climate.pyi +2 -4
- homeassistant-stubs/components/baf/fan.pyi +3 -4
- homeassistant-stubs/components/baf/light.pyi +2 -4
- homeassistant-stubs/components/baf/models.pyi +0 -8
- homeassistant-stubs/components/baf/number.pyi +3 -4
- homeassistant-stubs/components/baf/sensor.pyi +2 -4
- homeassistant-stubs/components/baf/switch.pyi +2 -4
- homeassistant-stubs/components/bang_olufsen/entity.pyi +2 -1
- homeassistant-stubs/components/bang_olufsen/media_player.pyi +7 -7
- homeassistant-stubs/components/blue_current/sensor.pyi +7 -1
- homeassistant-stubs/components/blueprint/const.pyi +1 -0
- homeassistant-stubs/components/blueprint/schemas.pyi +4 -2
- homeassistant-stubs/components/bluetooth/active_update_coordinator.pyi +2 -3
- homeassistant-stubs/components/bluetooth/active_update_processor.pyi +4 -5
- homeassistant-stubs/components/bluetooth/api.pyi +1 -0
- homeassistant-stubs/components/bluetooth/config_flow.pyi +0 -1
- homeassistant-stubs/components/bluetooth/match.pyi +2 -3
- homeassistant-stubs/components/bluetooth/models.pyi +0 -2
- homeassistant-stubs/components/bluetooth/passive_update_coordinator.pyi +2 -0
- homeassistant-stubs/components/bluetooth/passive_update_processor.pyi +15 -17
- homeassistant-stubs/components/bluetooth/update_coordinator.pyi +0 -2
- homeassistant-stubs/components/bmw_connected_drive/coordinator.pyi +1 -0
- homeassistant-stubs/components/bmw_connected_drive/sensor.pyi +3 -10
- homeassistant-stubs/components/bond/__init__.pyi +4 -3
- homeassistant-stubs/components/bond/button.pyi +2 -4
- homeassistant-stubs/components/bond/cover.pyi +2 -4
- homeassistant-stubs/components/bond/diagnostics.pyi +2 -4
- homeassistant-stubs/components/bond/fan.pyi +3 -4
- homeassistant-stubs/components/bond/light.pyi +3 -4
- homeassistant-stubs/components/bond/switch.pyi +3 -4
- homeassistant-stubs/components/braviatv/__init__.pyi +4 -4
- homeassistant-stubs/components/braviatv/button.pyi +2 -3
- homeassistant-stubs/components/braviatv/coordinator.pyi +2 -4
- homeassistant-stubs/components/braviatv/diagnostics.pyi +2 -4
- homeassistant-stubs/components/braviatv/media_player.pyi +3 -3
- homeassistant-stubs/components/braviatv/remote.pyi +2 -3
- homeassistant-stubs/components/brother/__init__.pyi +5 -13
- homeassistant-stubs/components/brother/config_flow.pyi +1 -1
- homeassistant-stubs/components/brother/const.pyi +1 -2
- homeassistant-stubs/components/brother/coordinator.pyi +12 -0
- homeassistant-stubs/components/brother/diagnostics.pyi +2 -4
- homeassistant-stubs/components/brother/sensor.pyi +3 -4
- homeassistant-stubs/components/bthome/__init__.pyi +1 -1
- homeassistant-stubs/components/bthome/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/bthome/coordinator.pyi +4 -5
- homeassistant-stubs/components/bthome/logbook.pyi +0 -1
- homeassistant-stubs/components/bthome/sensor.pyi +2 -2
- homeassistant-stubs/components/canary/alarm_control_panel.pyi +1 -0
- homeassistant-stubs/components/cert_expiry/__init__.pyi +2 -2
- homeassistant-stubs/components/cert_expiry/sensor.pyi +3 -3
- homeassistant-stubs/components/climate/group.pyi +2 -2
- homeassistant-stubs/components/climate/intent.pyi +2 -0
- homeassistant-stubs/components/cloud/__init__.pyi +3 -6
- homeassistant-stubs/components/cloud/const.pyi +0 -1
- homeassistant-stubs/components/cloud/http_api.pyi +4 -7
- homeassistant-stubs/components/cloud/prefs.pyi +3 -5
- homeassistant-stubs/components/co2signal/__init__.pyi +3 -2
- homeassistant-stubs/components/co2signal/diagnostics.pyi +2 -4
- homeassistant-stubs/components/co2signal/sensor.pyi +2 -2
- homeassistant-stubs/components/config/area_registry.pyi +0 -2
- homeassistant-stubs/components/config/device_registry.pyi +1 -1
- homeassistant-stubs/components/config/floor_registry.pyi +1 -1
- homeassistant-stubs/components/config/label_registry.pyi +1 -1
- homeassistant-stubs/components/config/view.pyi +2 -4
- homeassistant-stubs/components/counter/__init__.pyi +1 -2
- homeassistant-stubs/components/cover/__init__.pyi +2 -4
- homeassistant-stubs/components/cover/const.pyi +1 -0
- homeassistant-stubs/components/cover/group.pyi +1 -0
- homeassistant-stubs/components/deconz/__init__.pyi +6 -1
- homeassistant-stubs/components/deconz/binary_sensor.pyi +3 -14
- homeassistant-stubs/components/deconz/deconz_device.pyi +2 -6
- homeassistant-stubs/components/deconz/device_trigger.pyi +2 -1
- homeassistant-stubs/components/deconz/light.pyi +1 -2
- homeassistant-stubs/components/deconz/number.pyi +4 -8
- homeassistant-stubs/components/deconz/sensor.pyi +3 -1
- homeassistant-stubs/components/deconz/services.pyi +0 -2
- homeassistant-stubs/components/demo/alarm_control_panel.pyi +3 -0
- homeassistant-stubs/components/demo/lock.pyi +5 -1
- homeassistant-stubs/components/demo/notify.pyi +3 -2
- homeassistant-stubs/components/device_automation/__init__.pyi +2 -2
- homeassistant-stubs/components/device_tracker/group.pyi +1 -0
- homeassistant-stubs/components/devolo_home_control/__init__.pyi +6 -3
- homeassistant-stubs/components/devolo_home_control/binary_sensor.pyi +2 -3
- homeassistant-stubs/components/devolo_home_control/climate.pyi +2 -3
- homeassistant-stubs/components/devolo_home_control/cover.pyi +2 -3
- homeassistant-stubs/components/devolo_home_control/diagnostics.pyi +2 -4
- homeassistant-stubs/components/devolo_home_control/light.pyi +2 -3
- homeassistant-stubs/components/devolo_home_control/sensor.pyi +2 -3
- homeassistant-stubs/components/devolo_home_control/siren.pyi +2 -3
- homeassistant-stubs/components/devolo_home_control/switch.pyi +2 -3
- homeassistant-stubs/components/devolo_home_network/__init__.pyi +11 -2
- homeassistant-stubs/components/devolo_home_network/binary_sensor.pyi +4 -5
- homeassistant-stubs/components/devolo_home_network/button.pyi +3 -3
- homeassistant-stubs/components/devolo_home_network/device_tracker.pyi +2 -2
- homeassistant-stubs/components/devolo_home_network/diagnostics.pyi +2 -4
- homeassistant-stubs/components/devolo_home_network/entity.pyi +4 -8
- homeassistant-stubs/components/devolo_home_network/image.pyi +4 -5
- homeassistant-stubs/components/devolo_home_network/sensor.pyi +5 -6
- homeassistant-stubs/components/devolo_home_network/switch.pyi +3 -3
- homeassistant-stubs/components/devolo_home_network/update.pyi +3 -3
- homeassistant-stubs/components/dhcp/__init__.pyi +1 -1
- homeassistant-stubs/components/diagnostics/util.pyi +1 -3
- homeassistant-stubs/components/discovergy/__init__.pyi +2 -2
- homeassistant-stubs/components/discovergy/diagnostics.pyi +2 -4
- homeassistant-stubs/components/discovergy/sensor.pyi +2 -2
- homeassistant-stubs/components/dlna_dmr/media_player.pyi +2 -5
- homeassistant-stubs/components/dlna_dms/dms.pyi +1 -4
- homeassistant-stubs/components/dnsip/sensor.pyi +2 -0
- homeassistant-stubs/components/duotecno/entity.pyi +2 -4
- homeassistant-stubs/components/ecovacs/__init__.pyi +3 -2
- homeassistant-stubs/components/ecovacs/binary_sensor.pyi +2 -4
- homeassistant-stubs/components/ecovacs/button.pyi +3 -4
- homeassistant-stubs/components/ecovacs/controller.pyi +4 -1
- homeassistant-stubs/components/ecovacs/diagnostics.pyi +3 -4
- homeassistant-stubs/components/ecovacs/event.pyi +2 -4
- homeassistant-stubs/components/ecovacs/image.pyi +2 -4
- homeassistant-stubs/components/ecovacs/lawn_mower.pyi +2 -4
- homeassistant-stubs/components/ecovacs/number.pyi +2 -4
- homeassistant-stubs/components/ecovacs/select.pyi +2 -4
- homeassistant-stubs/components/ecovacs/sensor.pyi +3 -4
- homeassistant-stubs/components/ecovacs/switch.pyi +2 -4
- homeassistant-stubs/components/ecovacs/vacuum.pyi +2 -3
- homeassistant-stubs/components/elgato/__init__.pyi +3 -3
- homeassistant-stubs/components/elgato/button.pyi +2 -3
- homeassistant-stubs/components/elgato/diagnostics.pyi +2 -4
- homeassistant-stubs/components/elgato/light.pyi +3 -3
- homeassistant-stubs/components/elgato/sensor.pyi +2 -3
- homeassistant-stubs/components/elgato/switch.pyi +2 -3
- homeassistant-stubs/components/elkm1/__init__.pyi +3 -2
- homeassistant-stubs/components/elkm1/alarm_control_panel.pyi +3 -4
- homeassistant-stubs/components/elkm1/binary_sensor.pyi +2 -5
- homeassistant-stubs/components/elkm1/climate.pyi +2 -5
- homeassistant-stubs/components/elkm1/light.pyi +2 -4
- homeassistant-stubs/components/elkm1/scene.pyi +2 -5
- homeassistant-stubs/components/elkm1/sensor.pyi +3 -5
- homeassistant-stubs/components/elkm1/switch.pyi +2 -5
- homeassistant-stubs/components/energy/validate.pyi +3 -3
- homeassistant-stubs/components/energy/websocket_api.pyi +3 -3
- homeassistant-stubs/components/enphase_envoy/config_flow.pyi +1 -0
- homeassistant-stubs/components/eq3btsmart/climate.pyi +1 -1
- homeassistant-stubs/components/esphome/config_flow.pyi +3 -0
- homeassistant-stubs/components/esphome/coordinator.pyi +16 -0
- homeassistant-stubs/components/esphome/dashboard.pyi +3 -14
- homeassistant-stubs/components/esphome/enum_mapper.pyi +3 -6
- homeassistant-stubs/components/esphome/manager.pyi +2 -1
- homeassistant-stubs/components/esphome/media_player.pyi +1 -1
- homeassistant-stubs/components/esphome/update.pyi +4 -3
- homeassistant-stubs/components/esphome/voice_assistant.pyi +5 -1
- homeassistant-stubs/components/evil_genius_labs/__init__.pyi +2 -13
- homeassistant-stubs/components/evil_genius_labs/coordinator.pyi +17 -0
- homeassistant-stubs/components/evil_genius_labs/diagnostics.pyi +1 -1
- homeassistant-stubs/components/evil_genius_labs/light.pyi +2 -1
- homeassistant-stubs/components/evil_genius_labs/util.pyi +2 -6
- homeassistant-stubs/components/evohome/__init__.pyi +1 -1
- homeassistant-stubs/components/feedreader/__init__.pyi +4 -46
- homeassistant-stubs/components/feedreader/const.pyi +1 -0
- homeassistant-stubs/components/feedreader/coordinator.pyi +39 -0
- homeassistant-stubs/components/filesize/__init__.pyi +3 -1
- homeassistant-stubs/components/filesize/coordinator.pyi +1 -1
- homeassistant-stubs/components/filesize/sensor.pyi +4 -4
- homeassistant-stubs/components/fitbit/api.pyi +1 -2
- homeassistant-stubs/components/fitbit/coordinator.pyi +1 -1
- homeassistant-stubs/components/forecast_solar/__init__.pyi +3 -2
- homeassistant-stubs/components/forecast_solar/diagnostics.pyi +2 -5
- homeassistant-stubs/components/forecast_solar/energy.pyi +1 -1
- homeassistant-stubs/components/forecast_solar/sensor.pyi +2 -2
- homeassistant-stubs/components/fritz/__init__.pyi +1 -1
- homeassistant-stubs/components/fritz/binary_sensor.pyi +4 -3
- homeassistant-stubs/components/fritz/button.pyi +4 -3
- homeassistant-stubs/components/fritz/const.pyi +0 -3
- homeassistant-stubs/components/fritz/{common.pyi → coordinator.pyi} +7 -53
- homeassistant-stubs/components/fritz/device_tracker.pyi +2 -1
- homeassistant-stubs/components/fritz/diagnostics.pyi +1 -1
- homeassistant-stubs/components/fritz/entity.pyi +50 -0
- homeassistant-stubs/components/fritz/image.pyi +2 -1
- homeassistant-stubs/components/fritz/sensor.pyi +4 -3
- homeassistant-stubs/components/fritz/services.pyi +2 -2
- homeassistant-stubs/components/fritz/switch.pyi +2 -1
- homeassistant-stubs/components/fritz/update.pyi +4 -3
- homeassistant-stubs/components/fritzbox/__init__.pyi +6 -8
- homeassistant-stubs/components/fritzbox/binary_sensor.pyi +2 -3
- homeassistant-stubs/components/fritzbox/button.pyi +2 -3
- homeassistant-stubs/components/fritzbox/climate.pyi +2 -3
- homeassistant-stubs/components/fritzbox/const.pyi +0 -2
- homeassistant-stubs/components/fritzbox/coordinator.pyi +10 -7
- homeassistant-stubs/components/fritzbox/cover.pyi +2 -3
- homeassistant-stubs/components/fritzbox/diagnostics.pyi +2 -4
- homeassistant-stubs/components/fritzbox/light.pyi +2 -3
- homeassistant-stubs/components/fritzbox/sensor.pyi +2 -3
- homeassistant-stubs/components/fritzbox/switch.pyi +2 -3
- homeassistant-stubs/components/fritzbox_callmonitor/__init__.pyi +5 -4
- homeassistant-stubs/components/fritzbox_callmonitor/const.pyi +0 -2
- homeassistant-stubs/components/fritzbox_callmonitor/sensor.pyi +3 -3
- homeassistant-stubs/components/fronius/__init__.pyi +4 -6
- homeassistant-stubs/components/fronius/coordinator.pyi +1 -3
- homeassistant-stubs/components/{aladdin_connect → fronius}/diagnostics.pyi +2 -4
- homeassistant-stubs/components/fronius/sensor.pyi +2 -3
- homeassistant-stubs/components/gios/__init__.pyi +10 -10
- homeassistant-stubs/components/gios/coordinator.pyi +13 -0
- homeassistant-stubs/components/gios/diagnostics.pyi +2 -4
- homeassistant-stubs/components/gios/sensor.pyi +3 -3
- homeassistant-stubs/components/google/calendar.pyi +2 -29
- homeassistant-stubs/components/google/coordinator.pyi +38 -0
- homeassistant-stubs/components/group/entity.pyi +5 -2
- homeassistant-stubs/components/group/lock.pyi +3 -1
- homeassistant-stubs/components/group/registry.pyi +12 -6
- homeassistant-stubs/components/group/sensor.pyi +2 -0
- homeassistant-stubs/components/guardian/coordinator.pyi +1 -1
- homeassistant-stubs/components/guardian/util.pyi +1 -3
- homeassistant-stubs/components/history_stats/sensor.pyi +0 -2
- homeassistant-stubs/components/holiday/calendar.pyi +11 -1
- homeassistant-stubs/components/homeassistant/__init__.pyi +1 -0
- homeassistant-stubs/components/homeassistant/triggers/numeric_state.pyi +0 -3
- homeassistant-stubs/components/homeassistant_alerts/__init__.pyi +3 -24
- homeassistant-stubs/components/homeassistant_alerts/const.pyi +6 -0
- homeassistant-stubs/components/homeassistant_alerts/coordinator.pyi +26 -0
- homeassistant-stubs/components/homeassistant_sky_connect/config_flow.pyi +1 -0
- homeassistant-stubs/components/homeassistant_sky_connect/util.pyi +1 -1
- homeassistant-stubs/components/homekit/const.pyi +2 -0
- homeassistant-stubs/components/homekit/type_sensors.pyi +3 -1
- homeassistant-stubs/components/homekit/util.pyi +2 -1
- homeassistant-stubs/components/homewizard/helpers.pyi +1 -4
- homeassistant-stubs/components/http/__init__.pyi +6 -7
- homeassistant-stubs/components/http/auth.pyi +2 -10
- homeassistant-stubs/components/http/ban.pyi +1 -3
- homeassistant-stubs/components/http/const.pyi +0 -6
- homeassistant-stubs/components/http/data_validator.pyi +2 -4
- homeassistant-stubs/components/http/decorators.pyi +2 -5
- homeassistant-stubs/components/http/web_runner.pyi +1 -1
- homeassistant-stubs/components/humidifier/intent.pyi +4 -0
- homeassistant-stubs/components/{poolsense → husqvarna_automower}/__init__.pyi +6 -4
- homeassistant-stubs/components/husqvarna_automower/api.pyi +11 -0
- homeassistant-stubs/components/husqvarna_automower/application_credentials.pyi +5 -0
- homeassistant-stubs/components/husqvarna_automower/binary_sensor.pyi +29 -0
- homeassistant-stubs/components/husqvarna_automower/config_flow.pyi +23 -0
- homeassistant-stubs/components/husqvarna_automower/const.pyi +5 -0
- homeassistant-stubs/components/husqvarna_automower/coordinator.pyi +20 -0
- homeassistant-stubs/components/husqvarna_automower/device_tracker.pyi +21 -0
- homeassistant-stubs/components/husqvarna_automower/diagnostics.pyi +17 -0
- homeassistant-stubs/components/husqvarna_automower/entity.pyi +20 -0
- homeassistant-stubs/components/husqvarna_automower/lawn_mower.pyi +28 -0
- homeassistant-stubs/components/husqvarna_automower/number.pyi +67 -0
- homeassistant-stubs/components/husqvarna_automower/select.pyi +25 -0
- homeassistant-stubs/components/husqvarna_automower/sensor.pyi +35 -0
- homeassistant-stubs/components/husqvarna_automower/switch.pyi +49 -0
- homeassistant-stubs/components/hydrawise/binary_sensor.pyi +14 -4
- homeassistant-stubs/components/hydrawise/coordinator.pyi +8 -5
- homeassistant-stubs/components/hydrawise/entity.pyi +10 -3
- homeassistant-stubs/components/hydrawise/sensor.pyi +24 -7
- homeassistant-stubs/components/hydrawise/switch.pyi +12 -2
- homeassistant-stubs/components/ibeacon/__init__.pyi +5 -3
- homeassistant-stubs/components/ibeacon/device_tracker.pyi +3 -3
- homeassistant-stubs/components/ibeacon/sensor.pyi +3 -3
- homeassistant-stubs/components/idasen_desk/__init__.pyi +2 -12
- homeassistant-stubs/components/idasen_desk/coordinator.pyi +19 -0
- homeassistant-stubs/components/imgw_pib/__init__.pyi +21 -0
- homeassistant-stubs/components/imgw_pib/binary_sensor.pyi +28 -0
- homeassistant-stubs/components/imgw_pib/config_flow.pyi +12 -0
- homeassistant-stubs/components/imgw_pib/const.pyi +6 -0
- homeassistant-stubs/components/imgw_pib/coordinator.pyi +15 -0
- homeassistant-stubs/components/imgw_pib/diagnostics.pyi +5 -0
- homeassistant-stubs/components/imgw_pib/entity.pyi +10 -0
- homeassistant-stubs/components/imgw_pib/sensor.pyi +30 -0
- homeassistant-stubs/components/integration/config_flow.pyi +11 -4
- homeassistant-stubs/components/integration/sensor.pyi +2 -1
- homeassistant-stubs/components/intent/__init__.pyi +8 -16
- homeassistant-stubs/components/intent/const.pyi +3 -0
- homeassistant-stubs/components/intent/timers.pyi +133 -0
- homeassistant-stubs/components/intent_script/__init__.pyi +4 -1
- homeassistant-stubs/components/ipp/__init__.pyi +3 -2
- homeassistant-stubs/components/ipp/diagnostics.pyi +2 -4
- homeassistant-stubs/components/ipp/sensor.pyi +3 -4
- homeassistant-stubs/components/jellyfin/config_flow.pyi +11 -2
- homeassistant-stubs/components/jellyfin/const.pyi +2 -0
- homeassistant-stubs/components/jellyfin/media_source.pyi +4 -2
- homeassistant-stubs/components/jewish_calendar/__init__.pyi +11 -10
- homeassistant-stubs/components/jewish_calendar/binary_sensor.pyi +7 -5
- homeassistant-stubs/components/jewish_calendar/config_flow.pyi +25 -0
- homeassistant-stubs/components/jewish_calendar/const.pyi +9 -0
- homeassistant-stubs/components/jewish_calendar/sensor.pyi +7 -7
- homeassistant-stubs/components/knx/climate.pyi +3 -0
- homeassistant-stubs/components/knx/const.pyi +0 -1
- homeassistant-stubs/components/knx/device_trigger.pyi +6 -8
- homeassistant-stubs/components/knx/expose.pyi +4 -1
- homeassistant-stubs/components/knx/notify.pyi +2 -3
- homeassistant-stubs/components/knx/schema.pyi +1 -1
- homeassistant-stubs/components/knx/telegrams.pyi +14 -7
- homeassistant-stubs/components/knx/trigger.pyi +27 -0
- homeassistant-stubs/components/lamarzocco/coordinator.pyi +1 -2
- homeassistant-stubs/components/lametric/helpers.pyi +1 -4
- homeassistant-stubs/components/lcn/helpers.pyi +1 -2
- homeassistant-stubs/components/light/intent.pyi +2 -7
- homeassistant-stubs/components/linear_garage_door/coordinator.pyi +15 -9
- homeassistant-stubs/components/linear_garage_door/cover.pyi +2 -14
- homeassistant-stubs/components/linear_garage_door/entity.pyi +17 -0
- homeassistant-stubs/components/linear_garage_door/light.pyi +25 -0
- homeassistant-stubs/components/local_todo/__init__.pyi +3 -2
- homeassistant-stubs/components/local_todo/todo.pyi +3 -3
- homeassistant-stubs/components/lock/__init__.pyi +8 -2
- homeassistant-stubs/components/lock/const.pyi +1 -0
- homeassistant-stubs/components/lock/device_condition.pyi +1 -1
- homeassistant-stubs/components/lock/device_trigger.pyi +1 -1
- homeassistant-stubs/components/lock/group.pyi +2 -1
- homeassistant-stubs/components/lock/reproduce_state.pyi +1 -1
- homeassistant-stubs/components/lookin/coordinator.pyi +0 -2
- homeassistant-stubs/components/mastodon/notify.pyi +8 -1
- homeassistant-stubs/components/matter/api.pyi +1 -2
- homeassistant-stubs/components/matter/climate.pyi +3 -2
- homeassistant-stubs/components/matter/entity.pyi +1 -9
- homeassistant-stubs/components/matter/fan.pyi +44 -0
- homeassistant-stubs/components/matter/models.pyi +1 -2
- homeassistant-stubs/components/matter/sensor.pyi +2 -0
- homeassistant-stubs/components/media_extractor/__init__.pyi +3 -0
- homeassistant-stubs/components/media_extractor/config_flow.pyi +8 -0
- homeassistant-stubs/components/media_player/__init__.pyi +3 -0
- homeassistant-stubs/components/media_player/group.pyi +1 -0
- homeassistant-stubs/components/media_player/intent.pyi +27 -1
- homeassistant-stubs/components/media_source/__init__.pyi +4 -0
- homeassistant-stubs/components/metoffice/weather.pyi +1 -1
- homeassistant-stubs/components/mikrotik/__init__.pyi +1 -1
- homeassistant-stubs/components/mikrotik/config_flow.pyi +1 -1
- homeassistant-stubs/components/mikrotik/device_tracker.pyi +1 -1
- homeassistant-stubs/components/monzo/__init__.pyi +13 -0
- homeassistant-stubs/components/monzo/api.pyi +9 -0
- homeassistant-stubs/components/monzo/application_credentials.pyi +7 -0
- homeassistant-stubs/components/monzo/config_flow.pyi +14 -0
- homeassistant-stubs/components/monzo/const.pyi +1 -0
- homeassistant-stubs/components/monzo/coordinator.pyi +20 -0
- homeassistant-stubs/components/monzo/entity.pyi +17 -0
- homeassistant-stubs/components/monzo/sensor.pyi +31 -0
- homeassistant-stubs/components/mopeka/sensor.pyi +2 -2
- homeassistant-stubs/components/motionmount/entity.pyi +3 -0
- homeassistant-stubs/components/mqtt/__init__.pyi +10 -10
- homeassistant-stubs/components/mqtt/alarm_control_panel.pyi +4 -4
- homeassistant-stubs/components/mqtt/binary_sensor.pyi +6 -4
- homeassistant-stubs/components/mqtt/button.pyi +4 -3
- homeassistant-stubs/components/mqtt/camera.pyi +4 -4
- homeassistant-stubs/components/mqtt/client.pyi +29 -21
- homeassistant-stubs/components/mqtt/climate.pyi +8 -7
- homeassistant-stubs/components/mqtt/config_flow.pyi +0 -1
- homeassistant-stubs/components/mqtt/const.pyi +14 -4
- homeassistant-stubs/components/mqtt/cover.pyi +7 -5
- homeassistant-stubs/components/mqtt/debug_info.pyi +4 -9
- homeassistant-stubs/components/mqtt/device_tracker.pyi +6 -5
- homeassistant-stubs/components/mqtt/device_trigger.pyi +12 -16
- homeassistant-stubs/components/mqtt/diagnostics.pyi +1 -1
- homeassistant-stubs/components/mqtt/discovery.pyi +14 -9
- homeassistant-stubs/components/mqtt/event.pyi +5 -6
- homeassistant-stubs/components/mqtt/fan.pyi +9 -5
- homeassistant-stubs/components/mqtt/humidifier.pyi +8 -5
- homeassistant-stubs/components/mqtt/image.pyi +6 -6
- homeassistant-stubs/components/mqtt/lawn_mower.pyi +4 -4
- homeassistant-stubs/components/mqtt/light/schema_basic.pyi +15 -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/lock.pyi +9 -4
- homeassistant-stubs/components/mqtt/mixins.pyi +35 -41
- homeassistant-stubs/components/mqtt/models.pyi +8 -6
- homeassistant-stubs/components/mqtt/notify.pyi +5 -4
- homeassistant-stubs/components/mqtt/number.pyi +4 -4
- homeassistant-stubs/components/mqtt/scene.pyi +4 -3
- homeassistant-stubs/components/mqtt/schemas.pyi +16 -0
- homeassistant-stubs/components/mqtt/select.pyi +4 -4
- homeassistant-stubs/components/mqtt/sensor.pyi +9 -7
- homeassistant-stubs/components/mqtt/siren.pyi +4 -4
- homeassistant-stubs/components/mqtt/subscription.pyi +17 -13
- homeassistant-stubs/components/mqtt/switch.pyi +6 -7
- homeassistant-stubs/components/mqtt/tag.pyi +7 -5
- homeassistant-stubs/components/mqtt/text.pyi +6 -5
- homeassistant-stubs/components/mqtt/trigger.pyi +1 -1
- homeassistant-stubs/components/mqtt/update.pyi +6 -5
- homeassistant-stubs/components/mqtt/util.pyi +5 -4
- homeassistant-stubs/components/mqtt/vacuum.pyi +4 -4
- homeassistant-stubs/components/mqtt/valve.pyi +5 -5
- homeassistant-stubs/components/mqtt/water_heater.pyi +4 -3
- homeassistant-stubs/components/mysensors/__init__.pyi +1 -1
- homeassistant-stubs/components/myuplink/application_credentials.pyi +2 -1
- homeassistant-stubs/components/myuplink/binary_sensor.pyi +18 -2
- homeassistant-stubs/components/myuplink/entity.pyi +5 -0
- homeassistant-stubs/components/nam/__init__.pyi +5 -16
- homeassistant-stubs/components/nam/button.pyi +2 -4
- homeassistant-stubs/components/nam/config_flow.pyi +2 -0
- homeassistant-stubs/components/nam/coordinator.pyi +15 -0
- homeassistant-stubs/components/nam/diagnostics.pyi +2 -4
- homeassistant-stubs/components/nam/sensor.pyi +2 -3
- homeassistant-stubs/components/nest/__init__.pyi +2 -2
- homeassistant-stubs/components/nest/climate.pyi +2 -2
- homeassistant-stubs/components/netatmo/sensor.pyi +1 -1
- homeassistant-stubs/components/network/util.pyi +1 -1
- homeassistant-stubs/components/nextdns/__init__.pyi +18 -3
- homeassistant-stubs/components/nextdns/binary_sensor.pyi +10 -15
- homeassistant-stubs/components/nextdns/button.pyi +6 -6
- homeassistant-stubs/components/nextdns/diagnostics.pyi +3 -3
- homeassistant-stubs/components/nextdns/sensor.pyi +6 -10
- homeassistant-stubs/components/nextdns/switch.pyi +11 -15
- homeassistant-stubs/components/notify/__init__.pyi +8 -2
- homeassistant-stubs/components/notify/repairs.pyi +7 -0
- homeassistant-stubs/components/nut/__init__.pyi +11 -2
- homeassistant-stubs/components/nut/const.pyi +0 -4
- homeassistant-stubs/components/nut/device_action.pyi +4 -3
- homeassistant-stubs/components/nut/diagnostics.pyi +3 -4
- homeassistant-stubs/components/nut/sensor.pyi +3 -4
- homeassistant-stubs/components/onewire/__init__.pyi +5 -4
- homeassistant-stubs/components/onewire/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/onewire/diagnostics.pyi +2 -4
- homeassistant-stubs/components/onewire/sensor.pyi +3 -3
- homeassistant-stubs/components/onewire/switch.pyi +3 -3
- homeassistant-stubs/components/oralb/sensor.pyi +2 -2
- homeassistant-stubs/components/otbr/util.pyi +1 -3
- homeassistant-stubs/components/p1_monitor/__init__.pyi +3 -19
- homeassistant-stubs/components/p1_monitor/coordinator.pyi +22 -0
- homeassistant-stubs/components/p1_monitor/diagnostics.pyi +1 -1
- homeassistant-stubs/components/p1_monitor/sensor.pyi +1 -1
- homeassistant-stubs/components/pi_hole/__init__.pyi +12 -4
- homeassistant-stubs/components/pi_hole/binary_sensor.pyi +3 -5
- homeassistant-stubs/components/pi_hole/const.pyi +0 -2
- homeassistant-stubs/components/pi_hole/diagnostics.pyi +2 -4
- homeassistant-stubs/components/pi_hole/sensor.pyi +3 -5
- homeassistant-stubs/components/pi_hole/switch.pyi +3 -4
- homeassistant-stubs/components/pi_hole/update.pyi +3 -5
- homeassistant-stubs/components/ping/__init__.pyi +6 -6
- homeassistant-stubs/components/ping/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/ping/device_tracker.pyi +2 -2
- homeassistant-stubs/components/ping/sensor.pyi +2 -3
- homeassistant-stubs/components/plugwise/__init__.pyi +4 -2
- homeassistant-stubs/components/plugwise/binary_sensor.pyi +3 -4
- homeassistant-stubs/components/plugwise/climate.pyi +3 -3
- homeassistant-stubs/components/plugwise/coordinator.pyi +5 -3
- homeassistant-stubs/components/plugwise/diagnostics.pyi +2 -4
- homeassistant-stubs/components/plugwise/number.pyi +4 -4
- homeassistant-stubs/components/plugwise/select.pyi +6 -5
- homeassistant-stubs/components/plugwise/sensor.pyi +3 -4
- homeassistant-stubs/components/plugwise/switch.pyi +3 -4
- homeassistant-stubs/components/plugwise/util.pyi +2 -6
- homeassistant-stubs/components/powerwall/sensor.pyi +10 -9
- homeassistant-stubs/components/prometheus/__init__.pyi +2 -3
- homeassistant-stubs/components/proximity/__init__.pyi +3 -3
- homeassistant-stubs/components/proximity/coordinator.pyi +2 -1
- homeassistant-stubs/components/proximity/diagnostics.pyi +2 -4
- homeassistant-stubs/components/proximity/sensor.pyi +2 -3
- homeassistant-stubs/components/prusalink/__init__.pyi +3 -31
- homeassistant-stubs/components/prusalink/button.pyi +3 -1
- homeassistant-stubs/components/prusalink/camera.pyi +3 -1
- homeassistant-stubs/components/prusalink/coordinator.pyi +34 -0
- homeassistant-stubs/components/prusalink/sensor.pyi +3 -1
- homeassistant-stubs/components/pure_energie/__init__.pyi +3 -16
- homeassistant-stubs/components/pure_energie/coordinator.pyi +19 -0
- homeassistant-stubs/components/pure_energie/diagnostics.pyi +1 -1
- homeassistant-stubs/components/pure_energie/sensor.pyi +1 -1
- homeassistant-stubs/components/rainmachine/__init__.pyi +1 -1
- homeassistant-stubs/components/rainmachine/coordinator.pyi +22 -0
- homeassistant-stubs/components/rainmachine/switch.pyi +8 -6
- homeassistant-stubs/components/rainmachine/util.pyi +1 -17
- homeassistant-stubs/components/recorder/core.pyi +5 -4
- homeassistant-stubs/components/recorder/executor.pyi +3 -2
- homeassistant-stubs/components/recorder/pool.pyi +4 -5
- homeassistant-stubs/components/recorder/purge.pyi +2 -1
- homeassistant-stubs/components/recorder/table_managers/__init__.pyi +2 -4
- homeassistant-stubs/components/recorder/table_managers/event_data.pyi +2 -1
- homeassistant-stubs/components/recorder/table_managers/event_types.pyi +2 -1
- homeassistant-stubs/components/recorder/table_managers/state_attributes.pyi +2 -1
- homeassistant-stubs/components/recorder/table_managers/states_meta.pyi +2 -1
- homeassistant-stubs/components/recorder/util.pyi +4 -12
- homeassistant-stubs/components/renault/__init__.pyi +11 -3
- homeassistant-stubs/components/renault/binary_sensor.pyi +2 -4
- homeassistant-stubs/components/renault/button.pyi +2 -4
- homeassistant-stubs/components/renault/device_tracker.pyi +2 -4
- homeassistant-stubs/components/renault/diagnostics.pyi +4 -5
- homeassistant-stubs/components/renault/renault_vehicle.pyi +2 -4
- homeassistant-stubs/components/renault/select.pyi +2 -4
- homeassistant-stubs/components/renault/sensor.pyi +2 -4
- homeassistant-stubs/components/renault/services.pyi +2 -2
- homeassistant-stubs/components/repairs/issue_handler.pyi +0 -1
- homeassistant-stubs/components/repairs/websocket_api.pyi +0 -1
- homeassistant-stubs/components/rfxtrx/__init__.pyi +1 -2
- homeassistant-stubs/components/ring/coordinator.pyi +0 -3
- homeassistant-stubs/components/ring/entity.pyi +1 -4
- homeassistant-stubs/components/roku/helpers.pyi +0 -3
- homeassistant-stubs/components/ruuvitag_ble/sensor.pyi +2 -2
- homeassistant-stubs/components/samsungtv/__init__.pyi +5 -3
- homeassistant-stubs/components/samsungtv/bridge.pyi +6 -4
- homeassistant-stubs/components/samsungtv/config_flow.pyi +1 -0
- homeassistant-stubs/components/samsungtv/coordinator.pyi +17 -0
- homeassistant-stubs/components/samsungtv/device_trigger.pyi +0 -1
- homeassistant-stubs/components/samsungtv/diagnostics.pyi +3 -4
- homeassistant-stubs/components/samsungtv/entity.pyi +17 -6
- homeassistant-stubs/components/samsungtv/helpers.pyi +2 -0
- homeassistant-stubs/components/samsungtv/media_player.pyi +10 -19
- homeassistant-stubs/components/samsungtv/remote.pyi +7 -5
- homeassistant-stubs/components/scrape/__init__.pyi +2 -1
- homeassistant-stubs/components/scrape/sensor.pyi +2 -2
- homeassistant-stubs/components/sensibo/__init__.pyi +3 -1
- homeassistant-stubs/components/sensibo/binary_sensor.pyi +2 -3
- homeassistant-stubs/components/sensibo/button.pyi +2 -3
- homeassistant-stubs/components/sensibo/climate.pyi +2 -2
- homeassistant-stubs/components/sensibo/coordinator.pyi +3 -2
- homeassistant-stubs/components/sensibo/diagnostics.pyi +2 -4
- homeassistant-stubs/components/sensibo/entity.pyi +1 -4
- homeassistant-stubs/components/sensibo/number.pyi +2 -3
- homeassistant-stubs/components/sensibo/select.pyi +2 -2
- homeassistant-stubs/components/sensibo/sensor.pyi +2 -3
- homeassistant-stubs/components/sensibo/switch.pyi +2 -2
- homeassistant-stubs/components/sensibo/update.pyi +2 -3
- homeassistant-stubs/components/sensirion_ble/sensor.pyi +2 -2
- homeassistant-stubs/components/sensor/__init__.pyi +1 -2
- homeassistant-stubs/components/sensor/group.pyi +1 -0
- homeassistant-stubs/components/sfr_box/binary_sensor.pyi +1 -4
- homeassistant-stubs/components/sfr_box/button.pyi +3 -6
- homeassistant-stubs/components/sfr_box/coordinator.pyi +4 -5
- homeassistant-stubs/components/sfr_box/sensor.pyi +1 -4
- homeassistant-stubs/components/shelly/__init__.pyi +7 -8
- homeassistant-stubs/components/shelly/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/shelly/button.pyi +4 -7
- homeassistant-stubs/components/shelly/climate.pyi +5 -6
- homeassistant-stubs/components/shelly/config_flow.pyi +2 -0
- homeassistant-stubs/components/shelly/const.pyi +1 -1
- homeassistant-stubs/components/shelly/coordinator.pyi +15 -19
- homeassistant-stubs/components/shelly/cover.pyi +4 -5
- homeassistant-stubs/components/shelly/diagnostics.pyi +2 -3
- homeassistant-stubs/components/shelly/entity.pyi +8 -9
- homeassistant-stubs/components/shelly/event.pyi +2 -3
- homeassistant-stubs/components/shelly/light.pyi +4 -5
- homeassistant-stubs/components/shelly/number.pyi +2 -3
- homeassistant-stubs/components/shelly/sensor.pyi +2 -3
- homeassistant-stubs/components/shelly/switch.pyi +22 -8
- homeassistant-stubs/components/shelly/update.pyi +2 -3
- homeassistant-stubs/components/shelly/utils.pyi +3 -4
- homeassistant-stubs/components/shelly/valve.pyi +3 -4
- homeassistant-stubs/components/shopping_list/intent.pyi +4 -0
- homeassistant-stubs/components/sleepiq/entity.pyi +1 -2
- homeassistant-stubs/components/smhi/weather.pyi +2 -2
- homeassistant-stubs/components/speedtestdotnet/__init__.pyi +2 -2
- homeassistant-stubs/components/speedtestdotnet/config_flow.pyi +4 -3
- homeassistant-stubs/components/speedtestdotnet/sensor.pyi +2 -2
- homeassistant-stubs/components/ssdp/__init__.pyi +2 -2
- homeassistant-stubs/components/sun/__init__.pyi +4 -4
- homeassistant-stubs/components/sun/entity.pyi +2 -0
- homeassistant-stubs/components/sun/sensor.pyi +2 -3
- homeassistant-stubs/components/surepetcare/__init__.pyi +4 -15
- homeassistant-stubs/components/surepetcare/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/surepetcare/coordinator.pyi +21 -0
- homeassistant-stubs/components/surepetcare/entity.pyi +1 -1
- homeassistant-stubs/components/surepetcare/lock.pyi +1 -1
- homeassistant-stubs/components/surepetcare/sensor.pyi +1 -1
- homeassistant-stubs/components/switchbee/entity.pyi +2 -4
- homeassistant-stubs/components/switchbee/switch.pyi +1 -4
- homeassistant-stubs/components/switchbot_cloud/__init__.pyi +2 -1
- homeassistant-stubs/components/switchbot_cloud/climate.pyi +1 -1
- homeassistant-stubs/components/switchbot_cloud/const.pyi +4 -1
- homeassistant-stubs/components/switchbot_cloud/coordinator.pyi +2 -2
- homeassistant-stubs/components/switchbot_cloud/sensor.pyi +25 -0
- homeassistant-stubs/components/switcher_kis/__init__.pyi +7 -26
- homeassistant-stubs/components/switcher_kis/button.pyi +8 -7
- homeassistant-stubs/components/switcher_kis/climate.pyi +3 -3
- homeassistant-stubs/components/switcher_kis/config_flow.pyi +3 -9
- homeassistant-stubs/components/switcher_kis/const.pyi +0 -5
- homeassistant-stubs/components/switcher_kis/coordinator.pyi +22 -0
- homeassistant-stubs/components/switcher_kis/cover.pyi +1 -2
- homeassistant-stubs/components/switcher_kis/diagnostics.pyi +2 -3
- homeassistant-stubs/components/switcher_kis/sensor.pyi +1 -1
- homeassistant-stubs/components/switcher_kis/switch.pyi +1 -1
- homeassistant-stubs/components/switcher_kis/utils.pyi +2 -6
- homeassistant-stubs/components/synology_dsm/common.pyi +1 -1
- homeassistant-stubs/components/synology_dsm/config_flow.pyi +1 -1
- homeassistant-stubs/components/synology_dsm/coordinator.pyi +3 -6
- homeassistant-stubs/components/synology_dsm/entity.pyi +0 -3
- homeassistant-stubs/components/systemmonitor/__init__.pyi +10 -2
- homeassistant-stubs/components/systemmonitor/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/systemmonitor/const.pyi +0 -1
- homeassistant-stubs/components/systemmonitor/diagnostics.pyi +2 -4
- homeassistant-stubs/components/systemmonitor/sensor.pyi +4 -3
- homeassistant-stubs/components/systemmonitor/util.pyi +4 -3
- homeassistant-stubs/components/tag/__init__.pyi +46 -5
- homeassistant-stubs/components/tag/const.pyi +4 -0
- homeassistant-stubs/components/tailwind/__init__.pyi +2 -1
- homeassistant-stubs/components/tailwind/binary_sensor.pyi +2 -4
- homeassistant-stubs/components/tailwind/button.pyi +2 -3
- homeassistant-stubs/components/tailwind/coordinator.pyi +0 -1
- homeassistant-stubs/components/tailwind/cover.pyi +2 -3
- homeassistant-stubs/components/tailwind/diagnostics.pyi +2 -4
- homeassistant-stubs/components/tailwind/number.pyi +2 -3
- homeassistant-stubs/components/tailwind/typing.pyi +4 -0
- homeassistant-stubs/components/technove/helpers.pyi +1 -4
- homeassistant-stubs/components/tedee/__init__.pyi +10 -3
- homeassistant-stubs/components/tedee/binary_sensor.pyi +2 -3
- homeassistant-stubs/components/tedee/config_flow.pyi +3 -1
- homeassistant-stubs/components/tedee/coordinator.pyi +5 -0
- homeassistant-stubs/components/tedee/diagnostics.pyi +2 -4
- homeassistant-stubs/components/tedee/lock.pyi +6 -3
- homeassistant-stubs/components/tedee/sensor.pyi +2 -3
- homeassistant-stubs/components/{ambiclimate → thethingsnetwork}/__init__.pyi +5 -4
- homeassistant-stubs/components/thethingsnetwork/config_flow.pyi +16 -0
- homeassistant-stubs/components/thethingsnetwork/const.pyi +8 -0
- homeassistant-stubs/components/thethingsnetwork/coordinator.pyi +16 -0
- homeassistant-stubs/components/thethingsnetwork/entity.pyi +22 -0
- homeassistant-stubs/components/thethingsnetwork/sensor.pyi +17 -0
- homeassistant-stubs/components/tibber/coordinator.pyi +19 -0
- homeassistant-stubs/components/tibber/notify.pyi +15 -3
- homeassistant-stubs/components/tibber/sensor.pyi +3 -13
- homeassistant-stubs/components/tilt_ble/sensor.pyi +2 -2
- homeassistant-stubs/components/timer/__init__.pyi +1 -2
- homeassistant-stubs/components/todo/intent.pyi +2 -0
- homeassistant-stubs/components/tplink/entity.pyi +2 -5
- homeassistant-stubs/components/tplink_omada/coordinator.pyi +3 -5
- homeassistant-stubs/components/tplink_omada/entity.pyi +2 -5
- homeassistant-stubs/components/tractive/__init__.pyi +10 -3
- homeassistant-stubs/components/tractive/binary_sensor.pyi +3 -4
- homeassistant-stubs/components/tractive/const.pyi +0 -2
- homeassistant-stubs/components/tractive/device_tracker.pyi +3 -4
- homeassistant-stubs/components/tractive/diagnostics.pyi +2 -3
- homeassistant-stubs/components/tractive/sensor.pyi +3 -4
- homeassistant-stubs/components/tractive/switch.pyi +3 -4
- homeassistant-stubs/components/trafikverket_camera/__init__.pyi +2 -1
- homeassistant-stubs/components/trafikverket_camera/binary_sensor.pyi +3 -4
- homeassistant-stubs/components/trafikverket_camera/camera.pyi +3 -3
- homeassistant-stubs/components/trafikverket_camera/coordinator.pyi +3 -2
- homeassistant-stubs/components/trafikverket_camera/sensor.pyi +3 -4
- homeassistant-stubs/components/trafikverket_ferry/__init__.pyi +4 -2
- homeassistant-stubs/components/trafikverket_ferry/coordinator.pyi +3 -2
- homeassistant-stubs/components/trafikverket_ferry/sensor.pyi +2 -2
- homeassistant-stubs/components/trafikverket_train/__init__.pyi +4 -2
- homeassistant-stubs/components/trafikverket_train/coordinator.pyi +4 -3
- homeassistant-stubs/components/trafikverket_train/sensor.pyi +2 -2
- homeassistant-stubs/components/trafikverket_weatherstation/__init__.pyi +4 -2
- homeassistant-stubs/components/trafikverket_weatherstation/coordinator.pyi +3 -2
- homeassistant-stubs/components/trafikverket_weatherstation/sensor.pyi +2 -2
- homeassistant-stubs/components/twentemilieu/__init__.pyi +4 -1
- homeassistant-stubs/components/twentemilieu/calendar.pyi +5 -7
- homeassistant-stubs/components/twentemilieu/diagnostics.pyi +0 -4
- homeassistant-stubs/components/twentemilieu/entity.pyi +4 -5
- homeassistant-stubs/components/twentemilieu/sensor.pyi +1 -2
- homeassistant-stubs/components/unifi/__init__.pyi +5 -4
- homeassistant-stubs/components/unifi/button.pyi +2 -3
- homeassistant-stubs/components/unifi/config_flow.pyi +2 -1
- homeassistant-stubs/components/unifi/device_tracker.pyi +3 -3
- homeassistant-stubs/components/unifi/diagnostics.pyi +2 -3
- homeassistant-stubs/components/unifi/hub/entity_loader.pyi +0 -1
- homeassistant-stubs/components/unifi/hub/hub.pyi +3 -5
- homeassistant-stubs/components/unifi/image.pyi +2 -2
- homeassistant-stubs/components/unifi/sensor.pyi +2 -2
- homeassistant-stubs/components/unifi/services.pyi +0 -1
- homeassistant-stubs/components/unifi/switch.pyi +3 -3
- homeassistant-stubs/components/unifi/update.pyi +2 -3
- homeassistant-stubs/components/unifiprotect/entity.pyi +1 -1
- homeassistant-stubs/components/unifiprotect/migrate.pyi +1 -1
- homeassistant-stubs/components/upcloud/__init__.pyi +2 -9
- homeassistant-stubs/components/upcloud/coordinator.pyi +16 -0
- homeassistant-stubs/components/vacuum/__init__.pyi +2 -4
- homeassistant-stubs/components/vacuum/const.pyi +1 -0
- homeassistant-stubs/components/vacuum/group.pyi +1 -1
- homeassistant-stubs/components/vallox/__init__.pyi +5 -6
- homeassistant-stubs/components/vallox/binary_sensor.pyi +2 -1
- homeassistant-stubs/components/vallox/config_flow.pyi +2 -1
- homeassistant-stubs/components/vallox/coordinator.pyi +12 -0
- homeassistant-stubs/components/vallox/date.pyi +2 -1
- homeassistant-stubs/components/vallox/fan.pyi +2 -1
- homeassistant-stubs/components/vallox/number.pyi +2 -1
- homeassistant-stubs/components/vallox/sensor.pyi +2 -1
- homeassistant-stubs/components/vallox/switch.pyi +2 -1
- homeassistant-stubs/components/velbus/entity.pyi +2 -4
- homeassistant-stubs/components/vlc_telnet/__init__.pyi +10 -3
- homeassistant-stubs/components/vlc_telnet/media_player.pyi +6 -6
- homeassistant-stubs/components/wallbox/coordinator.pyi +1 -3
- homeassistant-stubs/components/waqi/sensor.pyi +3 -6
- homeassistant-stubs/components/water_heater/__init__.pyi +2 -3
- homeassistant-stubs/components/water_heater/const.pyi +1 -0
- homeassistant-stubs/components/water_heater/group.pyi +2 -2
- homeassistant-stubs/components/weather/__init__.pyi +8 -7
- homeassistant-stubs/components/weather/group.pyi +1 -0
- homeassistant-stubs/components/weather/intent.pyi +2 -0
- homeassistant-stubs/components/webostv/media_player.pyi +2 -5
- homeassistant-stubs/components/websocket_api/commands.pyi +5 -5
- homeassistant-stubs/components/websocket_api/connection.pyi +2 -2
- homeassistant-stubs/components/websocket_api/const.pyi +5 -3
- homeassistant-stubs/components/websocket_api/http.pyi +4 -1
- homeassistant-stubs/components/websocket_api/messages.pyi +4 -5
- homeassistant-stubs/components/wemo/__init__.pyi +1 -1
- homeassistant-stubs/components/wemo/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/wemo/config_flow.pyi +1 -1
- homeassistant-stubs/components/wemo/device_trigger.pyi +1 -1
- homeassistant-stubs/components/wemo/entity.pyi +1 -1
- homeassistant-stubs/components/wemo/fan.pyi +1 -1
- homeassistant-stubs/components/wemo/light.pyi +1 -1
- homeassistant-stubs/components/wemo/models.pyi +3 -3
- homeassistant-stubs/components/wemo/sensor.pyi +1 -1
- homeassistant-stubs/components/wemo/switch.pyi +1 -1
- homeassistant-stubs/components/withings/__init__.pyi +6 -5
- homeassistant-stubs/components/withings/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/withings/calendar.pyi +2 -3
- homeassistant-stubs/components/withings/coordinator.pyi +5 -7
- homeassistant-stubs/components/withings/diagnostics.pyi +2 -4
- homeassistant-stubs/components/withings/entity.pyi +0 -3
- homeassistant-stubs/components/withings/sensor.pyi +3 -7
- homeassistant-stubs/components/wled/__init__.pyi +4 -3
- homeassistant-stubs/components/wled/binary_sensor.pyi +3 -4
- homeassistant-stubs/components/wled/button.pyi +3 -4
- homeassistant-stubs/components/wled/diagnostics.pyi +2 -4
- homeassistant-stubs/components/wled/helpers.pyi +2 -5
- homeassistant-stubs/components/wled/light.pyi +4 -4
- homeassistant-stubs/components/wled/number.pyi +4 -4
- homeassistant-stubs/components/wled/select.pyi +3 -4
- homeassistant-stubs/components/wled/sensor.pyi +3 -4
- homeassistant-stubs/components/wled/switch.pyi +4 -4
- homeassistant-stubs/components/wled/update.pyi +3 -4
- homeassistant-stubs/components/xiaomi_ble/__init__.pyi +1 -1
- homeassistant-stubs/components/xiaomi_ble/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/xiaomi_ble/coordinator.pyi +4 -4
- homeassistant-stubs/components/xiaomi_ble/sensor.pyi +2 -2
- homeassistant-stubs/components/yale_smart_alarm/__init__.pyi +4 -2
- homeassistant-stubs/components/yale_smart_alarm/alarm_control_panel.pyi +3 -3
- homeassistant-stubs/components/yale_smart_alarm/binary_sensor.pyi +2 -3
- homeassistant-stubs/components/yale_smart_alarm/button.pyi +4 -3
- homeassistant-stubs/components/yale_smart_alarm/const.pyi +0 -1
- homeassistant-stubs/components/yale_smart_alarm/diagnostics.pyi +2 -4
- homeassistant-stubs/components/yale_smart_alarm/lock.pyi +3 -3
- homeassistant-stubs/components/yale_smart_alarm/sensor.pyi +16 -0
- homeassistant-stubs/components/yalexs_ble/__init__.pyi +5 -4
- homeassistant-stubs/components/yalexs_ble/binary_sensor.pyi +2 -4
- homeassistant-stubs/components/yalexs_ble/lock.pyi +2 -4
- homeassistant-stubs/components/yalexs_ble/sensor.pyi +2 -3
- homeassistant-stubs/components/zwave_js/api.pyi +2 -3
- homeassistant-stubs/components/zwave_js/diagnostics.pyi +1 -1
- homeassistant-stubs/components/zwave_js/discovery_data_template.pyi +6 -6
- homeassistant-stubs/components/zwave_js/services.pyi +6 -8
- homeassistant-stubs/config.pyi +2 -1
- homeassistant-stubs/config_entries.pyi +18 -11
- homeassistant-stubs/const.pyi +5 -1
- homeassistant-stubs/core.pyi +19 -19
- homeassistant-stubs/data_entry_flow.pyi +0 -1
- homeassistant-stubs/generated/bluetooth.pyi +3 -1
- homeassistant-stubs/generated/countries.pyi +2 -2
- homeassistant-stubs/generated/dhcp.pyi +3 -1
- homeassistant-stubs/helpers/aiohttp_client.pyi +3 -2
- homeassistant-stubs/helpers/area_registry.pyi +9 -3
- homeassistant-stubs/helpers/category_registry.pyi +3 -1
- homeassistant-stubs/helpers/collection.pyi +3 -6
- homeassistant-stubs/helpers/condition.pyi +5 -5
- homeassistant-stubs/helpers/config_entry_flow.pyi +2 -3
- homeassistant-stubs/helpers/config_entry_oauth2_flow.pyi +4 -2
- homeassistant-stubs/helpers/config_validation.pyi +5 -5
- homeassistant-stubs/helpers/debounce.pyi +1 -4
- homeassistant-stubs/helpers/deprecation.pyi +1 -5
- homeassistant-stubs/helpers/device_registry.pyi +6 -5
- homeassistant-stubs/helpers/discovery.pyi +1 -1
- homeassistant-stubs/helpers/discovery_flow.pyi +2 -1
- homeassistant-stubs/helpers/dispatcher.pyi +5 -5
- homeassistant-stubs/helpers/entity.pyi +6 -5
- homeassistant-stubs/helpers/entity_platform.pyi +11 -9
- homeassistant-stubs/helpers/entity_registry.pyi +6 -5
- homeassistant-stubs/helpers/entity_values.pyi +1 -2
- homeassistant-stubs/helpers/entityfilter.pyi +1 -1
- homeassistant-stubs/helpers/event.pyi +24 -22
- homeassistant-stubs/helpers/floor_registry.pyi +3 -1
- homeassistant-stubs/helpers/frame.pyi +4 -6
- homeassistant-stubs/helpers/httpx_client.pyi +5 -4
- homeassistant-stubs/helpers/icon.pyi +2 -2
- homeassistant-stubs/helpers/importlib.pyi +5 -3
- homeassistant-stubs/helpers/integration_platform.pyi +2 -1
- homeassistant-stubs/helpers/intent.pyi +114 -32
- homeassistant-stubs/helpers/issue_registry.pyi +13 -5
- homeassistant-stubs/helpers/label_registry.pyi +3 -1
- homeassistant-stubs/helpers/llm.pyi +87 -0
- homeassistant-stubs/helpers/normalized_name_base_registry.pyi +0 -2
- homeassistant-stubs/helpers/ratelimit.pyi +0 -2
- homeassistant-stubs/helpers/recorder.pyi +3 -2
- homeassistant-stubs/helpers/redact.pyi +1 -3
- homeassistant-stubs/helpers/registry.pyi +5 -6
- homeassistant-stubs/helpers/restore_state.pyi +3 -1
- homeassistant-stubs/helpers/script.pyi +19 -9
- homeassistant-stubs/helpers/selector.pyi +4 -5
- homeassistant-stubs/helpers/service.pyi +8 -8
- homeassistant-stubs/helpers/service_info/mqtt.pyi +1 -2
- homeassistant-stubs/helpers/signal.pyi +3 -0
- homeassistant-stubs/helpers/significant_change.pyi +7 -3
- homeassistant-stubs/helpers/singleton.pyi +5 -2
- homeassistant-stubs/helpers/storage.pyi +8 -7
- homeassistant-stubs/helpers/sun.pyi +2 -1
- homeassistant-stubs/helpers/system_info.pyi +3 -0
- homeassistant-stubs/helpers/template.pyi +7 -12
- homeassistant-stubs/helpers/trace.pyi +1 -4
- homeassistant-stubs/helpers/translation.pyi +9 -3
- homeassistant-stubs/helpers/trigger.pyi +5 -2
- homeassistant-stubs/helpers/update_coordinator.pyi +1 -2
- homeassistant-stubs/loader.pyi +12 -8
- homeassistant-stubs/requirements.pyi +1 -0
- homeassistant-stubs/scripts/benchmark/__init__.pyi +1 -3
- homeassistant-stubs/setup.pyi +12 -10
- homeassistant-stubs/util/__init__.pyi +1 -3
- homeassistant-stubs/util/async_.pyi +1 -3
- homeassistant-stubs/util/collection.pyi +6 -0
- homeassistant-stubs/util/decorator.pyi +1 -5
- homeassistant-stubs/util/dt.pyi +2 -0
- homeassistant-stubs/util/enum.pyi +4 -8
- homeassistant-stubs/util/hass_dict.pyi +65 -0
- homeassistant-stubs/util/limited_size_dict.pyi +1 -4
- homeassistant-stubs/util/logging.pyi +1 -4
- homeassistant-stubs/util/loop.pyi +4 -7
- homeassistant-stubs/util/percentage.pyi +0 -3
- homeassistant-stubs/util/read_only_dict.pyi +3 -3
- homeassistant-stubs/util/signal_type.pyi +5 -12
- homeassistant-stubs/util/variance.pyi +2 -5
- homeassistant-stubs/util/yaml/loader.pyi +6 -0
- {homeassistant_stubs-2024.5.4.dist-info → homeassistant_stubs-2024.6.0.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2024.5.4.dist-info → homeassistant_stubs-2024.6.0.dist-info}/RECORD +939 -863
- homeassistant-stubs/auth/session.pyi +0 -46
- homeassistant-stubs/components/aladdin_connect/model.pyi +0 -9
- homeassistant-stubs/components/ambiclimate/climate.pyi +0 -44
- homeassistant-stubs/components/ambiclimate/config_flow.pyi +0 -37
- homeassistant-stubs/components/ambiclimate/const.pyi +0 -9
- homeassistant-stubs/components/anova/util.pyi +0 -3
- homeassistant-stubs/components/brother/utils.pyi +0 -10
- homeassistant-stubs/components/cloud/util.pyi +0 -7
- homeassistant-stubs/components/fritzbox/common.pyi +0 -5
- homeassistant-stubs/components/http/session.pyi +0 -29
- homeassistant-stubs/components/knx/repairs.pyi +0 -7
- homeassistant-stubs/components/poolsense/binary_sensor.pyi +0 -15
- homeassistant-stubs/components/poolsense/const.pyi +0 -2
- homeassistant-stubs/components/poolsense/coordinator.pyi +0 -16
- homeassistant-stubs/components/poolsense/entity.pyi +0 -14
- homeassistant-stubs/components/poolsense/sensor.pyi +0 -16
- /homeassistant-stubs/components/mikrotik/{hub.pyi → coordinator.pyi} +0 -0
- /homeassistant-stubs/components/wemo/{wemo_device.pyi → coordinator.pyi} +0 -0
- /homeassistant-stubs/components/wled/{models.pyi → entity.pyi} +0 -0
- {homeassistant_stubs-2024.5.4.dist-info → homeassistant_stubs-2024.6.0.dist-info}/LICENSE +0 -0
- {homeassistant_stubs-2024.5.4.dist-info → homeassistant_stubs-2024.6.0.dist-info}/WHEEL +0 -0
@@ -1,5 +1,5 @@
|
|
1
|
+
from .const import DOMAIN as DOMAIN
|
1
2
|
from _typeshed import Incomplete
|
2
|
-
from collections.abc import Mapping
|
3
3
|
from enum import IntFlag
|
4
4
|
from functools import cached_property as cached_property
|
5
5
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
@@ -16,7 +16,6 @@ from typing import Any
|
|
16
16
|
|
17
17
|
DEFAULT_MIN_TEMP: int
|
18
18
|
DEFAULT_MAX_TEMP: int
|
19
|
-
DOMAIN: str
|
20
19
|
ENTITY_ID_FORMAT: Incomplete
|
21
20
|
SCAN_INTERVAL: Incomplete
|
22
21
|
SERVICE_SET_AWAY_MODE: str
|
@@ -83,7 +82,7 @@ class WaterHeaterEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
|
83
82
|
@property
|
84
83
|
def precision(self) -> float: ...
|
85
84
|
@property
|
86
|
-
def capability_attributes(self) ->
|
85
|
+
def capability_attributes(self) -> dict[str, Any]: ...
|
87
86
|
@property
|
88
87
|
def state_attributes(self) -> dict[str, Any]: ...
|
89
88
|
@cached_property
|
@@ -1,6 +1,6 @@
|
|
1
|
-
from .const import STATE_ECO as STATE_ECO, STATE_ELECTRIC as STATE_ELECTRIC, STATE_GAS as STATE_GAS, STATE_HEAT_PUMP as STATE_HEAT_PUMP, STATE_HIGH_DEMAND as STATE_HIGH_DEMAND, STATE_PERFORMANCE as STATE_PERFORMANCE
|
1
|
+
from .const import DOMAIN as DOMAIN, STATE_ECO as STATE_ECO, STATE_ELECTRIC as STATE_ELECTRIC, STATE_GAS as STATE_GAS, STATE_HEAT_PUMP as STATE_HEAT_PUMP, STATE_HIGH_DEMAND as STATE_HIGH_DEMAND, STATE_PERFORMANCE as STATE_PERFORMANCE
|
2
2
|
from homeassistant.components.group import GroupIntegrationRegistry as GroupIntegrationRegistry
|
3
|
-
from homeassistant.const import STATE_OFF as STATE_OFF
|
3
|
+
from homeassistant.const import STATE_OFF as STATE_OFF, STATE_ON as STATE_ON
|
4
4
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
5
5
|
|
6
6
|
def async_describe_on_off_states(hass: HomeAssistant, registry: GroupIntegrationRegistry) -> None: ...
|
@@ -16,7 +16,8 @@ from homeassistant.helpers.update_coordinator import CoordinatorEntity as Coordi
|
|
16
16
|
from homeassistant.util.dt import utcnow as utcnow
|
17
17
|
from homeassistant.util.json import JsonValueType as JsonValueType
|
18
18
|
from homeassistant.util.unit_system import US_CUSTOMARY_SYSTEM as US_CUSTOMARY_SYSTEM
|
19
|
-
from typing import Any, Final, Generic, Literal, Required,
|
19
|
+
from typing import Any, Final, Generic, Literal, Required, TypedDict
|
20
|
+
from typing_extensions import TypeVar
|
20
21
|
|
21
22
|
_LOGGER: Incomplete
|
22
23
|
ATTR_CONDITION_CLASS: str
|
@@ -64,10 +65,10 @@ SCAN_INTERVAL: Incomplete
|
|
64
65
|
ROUNDING_PRECISION: int
|
65
66
|
LEGACY_SERVICE_GET_FORECAST: Final[str]
|
66
67
|
SERVICE_GET_FORECASTS: Final[str]
|
67
|
-
_ObservationUpdateCoordinatorT = TypeVar('_ObservationUpdateCoordinatorT', bound=
|
68
|
-
_DailyForecastUpdateCoordinatorT = TypeVar('_DailyForecastUpdateCoordinatorT', bound=
|
69
|
-
_HourlyForecastUpdateCoordinatorT = TypeVar('_HourlyForecastUpdateCoordinatorT', bound=
|
70
|
-
_TwiceDailyForecastUpdateCoordinatorT = TypeVar('_TwiceDailyForecastUpdateCoordinatorT', bound=
|
68
|
+
_ObservationUpdateCoordinatorT = TypeVar('_ObservationUpdateCoordinatorT', bound=DataUpdateCoordinator[Any], default=DataUpdateCoordinator[dict[str, Any]])
|
69
|
+
_DailyForecastUpdateCoordinatorT = TypeVar('_DailyForecastUpdateCoordinatorT', bound=TimestampDataUpdateCoordinator[Any], default=TimestampDataUpdateCoordinator[None])
|
70
|
+
_HourlyForecastUpdateCoordinatorT = TypeVar('_HourlyForecastUpdateCoordinatorT', bound=TimestampDataUpdateCoordinator[Any], default=_DailyForecastUpdateCoordinatorT)
|
71
|
+
_TwiceDailyForecastUpdateCoordinatorT = TypeVar('_TwiceDailyForecastUpdateCoordinatorT', bound=TimestampDataUpdateCoordinator[Any], default=_DailyForecastUpdateCoordinatorT)
|
71
72
|
|
72
73
|
def round_temperature(temperature: float | None, precision: float) -> float | None: ...
|
73
74
|
|
@@ -220,7 +221,7 @@ class CoordinatorWeatherEntity(CoordinatorEntity[_ObservationUpdateCoordinatorT]
|
|
220
221
|
forecast_coordinators: Incomplete
|
221
222
|
forecast_valid: Incomplete
|
222
223
|
unsub_forecast: Incomplete
|
223
|
-
def __init__(self, observation_coordinator: _ObservationUpdateCoordinatorT, *, context: Any = None, daily_coordinator: _DailyForecastUpdateCoordinatorT | None = None, hourly_coordinator:
|
224
|
+
def __init__(self, observation_coordinator: _ObservationUpdateCoordinatorT, *, context: Any = None, daily_coordinator: _DailyForecastUpdateCoordinatorT | None = None, hourly_coordinator: _HourlyForecastUpdateCoordinatorT | None = None, twice_daily_coordinator: _TwiceDailyForecastUpdateCoordinatorT | None = None, daily_forecast_valid: timedelta | None = None, hourly_forecast_valid: timedelta | None = None, twice_daily_forecast_valid: timedelta | None = None) -> None: ...
|
224
225
|
async def async_added_to_hass(self) -> None: ...
|
225
226
|
def _remove_forecast_listener(self, forecast_type: Literal['daily', 'hourly', 'twice_daily']) -> None: ...
|
226
227
|
def _async_subscription_started(self, forecast_type: Literal['daily', 'hourly', 'twice_daily']) -> None: ...
|
@@ -238,6 +239,6 @@ class CoordinatorWeatherEntity(CoordinatorEntity[_ObservationUpdateCoordinatorT]
|
|
238
239
|
async def async_forecast_hourly(self) -> list[Forecast] | None: ...
|
239
240
|
async def async_forecast_twice_daily(self) -> list[Forecast] | None: ...
|
240
241
|
|
241
|
-
class SingleCoordinatorWeatherEntity(CoordinatorWeatherEntity[_ObservationUpdateCoordinatorT, TimestampDataUpdateCoordinator[None]
|
242
|
+
class SingleCoordinatorWeatherEntity(CoordinatorWeatherEntity[_ObservationUpdateCoordinatorT, TimestampDataUpdateCoordinator[None]]):
|
242
243
|
def __init__(self, coordinator: _ObservationUpdateCoordinatorT, context: Any = None) -> None: ...
|
243
244
|
def _handle_coordinator_update(self) -> None: ...
|
@@ -10,5 +10,7 @@ async def async_setup_intents(hass: HomeAssistant) -> None: ...
|
|
10
10
|
|
11
11
|
class GetWeatherIntent(intent.IntentHandler):
|
12
12
|
intent_type = INTENT_GET_WEATHER
|
13
|
+
description: str
|
13
14
|
slot_schema: Incomplete
|
15
|
+
platforms: Incomplete
|
14
16
|
async def async_handle(self, intent_obj: intent.Intent) -> intent.IntentResponse: ...
|
@@ -3,7 +3,7 @@ from .const import ATTR_PAYLOAD as ATTR_PAYLOAD, ATTR_SOUND_OUTPUT as ATTR_SOUND
|
|
3
3
|
from .triggers.turn_on import async_get_turn_on_trigger as async_get_turn_on_trigger
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from aiowebostv import WebOsClient as WebOsClient
|
6
|
-
from collections.abc import Awaitable, Callable as Callable, Coroutine
|
6
|
+
from collections.abc import Awaitable as Awaitable, Callable as Callable, Coroutine
|
7
7
|
from homeassistant import util as util
|
8
8
|
from homeassistant.components.media_player import MediaPlayerDeviceClass as MediaPlayerDeviceClass, MediaPlayerEntity as MediaPlayerEntity, MediaPlayerEntityFeature as MediaPlayerEntityFeature, MediaPlayerState as MediaPlayerState, MediaType as MediaType
|
9
9
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
@@ -16,7 +16,7 @@ from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_d
|
|
16
16
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
17
17
|
from homeassistant.helpers.restore_state import RestoreEntity as RestoreEntity
|
18
18
|
from homeassistant.helpers.trigger import PluggableAction as PluggableAction
|
19
|
-
from typing import Any, Concatenate
|
19
|
+
from typing import Any, Concatenate
|
20
20
|
|
21
21
|
_LOGGER: Incomplete
|
22
22
|
SUPPORT_WEBOSTV: Incomplete
|
@@ -26,9 +26,6 @@ MIN_TIME_BETWEEN_FORCED_SCANS: Incomplete
|
|
26
26
|
SCAN_INTERVAL: Incomplete
|
27
27
|
|
28
28
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
29
|
-
_T = TypeVar('_T', bound='LgWebOSMediaPlayerEntity')
|
30
|
-
_P = ParamSpec('_P')
|
31
|
-
|
32
29
|
def cmd(func: Callable[Concatenate[_T, _P], Awaitable[None]]) -> Callable[Concatenate[_T, _P], Coroutine[Any, Any, None]]: ...
|
33
30
|
|
34
31
|
class LgWebOSMediaPlayerEntity(RestoreEntity, MediaPlayerEntity):
|
@@ -12,9 +12,9 @@ from homeassistant.exceptions import HomeAssistantError as HomeAssistantError, S
|
|
12
12
|
from homeassistant.helpers import entity as entity, template as template
|
13
13
|
from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
|
14
14
|
from homeassistant.helpers.event import TrackTemplate as TrackTemplate, TrackTemplateResult as TrackTemplateResult, async_track_template_result as async_track_template_result
|
15
|
-
from homeassistant.helpers.json import ExtendedJSONEncoder as ExtendedJSONEncoder, JSON_DUMP as JSON_DUMP, find_paths_unserializable_data as find_paths_unserializable_data, json_bytes as json_bytes
|
15
|
+
from homeassistant.helpers.json import ExtendedJSONEncoder as ExtendedJSONEncoder, JSON_DUMP as JSON_DUMP, find_paths_unserializable_data as find_paths_unserializable_data, json_bytes as json_bytes, json_fragment as json_fragment
|
16
16
|
from homeassistant.helpers.service import async_get_all_descriptions as async_get_all_descriptions
|
17
|
-
from homeassistant.loader import
|
17
|
+
from homeassistant.loader import IntegrationNotFound as IntegrationNotFound, async_get_integration as async_get_integration, async_get_integration_descriptions as async_get_integration_descriptions, async_get_integrations as async_get_integrations
|
18
18
|
from homeassistant.setup import async_get_loaded_integrations as async_get_loaded_integrations, async_get_setup_timings as async_get_setup_timings
|
19
19
|
from homeassistant.util.json import format_unserializable_data as format_unserializable_data
|
20
20
|
from typing import Any
|
@@ -24,8 +24,8 @@ _LOGGER: Incomplete
|
|
24
24
|
|
25
25
|
def async_register_commands(hass: HomeAssistant, async_reg: Callable[[HomeAssistant, const.WebSocketCommandHandler], None]) -> None: ...
|
26
26
|
def pong_message(iden: int) -> dict[str, Any]: ...
|
27
|
-
def _forward_events_check_permissions(send_message: Callable[[bytes | str | dict[str, Any]
|
28
|
-
def _forward_events_unconditional(send_message: Callable[[bytes | str | dict[str, Any]
|
27
|
+
def _forward_events_check_permissions(send_message: Callable[[bytes | str | dict[str, Any]], None], user: User, message_id_as_bytes: bytes, event: Event) -> None: ...
|
28
|
+
def _forward_events_unconditional(send_message: Callable[[bytes | str | dict[str, Any]], None], message_id_as_bytes: bytes, event: Event) -> None: ...
|
29
29
|
def handle_subscribe_events(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any]) -> None: ...
|
30
30
|
def handle_subscribe_bootstrap_integrations(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any]) -> None: ...
|
31
31
|
def handle_unsubscribe_events(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any]) -> None: ...
|
@@ -33,7 +33,7 @@ async def handle_call_service(hass: HomeAssistant, connection: ActiveConnection,
|
|
33
33
|
def _async_get_allowed_states(hass: HomeAssistant, connection: ActiveConnection) -> list[State]: ...
|
34
34
|
def handle_get_states(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any]) -> None: ...
|
35
35
|
def _send_handle_get_states_response(connection: ActiveConnection, msg_id: int, serialized_states: list[bytes]) -> None: ...
|
36
|
-
def _forward_entity_changes(send_message: Callable[[str | bytes | dict[str, Any]
|
36
|
+
def _forward_entity_changes(send_message: Callable[[str | bytes | dict[str, Any]], None], entity_ids: set[str], user: User, message_id_as_bytes: bytes, event: Event[EventStateChangedData]) -> None: ...
|
37
37
|
def handle_subscribe_entities(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any]) -> None: ...
|
38
38
|
def _send_handle_entities_init_response(connection: ActiveConnection, msg_id: int, serialized_states: list[bytes]) -> None: ...
|
39
39
|
async def _async_get_all_descriptions_json(hass: HomeAssistant) -> bytes: ...
|
@@ -12,8 +12,8 @@ from homeassistant.util.json import JsonValueType as JsonValueType
|
|
12
12
|
from typing import Any
|
13
13
|
|
14
14
|
current_connection: Incomplete
|
15
|
-
MessageHandler
|
16
|
-
BinaryHandler
|
15
|
+
MessageHandler = Callable[[HomeAssistant, ActiveConnection, dict[str, Any]], None]
|
16
|
+
BinaryHandler = Callable[[HomeAssistant, ActiveConnection, bytes], None]
|
17
17
|
|
18
18
|
class ActiveConnection:
|
19
19
|
__slots__: Incomplete
|
@@ -1,15 +1,17 @@
|
|
1
1
|
from .connection import ActiveConnection as ActiveConnection
|
2
2
|
from _typeshed import Incomplete
|
3
|
+
from collections.abc import Awaitable, Callable
|
3
4
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
4
|
-
from typing import Final
|
5
|
+
from typing import Any, Final
|
5
6
|
|
6
|
-
WebSocketCommandHandler
|
7
|
-
AsyncWebSocketCommandHandler
|
7
|
+
WebSocketCommandHandler = Callable[[HomeAssistant, ActiveConnection, dict[str, Any]], None]
|
8
|
+
AsyncWebSocketCommandHandler = Callable[[HomeAssistant, ActiveConnection, dict[str, Any]], Awaitable[None]]
|
8
9
|
DOMAIN: Final[str]
|
9
10
|
URL: Final[str]
|
10
11
|
PENDING_MSG_PEAK: Final[int]
|
11
12
|
PENDING_MSG_PEAK_TIME: Final[int]
|
12
13
|
MAX_PENDING_MSG: Final[int]
|
14
|
+
PENDING_MSG_MAX_FORCE_READY: Final[int]
|
13
15
|
ERR_ID_REUSE: Final[str]
|
14
16
|
ERR_INVALID_FORMAT: Final[str]
|
15
17
|
ERR_NOT_ALLOWED: Final[str]
|
@@ -2,7 +2,7 @@ import datetime as dt
|
|
2
2
|
import logging
|
3
3
|
from .auth import AUTH_REQUIRED_MESSAGE as AUTH_REQUIRED_MESSAGE, AuthPhase as AuthPhase
|
4
4
|
from .connection import ActiveConnection as ActiveConnection
|
5
|
-
from .const import DATA_CONNECTIONS as DATA_CONNECTIONS, MAX_PENDING_MSG as MAX_PENDING_MSG, PENDING_MSG_PEAK as PENDING_MSG_PEAK, PENDING_MSG_PEAK_TIME as PENDING_MSG_PEAK_TIME, SIGNAL_WEBSOCKET_CONNECTED as SIGNAL_WEBSOCKET_CONNECTED, SIGNAL_WEBSOCKET_DISCONNECTED as SIGNAL_WEBSOCKET_DISCONNECTED, URL as URL
|
5
|
+
from .const import DATA_CONNECTIONS as DATA_CONNECTIONS, MAX_PENDING_MSG as MAX_PENDING_MSG, PENDING_MSG_MAX_FORCE_READY as PENDING_MSG_MAX_FORCE_READY, PENDING_MSG_PEAK as PENDING_MSG_PEAK, PENDING_MSG_PEAK_TIME as PENDING_MSG_PEAK_TIME, SIGNAL_WEBSOCKET_CONNECTED as SIGNAL_WEBSOCKET_CONNECTED, SIGNAL_WEBSOCKET_DISCONNECTED as SIGNAL_WEBSOCKET_DISCONNECTED, URL as URL
|
6
6
|
from .error import Disconnect as Disconnect
|
7
7
|
from .messages import message_to_json_bytes as message_to_json_bytes
|
8
8
|
from .util import describe_request as describe_request
|
@@ -32,6 +32,7 @@ class WebSocketAdapter(logging.LoggerAdapter):
|
|
32
32
|
class WebSocketHandler:
|
33
33
|
__slots__: Incomplete
|
34
34
|
_hass: Incomplete
|
35
|
+
_loop: Incomplete
|
35
36
|
_request: Incomplete
|
36
37
|
_wsock: Incomplete
|
37
38
|
_handle_task: Incomplete
|
@@ -43,6 +44,7 @@ class WebSocketHandler:
|
|
43
44
|
_connection: Incomplete
|
44
45
|
_message_queue: Incomplete
|
45
46
|
_ready_future: Incomplete
|
47
|
+
_release_ready_queue_size: int
|
46
48
|
def __init__(self, hass: HomeAssistant, request: web.Request) -> None: ...
|
47
49
|
def __repr__(self) -> str: ...
|
48
50
|
@property
|
@@ -50,6 +52,7 @@ class WebSocketHandler:
|
|
50
52
|
async def _writer(self, send_bytes_text: Callable[[bytes], Coroutine[Any, Any, None]]) -> None: ...
|
51
53
|
def _cancel_peak_checker(self) -> None: ...
|
52
54
|
def _send_message(self, message: str | bytes | dict[str, Any]) -> None: ...
|
55
|
+
def _release_ready_future_or_reschedule(self) -> None: ...
|
53
56
|
def _check_write_peak(self, _utc_time: dt.datetime) -> None: ...
|
54
57
|
def _cancel(self) -> None: ...
|
55
58
|
def _async_handle_hass_stop(self, event: Event) -> None: ...
|
@@ -1,7 +1,7 @@
|
|
1
1
|
from . import const as const
|
2
2
|
from _typeshed import Incomplete
|
3
3
|
from homeassistant.const import 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
|
4
|
-
from homeassistant.core import
|
4
|
+
from homeassistant.core import CompressedState as CompressedState, Event as Event, EventStateChangedData as EventStateChangedData
|
5
5
|
from homeassistant.helpers.json import JSON_DUMP as JSON_DUMP, find_paths_unserializable_data as find_paths_unserializable_data, json_bytes as json_bytes
|
6
6
|
from homeassistant.util.json import format_unserializable_data as format_unserializable_data
|
7
7
|
from typing import Any, Final
|
@@ -21,11 +21,10 @@ def result_message(iden: int, result: Any = None) -> dict[str, Any]: ...
|
|
21
21
|
def construct_result_message(iden: int, payload: bytes) -> bytes: ...
|
22
22
|
def error_message(iden: int | None, code: str, message: str, translation_key: str | None = None, translation_domain: str | None = None, translation_placeholders: dict[str, Any] | None = None) -> dict[str, Any]: ...
|
23
23
|
def event_message(iden: int, event: Any) -> dict[str, Any]: ...
|
24
|
-
def cached_event_message(
|
24
|
+
def cached_event_message(message_id_as_bytes: bytes, event: Event) -> bytes: ...
|
25
25
|
def _partial_cached_event_message(event: Event) -> bytes: ...
|
26
|
-
def cached_state_diff_message(
|
26
|
+
def cached_state_diff_message(message_id_as_bytes: bytes, event: Event[EventStateChangedData]) -> bytes: ...
|
27
27
|
def _partial_cached_state_diff_message(event: Event[EventStateChangedData]) -> bytes: ...
|
28
|
-
def _state_diff_event(event: Event[EventStateChangedData]) -> dict: ...
|
29
|
-
def _state_diff(old_state: State, new_state: State) -> dict[str, dict[str, dict[str, dict[str, str | list[str]]]]]: ...
|
28
|
+
def _state_diff_event(event: Event[EventStateChangedData]) -> dict[str, list[str] | dict[str, CompressedState] | dict[str, dict[str, dict[str, str | list[str]]]]]: ...
|
30
29
|
def _message_to_json_bytes_or_none(message: dict[str, Any]) -> bytes | None: ...
|
31
30
|
def message_to_json_bytes(message: dict[str, Any]) -> bytes: ...
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import pywemo
|
2
2
|
from .const import DOMAIN as DOMAIN
|
3
|
+
from .coordinator import DeviceCoordinator as DeviceCoordinator, async_register_device as async_register_device
|
3
4
|
from .models import WemoConfigEntryData as WemoConfigEntryData, WemoData as WemoData, async_wemo_data as async_wemo_data
|
4
|
-
from .wemo_device import DeviceCoordinator as DeviceCoordinator, async_register_device as async_register_device
|
5
5
|
from _typeshed import Incomplete
|
6
6
|
from collections.abc import Callable, Coroutine, Sequence
|
7
7
|
from datetime import datetime
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from . import async_wemo_dispatcher_connect as async_wemo_dispatcher_connect
|
2
|
+
from .coordinator import DeviceCoordinator as DeviceCoordinator
|
2
3
|
from .entity import WemoBinaryStateEntity as WemoBinaryStateEntity, WemoEntity as WemoEntity
|
3
|
-
from .wemo_device import DeviceCoordinator as DeviceCoordinator
|
4
4
|
from homeassistant.components.binary_sensor import BinarySensorEntity as BinarySensorEntity
|
5
5
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import voluptuous as vol
|
2
2
|
from .const import DOMAIN as DOMAIN
|
3
|
-
from .
|
3
|
+
from .coordinator import Options as Options, OptionsValidationError as OptionsValidationError
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from .const import WEMO_SUBSCRIPTION_EVENT as WEMO_SUBSCRIPTION_EVENT
|
2
|
-
from .
|
2
|
+
from .coordinator import async_get_coordinator as async_get_coordinator
|
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_PLATFORM as CONF_PLATFORM, CONF_TYPE as CONF_TYPE
|
@@ -1,4 +1,4 @@
|
|
1
|
-
from .
|
1
|
+
from .coordinator import DeviceCoordinator as DeviceCoordinator
|
2
2
|
from _typeshed import Incomplete
|
3
3
|
from collections.abc import Generator
|
4
4
|
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
@@ -1,7 +1,7 @@
|
|
1
1
|
from . import async_wemo_dispatcher_connect as async_wemo_dispatcher_connect
|
2
2
|
from .const import SERVICE_RESET_FILTER_LIFE as SERVICE_RESET_FILTER_LIFE, SERVICE_SET_HUMIDITY as SERVICE_SET_HUMIDITY
|
3
|
+
from .coordinator import DeviceCoordinator as DeviceCoordinator
|
3
4
|
from .entity import WemoBinaryStateEntity as WemoBinaryStateEntity
|
4
|
-
from .wemo_device import DeviceCoordinator as DeviceCoordinator
|
5
5
|
from _typeshed import Incomplete
|
6
6
|
from homeassistant.components.fan import FanEntity as FanEntity, FanEntityFeature as FanEntityFeature
|
7
7
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from . import async_wemo_dispatcher_connect as async_wemo_dispatcher_connect
|
2
|
+
from .coordinator import DeviceCoordinator as DeviceCoordinator
|
2
3
|
from .entity import WemoBinaryStateEntity as WemoBinaryStateEntity, WemoEntity as WemoEntity
|
3
|
-
from .wemo_device import DeviceCoordinator as DeviceCoordinator
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from homeassistant.components.light import ATTR_BRIGHTNESS as ATTR_BRIGHTNESS, ATTR_COLOR_TEMP as ATTR_COLOR_TEMP, ATTR_HS_COLOR as ATTR_HS_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
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import pywemo
|
2
2
|
from . import HostPortTuple as HostPortTuple, WemoDiscovery as WemoDiscovery, WemoDispatcher as WemoDispatcher
|
3
3
|
from .const import DOMAIN as DOMAIN
|
4
|
-
from .
|
4
|
+
from .coordinator import DeviceCoordinator as DeviceCoordinator
|
5
5
|
from collections.abc import Sequence
|
6
6
|
from dataclasses import dataclass
|
7
7
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
8
8
|
|
9
9
|
@dataclass
|
10
10
|
class WemoConfigEntryData:
|
11
|
-
device_coordinators: dict[str,
|
11
|
+
device_coordinators: dict[str, DeviceCoordinator]
|
12
12
|
discovery: WemoDiscovery
|
13
13
|
dispatcher: WemoDispatcher
|
14
14
|
def __init__(self, device_coordinators, discovery, dispatcher) -> None: ...
|
@@ -16,7 +16,7 @@ class WemoConfigEntryData:
|
|
16
16
|
@dataclass
|
17
17
|
class WemoData:
|
18
18
|
discovery_enabled: bool
|
19
|
-
static_config: Sequence[
|
19
|
+
static_config: Sequence[HostPortTuple]
|
20
20
|
registry: pywemo.SubscriptionRegistry
|
21
21
|
config_entry_data: WemoConfigEntryData = ...
|
22
22
|
def __init__(self, discovery_enabled, static_config, registry, config_entry_data) -> None: ...
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from . import async_wemo_dispatcher_connect as async_wemo_dispatcher_connect
|
2
|
+
from .coordinator import DeviceCoordinator as DeviceCoordinator
|
2
3
|
from .entity import WemoEntity as WemoEntity
|
3
|
-
from .wemo_device import DeviceCoordinator as DeviceCoordinator
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from collections.abc import Callable as Callable
|
6
6
|
from dataclasses import dataclass
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from . import async_wemo_dispatcher_connect as async_wemo_dispatcher_connect
|
2
|
+
from .coordinator import DeviceCoordinator as DeviceCoordinator
|
2
3
|
from .entity import WemoBinaryStateEntity as WemoBinaryStateEntity
|
3
|
-
from .wemo_device import DeviceCoordinator as DeviceCoordinator
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from homeassistant.components.switch import SwitchEntity as SwitchEntity
|
6
6
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
@@ -19,6 +19,7 @@ PLATFORMS: Incomplete
|
|
19
19
|
SUBSCRIBE_DELAY: Incomplete
|
20
20
|
UNSUBSCRIBE_DELAY: Incomplete
|
21
21
|
CONF_CLOUDHOOK_URL: str
|
22
|
+
WithingsConfigEntry = ConfigEntry[WithingsData]
|
22
23
|
|
23
24
|
@dataclass(slots=True)
|
24
25
|
class WithingsData:
|
@@ -33,8 +34,8 @@ class WithingsData:
|
|
33
34
|
def __post_init__(self) -> None: ...
|
34
35
|
def __init__(self, client, measurement_coordinator, sleep_coordinator, bed_presence_coordinator, goals_coordinator, activity_coordinator, workout_coordinator, coordinators) -> None: ...
|
35
36
|
|
36
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
37
|
-
async def async_unload_entry(hass: HomeAssistant, entry:
|
37
|
+
async def async_setup_entry(hass: HomeAssistant, entry: WithingsConfigEntry) -> bool: ...
|
38
|
+
async def async_unload_entry(hass: HomeAssistant, entry: WithingsConfigEntry) -> bool: ...
|
38
39
|
async def async_subscribe_webhooks(client: WithingsClient, webhook_url: str) -> None: ...
|
39
40
|
|
40
41
|
class WithingsWebhookManager:
|
@@ -42,14 +43,14 @@ class WithingsWebhookManager:
|
|
42
43
|
_register_lock: Incomplete
|
43
44
|
hass: Incomplete
|
44
45
|
entry: Incomplete
|
45
|
-
def __init__(self, hass: HomeAssistant, entry:
|
46
|
+
def __init__(self, hass: HomeAssistant, entry: WithingsConfigEntry) -> None: ...
|
46
47
|
@property
|
47
48
|
def withings_data(self) -> WithingsData: ...
|
48
49
|
async def unregister_webhook(self, _: Any) -> None: ...
|
49
50
|
async def register_webhook(self, _: Any) -> None: ...
|
50
51
|
|
51
52
|
async def async_unsubscribe_webhooks(client: WithingsClient) -> None: ...
|
52
|
-
async def _async_cloudhook_generate_url(hass: HomeAssistant, entry:
|
53
|
-
async def async_remove_entry(hass: HomeAssistant, entry:
|
53
|
+
async def _async_cloudhook_generate_url(hass: HomeAssistant, entry: WithingsConfigEntry) -> str: ...
|
54
|
+
async def async_remove_entry(hass: HomeAssistant, entry: WithingsConfigEntry) -> None: ...
|
54
55
|
def json_message_response(message: str, message_code: int) -> Response: ...
|
55
56
|
def get_webhook_handler(withings_data: WithingsData) -> Callable[[HomeAssistant, str, Request], Awaitable[Response | None]]: ...
|
@@ -1,15 +1,15 @@
|
|
1
|
+
from . import WithingsConfigEntry as WithingsConfigEntry
|
1
2
|
from .const import DOMAIN as DOMAIN
|
2
3
|
from .coordinator import WithingsBedPresenceDataUpdateCoordinator as WithingsBedPresenceDataUpdateCoordinator
|
3
4
|
from .entity import WithingsEntity as WithingsEntity
|
4
5
|
from _typeshed import Incomplete
|
5
6
|
from collections.abc import Callable as Callable
|
6
7
|
from homeassistant.components.binary_sensor import BinarySensorDeviceClass as BinarySensorDeviceClass, BinarySensorEntity as BinarySensorEntity
|
7
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
8
8
|
from homeassistant.const import Platform as Platform
|
9
9
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
10
10
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
11
11
|
|
12
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
12
|
+
async def async_setup_entry(hass: HomeAssistant, entry: WithingsConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
13
13
|
|
14
14
|
class WithingsBinarySensor(WithingsEntity, BinarySensorEntity):
|
15
15
|
_attr_translation_key: str
|
@@ -1,4 +1,4 @@
|
|
1
|
-
from . import DOMAIN as DOMAIN,
|
1
|
+
from . import DOMAIN as DOMAIN, WithingsConfigEntry as WithingsConfigEntry
|
2
2
|
from .coordinator import WithingsWorkoutDataUpdateCoordinator as WithingsWorkoutDataUpdateCoordinator
|
3
3
|
from .entity import WithingsEntity as WithingsEntity
|
4
4
|
from _typeshed import Incomplete
|
@@ -6,12 +6,11 @@ from aiowithings import WithingsClient as WithingsClient, WorkoutCategory as Wor
|
|
6
6
|
from collections.abc import Callable as Callable
|
7
7
|
from datetime import datetime
|
8
8
|
from homeassistant.components.calendar import CalendarEntity as CalendarEntity, CalendarEvent as CalendarEvent
|
9
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
10
9
|
from homeassistant.const import Platform as Platform
|
11
10
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
12
11
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
13
12
|
|
14
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
13
|
+
async def async_setup_entry(hass: HomeAssistant, entry: WithingsConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
15
14
|
def get_event_name(category: WorkoutCategory) -> str: ...
|
16
15
|
|
17
16
|
class WithingsWorkoutCalendarEntity(WithingsEntity[WithingsWorkoutDataUpdateCoordinator], CalendarEntity):
|
@@ -1,20 +1,18 @@
|
|
1
1
|
import abc
|
2
|
+
from . import WithingsConfigEntry as WithingsConfigEntry
|
2
3
|
from .const import LOGGER as LOGGER
|
3
4
|
from _typeshed import Incomplete
|
4
5
|
from abc import abstractmethod
|
5
6
|
from aiowithings import Activity, Goals, MeasurementType, NotificationCategory, SleepSummary, WithingsClient as WithingsClient, Workout
|
6
7
|
from datetime import datetime, timedelta
|
7
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
8
8
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
9
9
|
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed
|
10
10
|
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator
|
11
|
-
from typing import TypeVar
|
12
11
|
|
13
|
-
_T = TypeVar('_T')
|
14
12
|
UPDATE_INTERVAL: Incomplete
|
15
13
|
|
16
|
-
class WithingsDataUpdateCoordinator(DataUpdateCoordinator[
|
17
|
-
config_entry:
|
14
|
+
class WithingsDataUpdateCoordinator(DataUpdateCoordinator[_DataT], metaclass=abc.ABCMeta):
|
15
|
+
config_entry: WithingsConfigEntry
|
18
16
|
_default_update_interval: timedelta | None
|
19
17
|
_last_valid_update: datetime | None
|
20
18
|
webhooks_connected: bool
|
@@ -26,9 +24,9 @@ class WithingsDataUpdateCoordinator(DataUpdateCoordinator[_T], metaclass=abc.ABC
|
|
26
24
|
update_interval: Incomplete
|
27
25
|
def webhook_subscription_listener(self, connected: bool) -> None: ...
|
28
26
|
async def async_webhook_data_updated(self, notification_category: NotificationCategory) -> None: ...
|
29
|
-
async def _async_update_data(self) ->
|
27
|
+
async def _async_update_data(self) -> _DataT: ...
|
30
28
|
@abstractmethod
|
31
|
-
async def _internal_update_data(self) ->
|
29
|
+
async def _internal_update_data(self) -> _DataT: ...
|
32
30
|
|
33
31
|
class WithingsMeasurementDataUpdateCoordinator(WithingsDataUpdateCoordinator[dict[MeasurementType, float]]):
|
34
32
|
coordinator_name: str
|
@@ -1,8 +1,6 @@
|
|
1
|
-
from . import CONF_CLOUDHOOK_URL as CONF_CLOUDHOOK_URL,
|
2
|
-
from .const import DOMAIN as DOMAIN
|
3
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
1
|
+
from . import CONF_CLOUDHOOK_URL as CONF_CLOUDHOOK_URL, WithingsConfigEntry as WithingsConfigEntry
|
4
2
|
from homeassistant.const import CONF_WEBHOOK_ID as CONF_WEBHOOK_ID
|
5
3
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
4
|
from typing import Any
|
7
5
|
|
8
|
-
async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry:
|
6
|
+
async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry: WithingsConfigEntry) -> dict[str, Any]: ...
|
@@ -3,9 +3,6 @@ from .coordinator import WithingsDataUpdateCoordinator as WithingsDataUpdateCoor
|
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
5
5
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
6
|
-
from typing import TypeVar
|
7
|
-
|
8
|
-
_T = TypeVar('_T', bound=WithingsDataUpdateCoordinator)
|
9
6
|
|
10
7
|
class WithingsEntity(CoordinatorEntity[_T]):
|
11
8
|
_attr_has_entity_name: bool
|
@@ -1,4 +1,4 @@
|
|
1
|
-
from . import
|
1
|
+
from . import WithingsConfigEntry as WithingsConfigEntry
|
2
2
|
from .const import DOMAIN as DOMAIN, LOGGER as LOGGER, SCORE_POINTS as SCORE_POINTS, UOM_BEATS_PER_MINUTE as UOM_BEATS_PER_MINUTE, UOM_BREATHS_PER_MINUTE as UOM_BREATHS_PER_MINUTE, UOM_FREQUENCY as UOM_FREQUENCY, UOM_MMHG as UOM_MMHG
|
3
3
|
from .coordinator import WithingsActivityDataUpdateCoordinator as WithingsActivityDataUpdateCoordinator, WithingsDataUpdateCoordinator as WithingsDataUpdateCoordinator, WithingsGoalsDataUpdateCoordinator as WithingsGoalsDataUpdateCoordinator, WithingsMeasurementDataUpdateCoordinator as WithingsMeasurementDataUpdateCoordinator, WithingsSleepDataUpdateCoordinator as WithingsSleepDataUpdateCoordinator, WithingsWorkoutDataUpdateCoordinator as WithingsWorkoutDataUpdateCoordinator
|
4
4
|
from .entity import WithingsEntity as WithingsEntity
|
@@ -8,12 +8,10 @@ from collections.abc import Callable as Callable
|
|
8
8
|
from dataclasses import dataclass
|
9
9
|
from datetime import datetime
|
10
10
|
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
|
11
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
12
11
|
from homeassistant.const import PERCENTAGE as PERCENTAGE, Platform as Platform, UnitOfLength as UnitOfLength, UnitOfMass as UnitOfMass, UnitOfSpeed as UnitOfSpeed, UnitOfTemperature as UnitOfTemperature, UnitOfTime as UnitOfTime
|
13
12
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
14
13
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
15
14
|
from homeassistant.helpers.typing import StateType as StateType
|
16
|
-
from typing import Generic, TypeVar
|
17
15
|
|
18
16
|
@dataclass(frozen=True, kw_only=True)
|
19
17
|
class WithingsMeasurementSensorEntityDescription(SensorEntityDescription):
|
@@ -55,11 +53,9 @@ _WORKOUT_CATEGORY: Incomplete
|
|
55
53
|
WORKOUT_SENSORS: Incomplete
|
56
54
|
|
57
55
|
def get_current_goals(goals: Goals) -> set[str]: ...
|
58
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
59
|
-
_T = TypeVar('_T', bound=WithingsDataUpdateCoordinator)
|
60
|
-
_ED = TypeVar('_ED', bound=SensorEntityDescription)
|
56
|
+
async def async_setup_entry(hass: HomeAssistant, entry: WithingsConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
61
57
|
|
62
|
-
class WithingsSensor(WithingsEntity[_T], SensorEntity
|
58
|
+
class WithingsSensor(WithingsEntity[_T], SensorEntity):
|
63
59
|
entity_description: _ED
|
64
60
|
def __init__(self, coordinator: _T, entity_description: _ED) -> None: ...
|
65
61
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
from .const import
|
1
|
+
from .const import LOGGER as LOGGER
|
2
2
|
from .coordinator import WLEDDataUpdateCoordinator as WLEDDataUpdateCoordinator
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
@@ -6,7 +6,8 @@ from homeassistant.const import Platform as Platform
|
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
7
|
|
8
8
|
PLATFORMS: Incomplete
|
9
|
+
WLEDConfigEntry = ConfigEntry[WLEDDataUpdateCoordinator]
|
9
10
|
|
10
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
11
|
-
async def async_unload_entry(hass: HomeAssistant, entry:
|
11
|
+
async def async_setup_entry(hass: HomeAssistant, entry: WLEDConfigEntry) -> bool: ...
|
12
|
+
async def async_unload_entry(hass: HomeAssistant, entry: WLEDConfigEntry) -> bool: ...
|
12
13
|
async def async_reload_entry(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
|
@@ -1,14 +1,13 @@
|
|
1
|
-
from .
|
1
|
+
from . import WLEDConfigEntry as WLEDConfigEntry
|
2
2
|
from .coordinator import WLEDDataUpdateCoordinator as WLEDDataUpdateCoordinator
|
3
|
-
from .
|
3
|
+
from .entity import WLEDEntity as WLEDEntity
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from homeassistant.components.binary_sensor import BinarySensorDeviceClass as BinarySensorDeviceClass, BinarySensorEntity as BinarySensorEntity
|
6
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
7
6
|
from homeassistant.const import EntityCategory as EntityCategory
|
8
7
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
9
8
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
10
9
|
|
11
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
10
|
+
async def async_setup_entry(hass: HomeAssistant, entry: WLEDConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
12
11
|
|
13
12
|
class WLEDUpdateBinarySensor(WLEDEntity, BinarySensorEntity):
|
14
13
|
_attr_entity_category: Incomplete
|
@@ -1,15 +1,14 @@
|
|
1
|
-
from .
|
1
|
+
from . import WLEDConfigEntry as WLEDConfigEntry
|
2
2
|
from .coordinator import WLEDDataUpdateCoordinator as WLEDDataUpdateCoordinator
|
3
|
+
from .entity import WLEDEntity as WLEDEntity
|
3
4
|
from .helpers import wled_exception_handler as wled_exception_handler
|
4
|
-
from .models import WLEDEntity as WLEDEntity
|
5
5
|
from _typeshed import Incomplete
|
6
6
|
from homeassistant.components.button import ButtonDeviceClass as ButtonDeviceClass, ButtonEntity as ButtonEntity
|
7
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
8
7
|
from homeassistant.const import EntityCategory as EntityCategory
|
9
8
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
10
9
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
11
10
|
|
12
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
11
|
+
async def async_setup_entry(hass: HomeAssistant, entry: WLEDConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
13
12
|
|
14
13
|
class WLEDRestartButton(WLEDEntity, ButtonEntity):
|
15
14
|
_attr_device_class: Incomplete
|
@@ -1,8 +1,6 @@
|
|
1
|
-
from .
|
2
|
-
from .coordinator import WLEDDataUpdateCoordinator as WLEDDataUpdateCoordinator
|
1
|
+
from . import WLEDConfigEntry as WLEDConfigEntry
|
3
2
|
from homeassistant.components.diagnostics import async_redact_data as async_redact_data
|
4
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
3
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
4
|
from typing import Any
|
7
5
|
|
8
|
-
async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry:
|
6
|
+
async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry: WLEDConfigEntry) -> dict[str, Any]: ...
|
@@ -1,9 +1,6 @@
|
|
1
|
-
from .
|
1
|
+
from .entity import WLEDEntity as WLEDEntity
|
2
2
|
from collections.abc import Callable as Callable, Coroutine
|
3
3
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
4
|
-
from typing import Any, Concatenate
|
5
|
-
|
6
|
-
_WLEDEntityT = TypeVar('_WLEDEntityT', bound=WLEDEntity)
|
7
|
-
_P = ParamSpec('_P')
|
4
|
+
from typing import Any, Concatenate
|
8
5
|
|
9
6
|
def wled_exception_handler(func: Callable[Concatenate[_WLEDEntityT, _P], Coroutine[Any, Any, Any]]) -> Callable[Concatenate[_WLEDEntityT, _P], Coroutine[Any, Any, None]]: ...
|