homeassistant-stubs 2024.6.4__py3-none-any.whl → 2024.7.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 +2 -0
- homeassistant-stubs/auth/auth_store.pyi +1 -0
- homeassistant-stubs/auth/providers/homeassistant.pyi +10 -2
- homeassistant-stubs/block_async_io.pyi +23 -0
- homeassistant-stubs/bootstrap.pyi +4 -3
- homeassistant-stubs/components/accuweather/sensor.pyi +5 -9
- homeassistant-stubs/components/accuweather/weather.pyi +1 -1
- homeassistant-stubs/components/acer_projector/switch.pyi +2 -1
- homeassistant-stubs/components/air_quality/__init__.pyi +4 -3
- homeassistant-stubs/components/airgradient/__init__.pyi +8 -0
- homeassistant-stubs/components/airgradient/button.pyi +28 -0
- homeassistant-stubs/components/airgradient/const.pyi +2 -0
- homeassistant-stubs/components/airgradient/coordinator.pyi +2 -2
- homeassistant-stubs/components/airgradient/number.pyi +32 -0
- homeassistant-stubs/components/airgradient/select.pyi +14 -12
- homeassistant-stubs/components/airgradient/sensor.pyi +28 -10
- homeassistant-stubs/components/airgradient/switch.pyi +33 -0
- homeassistant-stubs/components/airnow/const.pyi +1 -0
- homeassistant-stubs/components/airnow/coordinator.pyi +1 -1
- homeassistant-stubs/components/airnow/sensor.pyi +1 -2
- homeassistant-stubs/components/airzone/__init__.pyi +4 -4
- homeassistant-stubs/components/airzone/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/airzone/climate.pyi +3 -2
- homeassistant-stubs/components/airzone/diagnostics.pyi +2 -4
- homeassistant-stubs/components/airzone/entity.pyi +2 -1
- homeassistant-stubs/components/airzone/select.pyi +2 -2
- homeassistant-stubs/components/airzone/sensor.pyi +3 -2
- homeassistant-stubs/components/airzone/water_heater.pyi +3 -2
- homeassistant-stubs/components/airzone_cloud/__init__.pyi +3 -3
- homeassistant-stubs/components/airzone_cloud/binary_sensor.pyi +2 -3
- homeassistant-stubs/components/airzone_cloud/climate.pyi +8 -10
- homeassistant-stubs/components/airzone_cloud/diagnostics.pyi +2 -4
- homeassistant-stubs/components/airzone_cloud/select.pyi +2 -3
- homeassistant-stubs/components/airzone_cloud/sensor.pyi +2 -3
- homeassistant-stubs/components/airzone_cloud/water_heater.pyi +2 -3
- homeassistant-stubs/components/aladdin_connect/__init__.pyi +4 -13
- homeassistant-stubs/components/aladdin_connect/config_flow.pyi +3 -16
- homeassistant-stubs/components/alarm_control_panel/__init__.pyi +3 -3
- homeassistant-stubs/components/alexa/capabilities.pyi +2 -2
- homeassistant-stubs/components/alexa/entities.pyi +25 -24
- homeassistant-stubs/components/alpha_vantage/sensor.pyi +2 -1
- homeassistant-stubs/components/ambient_network/coordinator.pyi +2 -0
- homeassistant-stubs/components/ambient_network/sensor.pyi +1 -0
- homeassistant-stubs/components/androidtv/entity.pyi +1 -0
- homeassistant-stubs/components/androidtv/remote.pyi +21 -0
- homeassistant-stubs/components/androidtv_remote/config_flow.pyi +11 -1
- homeassistant-stubs/components/androidtv_remote/const.pyi +3 -0
- homeassistant-stubs/components/androidtv_remote/entity.pyi +2 -1
- homeassistant-stubs/components/androidtv_remote/media_player.pyi +4 -1
- homeassistant-stubs/components/androidtv_remote/remote.pyi +3 -0
- homeassistant-stubs/components/anel_pwrctrl/switch.pyi +2 -1
- homeassistant-stubs/components/apprise/notify.pyi +2 -1
- homeassistant-stubs/components/apsystems/__init__.pyi +9 -2
- homeassistant-stubs/components/apsystems/entity.pyi +10 -0
- homeassistant-stubs/components/apsystems/number.pyi +25 -0
- homeassistant-stubs/components/apsystems/sensor.pyi +6 -7
- homeassistant-stubs/components/aqualogic/sensor.pyi +2 -1
- homeassistant-stubs/components/aqualogic/switch.pyi +2 -1
- homeassistant-stubs/components/aquostv/media_player.pyi +2 -1
- homeassistant-stubs/components/assist_pipeline/pipeline.pyi +8 -7
- homeassistant-stubs/components/assist_pipeline/select.pyi +1 -1
- homeassistant-stubs/components/asuswrt/config_flow.pyi +1 -0
- homeassistant-stubs/components/automation/__init__.pyi +10 -5
- homeassistant-stubs/components/automation/config.pyi +11 -1
- homeassistant-stubs/components/automation/trace.pyi +2 -2
- homeassistant-stubs/components/axis/config_flow.pyi +1 -0
- homeassistant-stubs/components/baf/binary_sensor.pyi +2 -4
- homeassistant-stubs/components/baf/entity.pyi +6 -1
- homeassistant-stubs/components/baf/number.pyi +2 -4
- homeassistant-stubs/components/baf/sensor.pyi +2 -4
- homeassistant-stubs/components/baf/switch.pyi +2 -4
- homeassistant-stubs/components/bang_olufsen/const.pyi +2 -0
- homeassistant-stubs/components/bang_olufsen/media_player.pyi +3 -2
- homeassistant-stubs/components/bayesian/binary_sensor.pyi +2 -1
- homeassistant-stubs/components/binary_sensor/__init__.pyi +3 -2
- homeassistant-stubs/components/bitcoin/sensor.pyi +2 -1
- homeassistant-stubs/components/blockchain/sensor.pyi +2 -1
- homeassistant-stubs/components/blueprint/errors.pyi +1 -1
- homeassistant-stubs/components/blueprint/websocket_api.pyi +6 -3
- homeassistant-stubs/components/bluetooth/passive_update_coordinator.pyi +3 -3
- homeassistant-stubs/components/bmw_connected_drive/const.pyi +0 -1
- homeassistant-stubs/components/bmw_connected_drive/select.pyi +1 -1
- homeassistant-stubs/components/bmw_connected_drive/sensor.pyi +1 -1
- homeassistant-stubs/components/brother/config_flow.pyi +9 -1
- homeassistant-stubs/components/button/__init__.pyi +4 -3
- homeassistant-stubs/components/calendar/__init__.pyi +2 -4
- homeassistant-stubs/components/camera/__init__.pyi +8 -7
- homeassistant-stubs/components/cert_expiry/sensor.pyi +2 -1
- homeassistant-stubs/components/clickatell/notify.pyi +2 -1
- homeassistant-stubs/components/clicksend/notify.pyi +2 -1
- homeassistant-stubs/components/climate/__init__.pyi +5 -4
- homeassistant-stubs/components/cloud/__init__.pyi +1 -1
- homeassistant-stubs/components/cloud/account_link.pyi +1 -1
- homeassistant-stubs/components/cloud/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/cloud/const.pyi +6 -1
- homeassistant-stubs/components/cloud/http_api.pyi +1 -1
- homeassistant-stubs/components/cloud/repairs.pyi +1 -3
- homeassistant-stubs/components/cloud/stt.pyi +1 -1
- homeassistant-stubs/components/cloud/system_health.pyi +1 -3
- homeassistant-stubs/components/cloud/tts.pyi +1 -1
- homeassistant-stubs/components/config/auth_provider_homeassistant.pyi +1 -0
- homeassistant-stubs/components/config/scene.pyi +3 -1
- homeassistant-stubs/components/counter/__init__.pyi +2 -2
- homeassistant-stubs/components/cover/__init__.pyi +3 -2
- homeassistant-stubs/components/demo/tts.pyi +2 -1
- homeassistant-stubs/components/derivative/__init__.pyi +2 -1
- homeassistant-stubs/components/derivative/config_flow.pyi +11 -4
- homeassistant-stubs/components/derivative/sensor.pyi +3 -1
- homeassistant-stubs/components/device_automation/__init__.pyi +2 -2
- homeassistant-stubs/components/dlna_dmr/config_flow.pyi +1 -0
- homeassistant-stubs/components/dnsip/__init__.pyi +4 -2
- homeassistant-stubs/components/dnsip/config_flow.pyi +4 -3
- homeassistant-stubs/components/dnsip/const.pyi +2 -0
- homeassistant-stubs/components/dnsip/sensor.pyi +4 -3
- homeassistant-stubs/components/ecovacs/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/ecovacs/button.pyi +5 -5
- homeassistant-stubs/components/ecovacs/config_flow.pyi +1 -0
- homeassistant-stubs/components/ecovacs/controller.pyi +4 -4
- homeassistant-stubs/components/ecovacs/entity.pyi +8 -10
- homeassistant-stubs/components/ecovacs/event.pyi +3 -3
- homeassistant-stubs/components/ecovacs/image.pyi +2 -2
- homeassistant-stubs/components/ecovacs/lawn_mower.pyi +3 -3
- homeassistant-stubs/components/ecovacs/number.pyi +3 -3
- homeassistant-stubs/components/ecovacs/select.pyi +3 -3
- homeassistant-stubs/components/ecovacs/sensor.pyi +6 -6
- homeassistant-stubs/components/ecovacs/switch.pyi +4 -4
- homeassistant-stubs/components/ecovacs/vacuum.pyi +9 -5
- homeassistant-stubs/components/ecowitt/binary_sensor.pyi +1 -0
- homeassistant-stubs/components/efergy/__init__.pyi +3 -2
- homeassistant-stubs/components/efergy/sensor.pyi +3 -4
- homeassistant-stubs/components/electrasmart/__init__.pyi +12 -0
- homeassistant-stubs/components/electrasmart/climate.pyi +64 -0
- homeassistant-stubs/components/electrasmart/config_flow.pyi +24 -0
- homeassistant-stubs/components/electrasmart/const.pyi +10 -0
- homeassistant-stubs/components/elkm1/alarm_control_panel.pyi +2 -1
- homeassistant-stubs/components/elkm1/const.pyi +2 -1
- homeassistant-stubs/components/elkm1/sensor.pyi +2 -1
- homeassistant-stubs/components/energy/websocket_api.pyi +5 -5
- homeassistant-stubs/components/enigma2/__init__.pyi +3 -2
- homeassistant-stubs/components/enigma2/config_flow.pyi +10 -1
- homeassistant-stubs/components/enigma2/media_player.pyi +3 -2
- homeassistant-stubs/components/enphase_envoy/config_flow.pyi +8 -2
- homeassistant-stubs/components/enphase_envoy/const.pyi +2 -0
- homeassistant-stubs/components/enphase_envoy/diagnostics.pyi +3 -1
- homeassistant-stubs/components/esphome/__init__.pyi +5 -5
- homeassistant-stubs/components/esphome/alarm_control_panel.pyi +3 -5
- homeassistant-stubs/components/esphome/binary_sensor.pyi +2 -3
- homeassistant-stubs/components/esphome/button.pyi +3 -5
- homeassistant-stubs/components/esphome/camera.pyi +3 -5
- homeassistant-stubs/components/esphome/climate.pyi +3 -6
- homeassistant-stubs/components/esphome/cover.pyi +3 -5
- homeassistant-stubs/components/esphome/date.pyi +3 -5
- homeassistant-stubs/components/esphome/datetime.pyi +3 -5
- homeassistant-stubs/components/esphome/diagnostics.pyi +3 -3
- homeassistant-stubs/components/esphome/domain_data.pyi +4 -8
- homeassistant-stubs/components/esphome/entity.pyi +2 -4
- homeassistant-stubs/components/esphome/entry_data.pyi +4 -3
- homeassistant-stubs/components/esphome/event.pyi +3 -5
- homeassistant-stubs/components/esphome/fan.pyi +3 -6
- homeassistant-stubs/components/esphome/light.pyi +3 -6
- homeassistant-stubs/components/esphome/lock.pyi +3 -5
- homeassistant-stubs/components/esphome/manager.pyi +4 -5
- homeassistant-stubs/components/esphome/media_player.pyi +3 -5
- homeassistant-stubs/components/esphome/number.pyi +3 -5
- homeassistant-stubs/components/esphome/select.pyi +2 -4
- homeassistant-stubs/components/esphome/switch.pyi +3 -5
- homeassistant-stubs/components/esphome/text.pyi +3 -5
- homeassistant-stubs/components/esphome/time.pyi +3 -5
- homeassistant-stubs/components/esphome/update.pyi +23 -2
- homeassistant-stubs/components/esphome/valve.pyi +3 -5
- homeassistant-stubs/components/event/__init__.pyi +3 -1
- homeassistant-stubs/components/evohome/__init__.pyi +8 -49
- homeassistant-stubs/components/evohome/climate.pyi +2 -2
- homeassistant-stubs/components/evohome/const.pyi +39 -16
- homeassistant-stubs/components/evohome/coordinator.pyi +33 -0
- homeassistant-stubs/components/evohome/helpers.pyi +13 -0
- homeassistant-stubs/components/fan/__init__.pyi +3 -2
- homeassistant-stubs/components/fastdotcom/__init__.pyi +2 -7
- homeassistant-stubs/components/fastdotcom/config_flow.pyi +0 -2
- homeassistant-stubs/components/feedreader/__init__.pyi +10 -5
- homeassistant-stubs/components/feedreader/config_flow.pyi +30 -0
- homeassistant-stubs/components/feedreader/const.pyi +5 -0
- homeassistant-stubs/components/feedreader/coordinator.pyi +4 -4
- homeassistant-stubs/components/filter/sensor.pyi +2 -1
- homeassistant-stubs/components/flux_led/light.pyi +4 -3
- homeassistant-stubs/components/fritz/switch.pyi +1 -1
- homeassistant-stubs/components/fritzbox/climate.pyi +14 -9
- homeassistant-stubs/components/fritzbox/switch.pyi +3 -0
- homeassistant-stubs/components/fronius/config_flow.pyi +3 -2
- homeassistant-stubs/components/frontend/__init__.pyi +9 -4
- homeassistant-stubs/components/fully_kiosk/camera.pyi +21 -0
- homeassistant-stubs/components/fully_kiosk/image.pyi +30 -0
- homeassistant-stubs/components/fully_kiosk/media_player.pyi +2 -0
- homeassistant-stubs/components/fully_kiosk/notify.pyi +25 -0
- homeassistant-stubs/components/generic_hygrostat/__init__.pyi +4 -0
- homeassistant-stubs/components/generic_hygrostat/config_flow.pyi +19 -0
- homeassistant-stubs/components/generic_hygrostat/humidifier.pyi +7 -2
- homeassistant-stubs/components/generic_thermostat/__init__.pyi +6 -0
- homeassistant-stubs/components/generic_thermostat/climate.pyi +7 -1
- homeassistant-stubs/components/generic_thermostat/config_flow.pyi +19 -0
- homeassistant-stubs/components/geo_location/__init__.pyi +4 -3
- homeassistant-stubs/components/glances/__init__.pyi +3 -2
- homeassistant-stubs/components/glances/sensor.pyi +2 -3
- homeassistant-stubs/components/goalzero/__init__.pyi +3 -5
- homeassistant-stubs/components/goalzero/binary_sensor.pyi +2 -3
- homeassistant-stubs/components/goalzero/coordinator.pyi +3 -1
- homeassistant-stubs/components/goalzero/sensor.pyi +2 -3
- homeassistant-stubs/components/goalzero/switch.pyi +2 -3
- homeassistant-stubs/components/google_assistant_sdk/__init__.pyi +2 -2
- homeassistant-stubs/components/google_assistant_sdk/diagnostics.pyi +9 -0
- homeassistant-stubs/components/google_assistant_sdk/helpers.pyi +1 -0
- homeassistant-stubs/components/google_sheets/__init__.pyi +4 -3
- homeassistant-stubs/components/google_sheets/config_flow.pyi +3 -2
- homeassistant-stubs/components/gpsd/sensor.pyi +2 -1
- homeassistant-stubs/components/group/binary_sensor.pyi +2 -1
- homeassistant-stubs/components/group/cover.pyi +2 -1
- homeassistant-stubs/components/group/entity.pyi +2 -2
- homeassistant-stubs/components/group/event.pyi +2 -1
- homeassistant-stubs/components/group/fan.pyi +2 -1
- homeassistant-stubs/components/group/light.pyi +2 -1
- homeassistant-stubs/components/group/lock.pyi +2 -1
- homeassistant-stubs/components/group/media_player.pyi +2 -1
- homeassistant-stubs/components/group/notify.pyi +2 -1
- homeassistant-stubs/components/group/registry.pyi +8 -2
- homeassistant-stubs/components/group/switch.pyi +2 -1
- homeassistant-stubs/components/history_stats/sensor.pyi +4 -1
- homeassistant-stubs/components/homeassistant/const.pyi +3 -1
- homeassistant-stubs/components/homekit/aidmanager.pyi +2 -2
- homeassistant-stubs/components/homekit_controller/config_flow.pyi +1 -0
- homeassistant-stubs/components/homeworks/__init__.pyi +2 -5
- homeassistant-stubs/components/homeworks/config_flow.pyi +1 -6
- homeassistant-stubs/components/http/__init__.pyi +20 -3
- homeassistant-stubs/components/http/cors.pyi +1 -1
- homeassistant-stubs/components/http/data_validator.pyi +2 -1
- homeassistant-stubs/components/humidifier/__init__.pyi +3 -2
- homeassistant-stubs/components/humidifier/device_action.pyi +1 -1
- homeassistant-stubs/components/husqvarna_automower/__init__.pyi +3 -3
- homeassistant-stubs/components/husqvarna_automower/binary_sensor.pyi +2 -3
- homeassistant-stubs/components/husqvarna_automower/button.pyi +22 -0
- homeassistant-stubs/components/husqvarna_automower/device_tracker.pyi +2 -3
- homeassistant-stubs/components/husqvarna_automower/diagnostics.pyi +2 -2
- homeassistant-stubs/components/husqvarna_automower/entity.pyi +7 -1
- homeassistant-stubs/components/husqvarna_automower/lawn_mower.pyi +14 -5
- homeassistant-stubs/components/husqvarna_automower/number.pyi +4 -5
- homeassistant-stubs/components/husqvarna_automower/select.pyi +2 -3
- homeassistant-stubs/components/husqvarna_automower/sensor.pyi +10 -5
- homeassistant-stubs/components/husqvarna_automower/switch.pyi +4 -8
- homeassistant-stubs/components/hydrawise/coordinator.pyi +3 -3
- homeassistant-stubs/components/hydrawise/sensor.pyi +3 -0
- homeassistant-stubs/components/ibeacon/config_flow.pyi +1 -0
- homeassistant-stubs/components/idasen_desk/coordinator.pyi +2 -5
- homeassistant-stubs/components/idasen_desk/sensor.pyi +3 -0
- homeassistant-stubs/components/image/__init__.pyi +3 -2
- homeassistant-stubs/components/image_upload/__init__.pyi +7 -3
- homeassistant-stubs/components/imap/__init__.pyi +5 -4
- homeassistant-stubs/components/imap/diagnostics.pyi +3 -5
- homeassistant-stubs/components/imap/sensor.pyi +5 -5
- homeassistant-stubs/components/input_button/__init__.pyi +3 -4
- homeassistant-stubs/components/input_select/__init__.pyi +2 -2
- homeassistant-stubs/components/input_text/__init__.pyi +3 -4
- homeassistant-stubs/components/integration/__init__.pyi +2 -0
- homeassistant-stubs/components/integration/config_flow.pyi +1 -1
- homeassistant-stubs/components/integration/const.pyi +1 -0
- homeassistant-stubs/components/integration/sensor.pyi +33 -12
- homeassistant-stubs/components/intent/timers.pyi +7 -3
- homeassistant-stubs/components/islamic_prayer_times/__init__.pyi +4 -3
- homeassistant-stubs/components/islamic_prayer_times/sensor.pyi +3 -3
- homeassistant-stubs/components/isy994/services.pyi +3 -2
- homeassistant-stubs/components/jewish_calendar/binary_sensor.pyi +6 -12
- homeassistant-stubs/components/jewish_calendar/entity.pyi +19 -0
- homeassistant-stubs/components/jewish_calendar/sensor.pyi +8 -13
- homeassistant-stubs/components/knocki/__init__.pyi +12 -0
- homeassistant-stubs/components/knocki/config_flow.pyi +12 -0
- homeassistant-stubs/components/knocki/const.pyi +4 -0
- homeassistant-stubs/components/knocki/coordinator.pyi +13 -0
- homeassistant-stubs/components/knocki/event.pyi +26 -0
- homeassistant-stubs/components/knx/config_flow.pyi +1 -1
- homeassistant-stubs/components/knx/device_trigger.pyi +1 -1
- homeassistant-stubs/components/knx/trigger.pyi +2 -3
- homeassistant-stubs/components/knx/websocket.pyi +1 -0
- homeassistant-stubs/components/lacrosse/sensor.pyi +2 -1
- homeassistant-stubs/components/lamarzocco/__init__.pyi +8 -3
- homeassistant-stubs/components/lamarzocco/binary_sensor.pyi +4 -5
- homeassistant-stubs/components/lamarzocco/button.pyi +4 -5
- homeassistant-stubs/components/lamarzocco/calendar.pyi +9 -3
- homeassistant-stubs/components/lamarzocco/config_flow.pyi +7 -3
- homeassistant-stubs/components/lamarzocco/const.pyi +1 -2
- homeassistant-stubs/components/lamarzocco/coordinator.pyi +13 -11
- homeassistant-stubs/components/lamarzocco/diagnostics.pyi +10 -5
- homeassistant-stubs/components/lamarzocco/entity.pyi +3 -3
- homeassistant-stubs/components/lamarzocco/number.pyi +9 -13
- homeassistant-stubs/components/lamarzocco/select.pyi +13 -7
- homeassistant-stubs/components/lamarzocco/sensor.pyi +4 -5
- homeassistant-stubs/components/lamarzocco/switch.pyi +21 -6
- homeassistant-stubs/components/lamarzocco/update.pyi +5 -10
- homeassistant-stubs/components/lawn_mower/__init__.pyi +3 -2
- homeassistant-stubs/components/lidarr/__init__.pyi +12 -2
- homeassistant-stubs/components/lidarr/config_flow.pyi +2 -1
- homeassistant-stubs/components/lidarr/coordinator.pyi +0 -1
- homeassistant-stubs/components/lidarr/sensor.pyi +3 -4
- homeassistant-stubs/components/lifx/light.pyi +3 -2
- homeassistant-stubs/components/light/__init__.pyi +8 -6
- homeassistant-stubs/components/light/device_action.pyi +1 -1
- homeassistant-stubs/components/litterrobot/__init__.pyi +4 -3
- homeassistant-stubs/components/litterrobot/binary_sensor.pyi +2 -4
- homeassistant-stubs/components/litterrobot/button.pyi +2 -4
- homeassistant-stubs/components/litterrobot/select.pyi +2 -3
- homeassistant-stubs/components/litterrobot/sensor.pyi +2 -4
- homeassistant-stubs/components/litterrobot/switch.pyi +2 -4
- homeassistant-stubs/components/litterrobot/time.pyi +2 -4
- homeassistant-stubs/components/litterrobot/update.pyi +3 -4
- homeassistant-stubs/components/litterrobot/vacuum.pyi +2 -4
- homeassistant-stubs/components/lock/__init__.pyi +4 -3
- homeassistant-stubs/components/logbook/processor.pyi +4 -3
- homeassistant-stubs/components/london_underground/sensor.pyi +2 -1
- homeassistant-stubs/components/mastodon/notify.pyi +2 -1
- homeassistant-stubs/components/matrix/notify.pyi +2 -1
- homeassistant-stubs/components/matter/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/matter/discovery.pyi +3 -3
- homeassistant-stubs/components/matter/entity.pyi +8 -1
- homeassistant-stubs/components/matter/event.pyi +0 -2
- homeassistant-stubs/components/matter/fan.pyi +2 -2
- homeassistant-stubs/components/matter/lock.pyi +1 -0
- homeassistant-stubs/components/matter/models.pyi +1 -2
- homeassistant-stubs/components/matter/number.pyi +24 -0
- homeassistant-stubs/components/matter/sensor.pyi +1 -1
- homeassistant-stubs/components/media_player/__init__.pyi +3 -2
- homeassistant-stubs/components/media_player/intent.pyi +2 -1
- homeassistant-stubs/components/mikrotik/__init__.pyi +2 -1
- homeassistant-stubs/components/mikrotik/device_tracker.pyi +2 -3
- homeassistant-stubs/components/min_max/sensor.pyi +2 -1
- homeassistant-stubs/components/modbus/sensor.pyi +2 -2
- homeassistant-stubs/components/monzo/config_flow.pyi +5 -1
- homeassistant-stubs/components/monzo/coordinator.pyi +1 -0
- homeassistant-stubs/components/motionmount/select.pyi +5 -2
- homeassistant-stubs/components/mqtt/async_client.pyi +22 -0
- homeassistant-stubs/components/mqtt/client.pyi +13 -28
- homeassistant-stubs/components/mqtt/climate.pyi +2 -3
- homeassistant-stubs/components/mqtt/cover.pyi +2 -3
- homeassistant-stubs/components/mqtt/device_tracker.pyi +2 -3
- homeassistant-stubs/components/mqtt/event.pyi +2 -3
- homeassistant-stubs/components/mqtt/fan.pyi +2 -3
- homeassistant-stubs/components/mqtt/humidifier.pyi +2 -3
- homeassistant-stubs/components/mqtt/image.pyi +2 -3
- homeassistant-stubs/components/mqtt/lawn_mower.pyi +2 -3
- homeassistant-stubs/components/mqtt/light/__init__.pyi +1 -1
- homeassistant-stubs/components/mqtt/light/schema_basic.pyi +2 -3
- homeassistant-stubs/components/mqtt/light/schema_json.pyi +2 -3
- homeassistant-stubs/components/mqtt/light/schema_template.pyi +2 -3
- homeassistant-stubs/components/mqtt/mixins.pyi +4 -4
- homeassistant-stubs/components/mqtt/models.pyi +2 -3
- homeassistant-stubs/components/mqtt/number.pyi +2 -3
- homeassistant-stubs/components/mqtt/select.pyi +2 -3
- homeassistant-stubs/components/mqtt/sensor.pyi +2 -3
- homeassistant-stubs/components/mqtt/siren.pyi +2 -3
- homeassistant-stubs/components/mqtt/text.pyi +2 -3
- homeassistant-stubs/components/mqtt/update.pyi +2 -3
- homeassistant-stubs/components/mqtt/util.pyi +23 -2
- homeassistant-stubs/components/mqtt/vacuum.pyi +2 -3
- homeassistant-stubs/components/mqtt/valve.pyi +2 -3
- homeassistant-stubs/components/mqtt/water_heater.pyi +2 -3
- homeassistant-stubs/components/mysensors/config_flow.pyi +1 -0
- homeassistant-stubs/components/mysensors/sensor.pyi +1 -1
- homeassistant-stubs/components/myuplink/__init__.pyi +4 -1
- homeassistant-stubs/components/myuplink/binary_sensor.pyi +2 -4
- homeassistant-stubs/components/myuplink/diagnostics.pyi +2 -4
- homeassistant-stubs/components/myuplink/number.pyi +2 -4
- homeassistant-stubs/components/myuplink/sensor.pyi +3 -5
- homeassistant-stubs/components/myuplink/switch.pyi +2 -4
- homeassistant-stubs/components/myuplink/update.pyi +2 -4
- homeassistant-stubs/components/nam/const.pyi +1 -0
- homeassistant-stubs/components/nam/sensor.pyi +1 -1
- homeassistant-stubs/components/nanoleaf/__init__.pyi +6 -14
- homeassistant-stubs/components/nanoleaf/button.pyi +4 -7
- homeassistant-stubs/components/nanoleaf/coordinator.pyi +12 -0
- homeassistant-stubs/components/nanoleaf/device_trigger.pyi +1 -0
- homeassistant-stubs/components/nanoleaf/diagnostics.pyi +2 -4
- homeassistant-stubs/components/nanoleaf/entity.pyi +4 -4
- homeassistant-stubs/components/nanoleaf/event.pyi +18 -0
- homeassistant-stubs/components/nanoleaf/light.pyi +4 -7
- homeassistant-stubs/components/number/__init__.pyi +3 -1
- homeassistant-stubs/components/number/const.pyi +2 -1
- homeassistant-stubs/components/overkiz/water_heater.pyi +2 -1
- homeassistant-stubs/components/overkiz/water_heater_entities/__init__.pyi +2 -0
- homeassistant-stubs/components/overkiz/water_heater_entities/atlantic_domestic_hot_water_production_mlb_component.pyi +32 -0
- homeassistant-stubs/components/ping/binary_sensor.pyi +2 -8
- homeassistant-stubs/components/ping/config_flow.pyi +2 -4
- homeassistant-stubs/components/ping/device_tracker.pyi +4 -14
- homeassistant-stubs/components/plugwise/button.pyi +20 -0
- homeassistant-stubs/components/plugwise/const.pyi +3 -0
- homeassistant-stubs/components/plugwise/coordinator.pyi +5 -3
- homeassistant-stubs/components/plugwise/number.pyi +2 -4
- homeassistant-stubs/components/plugwise/select.pyi +3 -5
- homeassistant-stubs/components/prometheus/__init__.pyi +1 -1
- homeassistant-stubs/components/proximity/config_flow.pyi +2 -1
- homeassistant-stubs/components/radarr/__init__.pyi +14 -2
- homeassistant-stubs/components/radarr/binary_sensor.pyi +3 -4
- homeassistant-stubs/components/radarr/calendar.pyi +2 -4
- homeassistant-stubs/components/radarr/config_flow.pyi +3 -4
- homeassistant-stubs/components/radarr/coordinator.pyi +2 -2
- homeassistant-stubs/components/radarr/sensor.pyi +2 -4
- homeassistant-stubs/components/rainmachine/switch.pyi +1 -0
- homeassistant-stubs/components/recorder/const.pyi +3 -1
- homeassistant-stubs/components/recorder/core.pyi +2 -2
- homeassistant-stubs/components/recorder/db_schema.pyi +3 -1
- homeassistant-stubs/components/recorder/purge.pyi +1 -1
- homeassistant-stubs/components/recorder/statistics.pyi +7 -4
- homeassistant-stubs/components/recorder/table_managers/event_data.pyi +3 -3
- homeassistant-stubs/components/recorder/table_managers/event_types.pyi +1 -1
- homeassistant-stubs/components/recorder/table_managers/state_attributes.pyi +3 -3
- homeassistant-stubs/components/recorder/table_managers/states_meta.pyi +1 -1
- homeassistant-stubs/components/recorder/util.pyi +4 -3
- homeassistant-stubs/components/remote/__init__.pyi +5 -4
- homeassistant-stubs/components/rest/binary_sensor.pyi +2 -1
- homeassistant-stubs/components/rest/notify.pyi +2 -1
- homeassistant-stubs/components/rest/sensor.pyi +2 -1
- homeassistant-stubs/components/rest/switch.pyi +2 -1
- homeassistant-stubs/components/rfxtrx/config_flow.pyi +1 -0
- homeassistant-stubs/components/roborock/__init__.pyi +30 -0
- homeassistant-stubs/components/roborock/binary_sensor.pyi +29 -0
- homeassistant-stubs/components/roborock/button.pyi +28 -0
- homeassistant-stubs/components/roborock/config_flow.pyi +30 -0
- homeassistant-stubs/components/roborock/const.pyi +13 -0
- homeassistant-stubs/components/roborock/coordinator.pyi +47 -0
- homeassistant-stubs/components/roborock/device.pyi +53 -0
- homeassistant-stubs/components/roborock/diagnostics.pyi +13 -0
- homeassistant-stubs/components/roborock/image.pyi +37 -0
- homeassistant-stubs/components/roborock/models.pyi +27 -0
- homeassistant-stubs/components/roborock/number.pyi +35 -0
- homeassistant-stubs/components/roborock/select.pyi +37 -0
- homeassistant-stubs/components/roborock/sensor.pyi +47 -0
- homeassistant-stubs/components/roborock/switch.pyi +37 -0
- homeassistant-stubs/components/roborock/time.pyi +38 -0
- homeassistant-stubs/components/roborock/vacuum.pyi +39 -0
- homeassistant-stubs/components/roku/media_player.pyi +2 -1
- homeassistant-stubs/components/schedule/__init__.pyi +5 -5
- homeassistant-stubs/components/select/__init__.pyi +3 -1
- homeassistant-stubs/components/sensor/__init__.pyi +3 -1
- homeassistant-stubs/components/sensor/const.pyi +3 -2
- homeassistant-stubs/components/sensor/device_condition.pyi +1 -0
- homeassistant-stubs/components/sensor/device_trigger.pyi +1 -0
- homeassistant-stubs/components/shelly/__init__.pyi +1 -2
- homeassistant-stubs/components/shelly/climate.pyi +3 -0
- homeassistant-stubs/components/shelly/const.pyi +0 -1
- homeassistant-stubs/components/shelly/coordinator.pyi +3 -2
- homeassistant-stubs/components/shelly/switch.pyi +2 -18
- homeassistant-stubs/components/shelly/valve.pyi +1 -1
- homeassistant-stubs/components/simplisafe/alarm_control_panel.pyi +4 -5
- homeassistant-stubs/components/siren/__init__.pyi +4 -3
- homeassistant-stubs/components/sql/sensor.pyi +2 -1
- homeassistant-stubs/components/starlink/const.pyi +1 -0
- homeassistant-stubs/components/starlink/device_tracker.pyi +6 -2
- homeassistant-stubs/components/statistics/__init__.pyi +8 -1
- homeassistant-stubs/components/statistics/config_flow.pyi +23 -0
- homeassistant-stubs/components/statistics/sensor.pyi +7 -2
- homeassistant-stubs/components/stream/fmp4utils.pyi +2 -2
- homeassistant-stubs/components/stream/worker.pyi +3 -2
- homeassistant-stubs/components/streamlabswater/__init__.pyi +1 -6
- homeassistant-stubs/components/streamlabswater/config_flow.pyi +0 -1
- homeassistant-stubs/components/suez_water/config_flow.pyi +0 -1
- homeassistant-stubs/components/suez_water/sensor.pyi +3 -8
- homeassistant-stubs/components/switch/__init__.pyi +4 -3
- homeassistant-stubs/components/switch/light.pyi +2 -1
- homeassistant-stubs/components/switcher_kis/__init__.pyi +3 -0
- homeassistant-stubs/components/switcher_kis/switch.pyi +3 -2
- homeassistant-stubs/components/synology_dsm/config_flow.pyi +2 -2
- homeassistant-stubs/components/systemmonitor/config_flow.pyi +0 -2
- homeassistant-stubs/components/systemmonitor/sensor.pyi +4 -7
- homeassistant-stubs/components/tag/__init__.pyi +4 -5
- homeassistant-stubs/components/tami4/__init__.pyi +1 -1
- homeassistant-stubs/components/tami4/coordinator.pyi +3 -5
- homeassistant-stubs/components/tami4/sensor.pyi +3 -3
- homeassistant-stubs/components/tautulli/__init__.pyi +3 -2
- homeassistant-stubs/components/tautulli/coordinator.pyi +2 -2
- homeassistant-stubs/components/tautulli/sensor.pyi +3 -3
- homeassistant-stubs/components/threshold/__init__.pyi +2 -1
- homeassistant-stubs/components/threshold/binary_sensor.pyi +11 -3
- homeassistant-stubs/components/threshold/config_flow.pyi +8 -0
- homeassistant-stubs/components/tibber/__init__.pyi +1 -0
- homeassistant-stubs/components/tibber/sensor.pyi +12 -6
- homeassistant-stubs/components/tibber/services.pyi +15 -0
- homeassistant-stubs/components/time_date/sensor.pyi +3 -3
- homeassistant-stubs/components/timer/__init__.pyi +2 -2
- homeassistant-stubs/components/todo/__init__.pyi +3 -2
- homeassistant-stubs/components/tplink/__init__.pyi +14 -8
- homeassistant-stubs/components/tplink/binary_sensor.pyi +22 -0
- homeassistant-stubs/components/tplink/button.pyi +22 -0
- homeassistant-stubs/components/tplink/climate.pyi +42 -0
- homeassistant-stubs/components/tplink/config_flow.pyi +5 -5
- homeassistant-stubs/components/tplink/const.pyi +5 -1
- homeassistant-stubs/components/tplink/coordinator.pyi +2 -2
- homeassistant-stubs/components/tplink/diagnostics.pyi +2 -4
- homeassistant-stubs/components/tplink/entity.pyi +49 -7
- homeassistant-stubs/components/tplink/fan.pyi +31 -0
- homeassistant-stubs/components/tplink/light.pyi +20 -19
- homeassistant-stubs/components/tplink/number.pyi +27 -0
- homeassistant-stubs/components/tplink/select.pyi +26 -0
- homeassistant-stubs/components/tplink/sensor.pyi +12 -23
- homeassistant-stubs/components/tplink/switch.pyi +12 -35
- homeassistant-stubs/components/tplink_omada/controller.pyi +4 -15
- homeassistant-stubs/components/tplink_omada/coordinator.pyi +20 -1
- homeassistant-stubs/components/tplink_omada/device_tracker.pyi +36 -0
- homeassistant-stubs/components/transmission/__init__.pyi +9 -3
- homeassistant-stubs/components/transmission/sensor.pyi +2 -2
- homeassistant-stubs/components/transmission/switch.pyi +2 -4
- homeassistant-stubs/components/trend/__init__.pyi +2 -1
- homeassistant-stubs/components/trend/binary_sensor.pyi +6 -2
- homeassistant-stubs/components/tts/notify.pyi +2 -1
- homeassistant-stubs/components/unifi/config_flow.pyi +1 -1
- homeassistant-stubs/components/unifi/sensor.pyi +2 -1
- homeassistant-stubs/components/unifi/services.pyi +1 -0
- homeassistant-stubs/components/unifiprotect/__init__.pyi +8 -9
- homeassistant-stubs/components/unifiprotect/binary_sensor.pyi +29 -21
- homeassistant-stubs/components/unifiprotect/button.pyi +8 -9
- homeassistant-stubs/components/unifiprotect/camera.pyi +10 -10
- homeassistant-stubs/components/unifiprotect/const.pyi +0 -1
- homeassistant-stubs/components/unifiprotect/data.pyi +27 -14
- homeassistant-stubs/components/unifiprotect/diagnostics.pyi +2 -4
- homeassistant-stubs/components/unifiprotect/entity.pyi +27 -17
- homeassistant-stubs/components/unifiprotect/light.pyi +3 -6
- homeassistant-stubs/components/unifiprotect/lock.pyi +3 -8
- homeassistant-stubs/components/unifiprotect/media_player.pyi +4 -8
- homeassistant-stubs/components/unifiprotect/media_source.pyi +2 -3
- homeassistant-stubs/components/unifiprotect/migrate.pyi +5 -5
- homeassistant-stubs/components/unifiprotect/models.pyi +16 -17
- homeassistant-stubs/components/unifiprotect/number.pyi +8 -12
- homeassistant-stubs/components/unifiprotect/repairs.pyi +5 -3
- homeassistant-stubs/components/unifiprotect/select.pyi +9 -11
- homeassistant-stubs/components/unifiprotect/sensor.pyi +25 -23
- homeassistant-stubs/components/unifiprotect/services.pyi +0 -4
- homeassistant-stubs/components/unifiprotect/switch.pyi +15 -24
- homeassistant-stubs/components/unifiprotect/text.pyi +8 -11
- homeassistant-stubs/components/unifiprotect/utils.pyi +6 -11
- homeassistant-stubs/components/unifiprotect/views.pyi +2 -4
- homeassistant-stubs/components/update/__init__.pyi +3 -1
- homeassistant-stubs/components/vacuum/__init__.pyi +2 -1
- homeassistant-stubs/components/vallox/sensor.pyi +5 -1
- homeassistant-stubs/components/valve/__init__.pyi +3 -2
- homeassistant-stubs/components/water_heater/__init__.pyi +4 -3
- homeassistant-stubs/components/weather/__init__.pyi +4 -5
- homeassistant-stubs/components/webhook/__init__.pyi +1 -1
- homeassistant-stubs/components/webostv/__init__.pyi +7 -0
- homeassistant-stubs/components/websocket_api/__init__.pyi +3 -4
- homeassistant-stubs/components/websocket_api/decorators.pyi +2 -1
- homeassistant-stubs/components/wemo/entity.pyi +2 -2
- homeassistant-stubs/components/wemo/fan.pyi +2 -1
- homeassistant-stubs/components/withings/coordinator.pyi +3 -3
- homeassistant-stubs/components/withings/sensor.pyi +6 -2
- homeassistant-stubs/components/worldclock/sensor.pyi +2 -1
- homeassistant-stubs/components/xiaomi_ble/sensor.pyi +1 -1
- homeassistant-stubs/components/zone/__init__.pyi +3 -3
- homeassistant-stubs/components/zwave_js/__init__.pyi +1 -1
- homeassistant-stubs/components/zwave_js/api.pyi +1 -5
- homeassistant-stubs/components/zwave_js/config_flow.pyi +8 -1
- homeassistant-stubs/components/zwave_js/const.pyi +5 -0
- homeassistant-stubs/components/zwave_js/discovery.pyi +4 -4
- homeassistant-stubs/components/zwave_js/helpers.pyi +2 -2
- homeassistant-stubs/components/zwave_js/sensor.pyi +2 -0
- homeassistant-stubs/components/zwave_js/services.pyi +3 -2
- homeassistant-stubs/config.pyi +4 -5
- homeassistant-stubs/config_entries.pyi +6 -3
- homeassistant-stubs/const.pyi +9 -3
- homeassistant-stubs/core.pyi +15 -10
- homeassistant-stubs/data_entry_flow.pyi +12 -2
- homeassistant-stubs/exceptions.pyi +6 -5
- homeassistant-stubs/helpers/__init__.pyi +0 -5
- homeassistant-stubs/helpers/collection.pyi +14 -11
- homeassistant-stubs/helpers/condition.pyi +3 -2
- homeassistant-stubs/helpers/config_validation.pyi +5 -4
- homeassistant-stubs/helpers/deprecation.pyi +10 -0
- homeassistant-stubs/helpers/device.pyi +8 -0
- homeassistant-stubs/helpers/device_registry.pyi +14 -2
- homeassistant-stubs/helpers/entity.pyi +3 -2
- homeassistant-stubs/helpers/entity_component.pyi +3 -4
- homeassistant-stubs/helpers/entity_platform.pyi +2 -3
- homeassistant-stubs/helpers/event.pyi +10 -4
- homeassistant-stubs/helpers/frame.pyi +1 -0
- homeassistant-stubs/helpers/http.pyi +1 -1
- homeassistant-stubs/helpers/intent.pyi +6 -4
- homeassistant-stubs/helpers/llm.pyi +17 -3
- homeassistant-stubs/helpers/schema_config_entry_flow.pyi +2 -2
- homeassistant-stubs/helpers/script.pyi +3 -2
- homeassistant-stubs/helpers/selector.pyi +10 -8
- homeassistant-stubs/helpers/service.pyi +6 -3
- homeassistant-stubs/helpers/template.pyi +8 -6
- homeassistant-stubs/helpers/trace.pyi +3 -2
- homeassistant-stubs/helpers/typing.pyi +6 -1
- homeassistant-stubs/helpers/update_coordinator.pyi +3 -3
- homeassistant-stubs/loader.pyi +1 -2
- homeassistant-stubs/requirements.pyi +0 -3
- homeassistant-stubs/setup.pyi +4 -3
- homeassistant-stubs/util/loop.pyi +5 -1
- homeassistant-stubs/util/unit_conversion.pyi +7 -1
- {homeassistant_stubs-2024.6.4.dist-info → homeassistant_stubs-2024.7.0.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2024.6.4.dist-info → homeassistant_stubs-2024.7.0.dist-info}/RECORD +597 -560
- homeassistant-stubs/auth/providers/legacy_api_password.pyi +0 -30
- homeassistant-stubs/components/air_quality/group.pyi +0 -5
- homeassistant-stubs/components/aladdin_connect/api.pyi +0 -12
- homeassistant-stubs/components/aladdin_connect/application_credentials.pyi +0 -5
- homeassistant-stubs/components/aladdin_connect/const.pyi +0 -3
- homeassistant-stubs/components/aladdin_connect/coordinator.pyi +0 -15
- homeassistant-stubs/components/aladdin_connect/cover.pyi +0 -25
- homeassistant-stubs/components/aladdin_connect/entity.pyi +0 -12
- homeassistant-stubs/components/aladdin_connect/sensor.pyi +0 -27
- homeassistant-stubs/components/alarm_control_panel/group.pyi +0 -6
- homeassistant-stubs/components/climate/group.pyi +0 -6
- homeassistant-stubs/components/cover/group.pyi +0 -6
- homeassistant-stubs/components/device_tracker/group.pyi +0 -6
- homeassistant-stubs/components/fastdotcom/services.pyi +0 -7
- homeassistant-stubs/components/lock/group.pyi +0 -6
- homeassistant-stubs/components/media_player/group.pyi +0 -6
- homeassistant-stubs/components/sensor/group.pyi +0 -5
- homeassistant-stubs/components/vacuum/group.pyi +0 -6
- homeassistant-stubs/components/water_heater/group.pyi +0 -6
- homeassistant-stubs/components/weather/group.pyi +0 -5
- homeassistant-stubs/components/wled/binary_sensor.pyi +0 -20
- {homeassistant_stubs-2024.6.4.dist-info → homeassistant_stubs-2024.7.0.dist-info}/LICENSE +0 -0
- {homeassistant_stubs-2024.6.4.dist-info → homeassistant_stubs-2024.7.0.dist-info}/WHEEL +0 -0
@@ -1,4 +1,5 @@
|
|
1
|
-
from .
|
1
|
+
from . import AirzoneConfigEntry as AirzoneConfigEntry
|
2
|
+
from .const import TEMP_UNIT_LIB_TO_HASS as TEMP_UNIT_LIB_TO_HASS
|
2
3
|
from .coordinator import AirzoneUpdateCoordinator as AirzoneUpdateCoordinator
|
3
4
|
from .entity import AirzoneHotWaterEntity as AirzoneHotWaterEntity
|
4
5
|
from _typeshed import Incomplete
|
@@ -13,7 +14,7 @@ from typing import Any, Final
|
|
13
14
|
OPERATION_LIB_TO_HASS: Final[dict[HotWaterOperation, str]]
|
14
15
|
OPERATION_MODE_TO_DHW_PARAMS: Final[dict[str, dict[str, Any]]]
|
15
16
|
|
16
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
17
|
+
async def async_setup_entry(hass: HomeAssistant, entry: AirzoneConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
17
18
|
|
18
19
|
class AirzoneWaterHeater(AirzoneHotWaterEntity, WaterHeaterEntity):
|
19
20
|
_attr_name: Incomplete
|
@@ -1,4 +1,3 @@
|
|
1
|
-
from .const import DOMAIN as DOMAIN
|
2
1
|
from .coordinator import AirzoneUpdateCoordinator as AirzoneUpdateCoordinator
|
3
2
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
4
3
|
from homeassistant.const import CONF_ID as CONF_ID, CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME, Platform as Platform
|
@@ -6,6 +5,7 @@ from homeassistant.core import HomeAssistant as HomeAssistant
|
|
6
5
|
from homeassistant.helpers import aiohttp_client as aiohttp_client
|
7
6
|
|
8
7
|
PLATFORMS: list[Platform]
|
8
|
+
AirzoneCloudConfigEntry = ConfigEntry[AirzoneUpdateCoordinator]
|
9
9
|
|
10
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
11
|
-
async def async_unload_entry(hass: HomeAssistant, entry:
|
10
|
+
async def async_setup_entry(hass: HomeAssistant, entry: AirzoneCloudConfigEntry) -> bool: ...
|
11
|
+
async def async_unload_entry(hass: HomeAssistant, entry: AirzoneCloudConfigEntry) -> bool: ...
|
@@ -1,11 +1,10 @@
|
|
1
1
|
import abc
|
2
|
-
from .
|
2
|
+
from . import AirzoneCloudConfigEntry as AirzoneCloudConfigEntry
|
3
3
|
from .coordinator import AirzoneUpdateCoordinator as AirzoneUpdateCoordinator
|
4
4
|
from .entity import AirzoneAidooEntity as AirzoneAidooEntity, AirzoneEntity as AirzoneEntity, AirzoneSystemEntity as AirzoneSystemEntity, AirzoneZoneEntity as AirzoneZoneEntity
|
5
5
|
from _typeshed import Incomplete
|
6
6
|
from dataclasses import dataclass
|
7
7
|
from homeassistant.components.binary_sensor import BinarySensorDeviceClass as BinarySensorDeviceClass, BinarySensorEntity as BinarySensorEntity, BinarySensorEntityDescription as BinarySensorEntityDescription
|
8
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
9
8
|
from homeassistant.const import EntityCategory as EntityCategory
|
10
9
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
11
10
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
@@ -20,7 +19,7 @@ AIDOO_BINARY_SENSOR_TYPES: Final[tuple[AirzoneBinarySensorEntityDescription, ...
|
|
20
19
|
SYSTEM_BINARY_SENSOR_TYPES: Final[tuple[AirzoneBinarySensorEntityDescription, ...]]
|
21
20
|
ZONE_BINARY_SENSOR_TYPES: Final[tuple[AirzoneBinarySensorEntityDescription, ...]]
|
22
21
|
|
23
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
22
|
+
async def async_setup_entry(hass: HomeAssistant, entry: AirzoneCloudConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
24
23
|
|
25
24
|
class AirzoneBinarySensor(AirzoneEntity, BinarySensorEntity, metaclass=abc.ABCMeta):
|
26
25
|
entity_description: AirzoneBinarySensorEntityDescription
|
@@ -1,11 +1,10 @@
|
|
1
1
|
import abc
|
2
|
-
from .
|
2
|
+
from . import AirzoneCloudConfigEntry as AirzoneCloudConfigEntry
|
3
3
|
from .coordinator import AirzoneUpdateCoordinator as AirzoneUpdateCoordinator
|
4
4
|
from .entity import AirzoneAidooEntity as AirzoneAidooEntity, AirzoneEntity as AirzoneEntity, AirzoneGroupEntity as AirzoneGroupEntity, AirzoneInstallationEntity as AirzoneInstallationEntity, AirzoneZoneEntity as AirzoneZoneEntity
|
5
5
|
from _typeshed import Incomplete
|
6
6
|
from aioairzone_cloud.common import OperationAction, OperationMode
|
7
7
|
from homeassistant.components.climate import ATTR_HVAC_MODE as ATTR_HVAC_MODE, ATTR_TARGET_TEMP_HIGH as ATTR_TARGET_TEMP_HIGH, ATTR_TARGET_TEMP_LOW as ATTR_TARGET_TEMP_LOW, ClimateEntity as ClimateEntity, ClimateEntityFeature as ClimateEntityFeature, FAN_AUTO as FAN_AUTO, FAN_HIGH as FAN_HIGH, FAN_LOW as FAN_LOW, FAN_MEDIUM as FAN_MEDIUM, HVACAction as HVACAction, HVACMode as HVACMode
|
8
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
9
8
|
from homeassistant.const import ATTR_TEMPERATURE as ATTR_TEMPERATURE, UnitOfTemperature as UnitOfTemperature
|
10
9
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
11
10
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
@@ -18,7 +17,7 @@ HVAC_ACTION_LIB_TO_HASS: Final[dict[OperationAction, HVACAction]]
|
|
18
17
|
HVAC_MODE_LIB_TO_HASS: Final[dict[OperationMode, HVACMode]]
|
19
18
|
HVAC_MODE_HASS_TO_LIB: Final[dict[HVACMode, OperationMode]]
|
20
19
|
|
21
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
20
|
+
async def async_setup_entry(hass: HomeAssistant, entry: AirzoneCloudConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
22
21
|
|
23
22
|
class AirzoneClimate(AirzoneEntity, ClimateEntity, metaclass=abc.ABCMeta):
|
24
23
|
_attr_name: Incomplete
|
@@ -31,6 +30,7 @@ class AirzoneClimate(AirzoneEntity, ClimateEntity, metaclass=abc.ABCMeta):
|
|
31
30
|
_attr_current_temperature: Incomplete
|
32
31
|
_attr_current_humidity: Incomplete
|
33
32
|
_attr_hvac_action: Incomplete
|
33
|
+
_attr_fan_mode: Incomplete
|
34
34
|
_attr_hvac_mode: Incomplete
|
35
35
|
_attr_max_temp: Incomplete
|
36
36
|
_attr_min_temp: Incomplete
|
@@ -41,8 +41,13 @@ class AirzoneClimate(AirzoneEntity, ClimateEntity, metaclass=abc.ABCMeta):
|
|
41
41
|
|
42
42
|
class AirzoneDeviceClimate(AirzoneClimate, metaclass=abc.ABCMeta):
|
43
43
|
_attr_supported_features: Incomplete
|
44
|
+
_speeds: dict[int, str]
|
45
|
+
_speeds_reverse: dict[str, int]
|
46
|
+
_attr_fan_modes: Incomplete
|
47
|
+
def _initialize_fan_speeds(self) -> None: ...
|
44
48
|
async def async_turn_on(self) -> None: ...
|
45
49
|
async def async_turn_off(self) -> None: ...
|
50
|
+
async def async_set_fan_mode(self, fan_mode: str) -> None: ...
|
46
51
|
async def async_set_temperature(self, **kwargs: Any) -> None: ...
|
47
52
|
|
48
53
|
class AirzoneDeviceGroupClimate(AirzoneClimate, metaclass=abc.ABCMeta):
|
@@ -53,16 +58,9 @@ class AirzoneDeviceGroupClimate(AirzoneClimate, metaclass=abc.ABCMeta):
|
|
53
58
|
async def async_set_hvac_mode(self, hvac_mode: HVACMode) -> None: ...
|
54
59
|
|
55
60
|
class AirzoneAidooClimate(AirzoneAidooEntity, AirzoneDeviceClimate):
|
56
|
-
_speeds: dict[int, str]
|
57
|
-
_speeds_reverse: dict[str, int]
|
58
61
|
_attr_unique_id: Incomplete
|
59
62
|
def __init__(self, coordinator: AirzoneUpdateCoordinator, aidoo_id: str, aidoo_data: dict) -> None: ...
|
60
|
-
_attr_fan_modes: Incomplete
|
61
|
-
def _initialize_fan_speeds(self) -> None: ...
|
62
|
-
async def async_set_fan_mode(self, fan_mode: str) -> None: ...
|
63
63
|
async def async_set_hvac_mode(self, hvac_mode: HVACMode) -> None: ...
|
64
|
-
_attr_fan_mode: Incomplete
|
65
|
-
def _async_update_attrs(self) -> None: ...
|
66
64
|
|
67
65
|
class AirzoneGroupClimate(AirzoneGroupEntity, AirzoneDeviceGroupClimate):
|
68
66
|
_attr_unique_id: Incomplete
|
@@ -1,8 +1,6 @@
|
|
1
|
-
from .
|
2
|
-
from .coordinator import AirzoneUpdateCoordinator as AirzoneUpdateCoordinator
|
1
|
+
from . import AirzoneCloudConfigEntry as AirzoneCloudConfigEntry
|
3
2
|
from _typeshed import Incomplete
|
4
3
|
from homeassistant.components.diagnostics.util import async_redact_data as async_redact_data
|
5
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
4
|
from homeassistant.const import CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME
|
7
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
8
6
|
from typing import Any
|
@@ -15,4 +13,4 @@ def gather_ids(api_data: dict[str, Any]) -> dict[str, Any]: ...
|
|
15
13
|
def redact_keys(data: Any, ids: dict[str, Any]) -> Any: ...
|
16
14
|
def redact_values(data: Any, ids: dict[str, Any]) -> Any: ...
|
17
15
|
def redact_all(data: dict[str, Any], ids: dict[str, Any], to_redact: list[str]) -> dict[str, Any]: ...
|
18
|
-
async def async_get_config_entry_diagnostics(hass: HomeAssistant, config_entry:
|
16
|
+
async def async_get_config_entry_diagnostics(hass: HomeAssistant, config_entry: AirzoneCloudConfigEntry) -> dict[str, Any]: ...
|
@@ -1,11 +1,10 @@
|
|
1
1
|
import abc
|
2
|
-
from .
|
2
|
+
from . import AirzoneCloudConfigEntry as AirzoneCloudConfigEntry
|
3
3
|
from .coordinator import AirzoneUpdateCoordinator as AirzoneUpdateCoordinator
|
4
4
|
from .entity import AirzoneEntity as AirzoneEntity, AirzoneZoneEntity as AirzoneZoneEntity
|
5
5
|
from _typeshed import Incomplete
|
6
6
|
from dataclasses import dataclass
|
7
7
|
from homeassistant.components.select import SelectEntity as SelectEntity, SelectEntityDescription as SelectEntityDescription
|
8
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
9
8
|
from homeassistant.const import EntityCategory as EntityCategory
|
10
9
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
11
10
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
@@ -20,7 +19,7 @@ class AirzoneSelectDescription(SelectEntityDescription):
|
|
20
19
|
AIR_QUALITY_MAP: Final[dict[str, str]]
|
21
20
|
ZONE_SELECT_TYPES: Final[tuple[AirzoneSelectDescription, ...]]
|
22
21
|
|
23
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
22
|
+
async def async_setup_entry(hass: HomeAssistant, entry: AirzoneCloudConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
24
23
|
|
25
24
|
class AirzoneBaseSelect(AirzoneEntity, SelectEntity, metaclass=abc.ABCMeta):
|
26
25
|
entity_description: AirzoneSelectDescription
|
@@ -1,10 +1,9 @@
|
|
1
1
|
import abc
|
2
|
-
from .
|
2
|
+
from . import AirzoneCloudConfigEntry as AirzoneCloudConfigEntry
|
3
3
|
from .coordinator import AirzoneUpdateCoordinator as AirzoneUpdateCoordinator
|
4
4
|
from .entity import AirzoneAidooEntity as AirzoneAidooEntity, AirzoneEntity as AirzoneEntity, AirzoneWebServerEntity as AirzoneWebServerEntity, AirzoneZoneEntity as AirzoneZoneEntity
|
5
5
|
from _typeshed import Incomplete
|
6
6
|
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
|
7
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
8
7
|
from homeassistant.const import CONCENTRATION_MICROGRAMS_PER_CUBIC_METER as CONCENTRATION_MICROGRAMS_PER_CUBIC_METER, EntityCategory as EntityCategory, PERCENTAGE as PERCENTAGE, SIGNAL_STRENGTH_DECIBELS_MILLIWATT as SIGNAL_STRENGTH_DECIBELS_MILLIWATT, UnitOfTemperature as UnitOfTemperature
|
9
8
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
10
9
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
@@ -14,7 +13,7 @@ AIDOO_SENSOR_TYPES: Final[tuple[SensorEntityDescription, ...]]
|
|
14
13
|
WEBSERVER_SENSOR_TYPES: Final[tuple[SensorEntityDescription, ...]]
|
15
14
|
ZONE_SENSOR_TYPES: Final[tuple[SensorEntityDescription, ...]]
|
16
15
|
|
17
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
16
|
+
async def async_setup_entry(hass: HomeAssistant, entry: AirzoneCloudConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
18
17
|
|
19
18
|
class AirzoneSensor(AirzoneEntity, SensorEntity, metaclass=abc.ABCMeta):
|
20
19
|
def _handle_coordinator_update(self) -> None: ...
|
@@ -1,10 +1,9 @@
|
|
1
|
-
from .
|
1
|
+
from . import AirzoneCloudConfigEntry as AirzoneCloudConfigEntry
|
2
2
|
from .coordinator import AirzoneUpdateCoordinator as AirzoneUpdateCoordinator
|
3
3
|
from .entity import AirzoneHotWaterEntity as AirzoneHotWaterEntity
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from aioairzone_cloud.common import HotWaterOperation
|
6
6
|
from homeassistant.components.water_heater import STATE_ECO as STATE_ECO, STATE_PERFORMANCE as STATE_PERFORMANCE, WaterHeaterEntity as WaterHeaterEntity, WaterHeaterEntityFeature as WaterHeaterEntityFeature
|
7
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
8
7
|
from homeassistant.const import ATTR_TEMPERATURE as ATTR_TEMPERATURE, STATE_OFF as STATE_OFF, UnitOfTemperature as UnitOfTemperature
|
9
8
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
10
9
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
@@ -13,7 +12,7 @@ from typing import Any, Final
|
|
13
12
|
OPERATION_LIB_TO_HASS: Final[dict[HotWaterOperation, str]]
|
14
13
|
OPERATION_MODE_TO_DHW_PARAMS: Final[dict[str, dict[str, Any]]]
|
15
14
|
|
16
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
15
|
+
async def async_setup_entry(hass: HomeAssistant, entry: AirzoneCloudConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
17
16
|
|
18
17
|
class AirzoneWaterHeater(AirzoneHotWaterEntity, WaterHeaterEntity):
|
19
18
|
_attr_name: Incomplete
|
@@ -1,16 +1,7 @@
|
|
1
|
-
from .
|
2
|
-
from .const import DOMAIN as DOMAIN
|
3
|
-
from .coordinator import AladdinConnectCoordinator as AladdinConnectCoordinator
|
4
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
|
-
from homeassistant.const import Platform as Platform
|
1
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigEntryState as ConfigEntryState
|
6
2
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
|
-
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
8
|
-
from homeassistant.helpers.config_entry_oauth2_flow import OAuth2Session as OAuth2Session, async_get_config_entry_implementation as async_get_config_entry_implementation
|
9
3
|
|
10
|
-
|
11
|
-
AladdinConnectConfigEntry = ConfigEntry[AladdinConnectCoordinator]
|
4
|
+
DOMAIN: str
|
12
5
|
|
13
|
-
async def async_setup_entry(hass: HomeAssistant,
|
14
|
-
async def async_unload_entry(hass: HomeAssistant, entry:
|
15
|
-
async def async_migrate_entry(hass: HomeAssistant, config_entry: AladdinConnectConfigEntry) -> bool: ...
|
16
|
-
def async_remove_stale_devices(hass: HomeAssistant, config_entry: AladdinConnectConfigEntry) -> None: ...
|
6
|
+
async def async_setup_entry(hass: HomeAssistant, _: ConfigEntry) -> bool: ...
|
7
|
+
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
@@ -1,18 +1,5 @@
|
|
1
|
-
import
|
2
|
-
from .
|
3
|
-
from collections.abc import Mapping
|
4
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlowResult as ConfigFlowResult
|
5
|
-
from homeassistant.const import CONF_ACCESS_TOKEN as CONF_ACCESS_TOKEN, CONF_TOKEN as CONF_TOKEN
|
6
|
-
from homeassistant.helpers.config_entry_oauth2_flow import AbstractOAuth2FlowHandler as AbstractOAuth2FlowHandler
|
7
|
-
from typing import Any
|
1
|
+
from . import DOMAIN as DOMAIN
|
2
|
+
from homeassistant.config_entries import ConfigFlow as ConfigFlow
|
8
3
|
|
9
|
-
class
|
10
|
-
DOMAIN = DOMAIN
|
4
|
+
class AladdinConnectConfigFlow(ConfigFlow, domain=DOMAIN):
|
11
5
|
VERSION: int
|
12
|
-
MINOR_VERSION: int
|
13
|
-
reauth_entry: ConfigEntry | None
|
14
|
-
async def async_step_reauth(self, user_input: Mapping[str, Any]) -> ConfigFlowResult: ...
|
15
|
-
async def async_step_reauth_confirm(self, user_input: Mapping[str, Any] | None = None) -> ConfigFlowResult: ...
|
16
|
-
async def async_oauth_create_entry(self, data: dict[str, Any]) -> ConfigFlowResult: ...
|
17
|
-
@property
|
18
|
-
def logger(self) -> logging.Logger: ...
|
@@ -13,12 +13,12 @@ from homeassistant.helpers.typing import ConfigType as ConfigType
|
|
13
13
|
from typing import Any, Final
|
14
14
|
|
15
15
|
_LOGGER: Final[Incomplete]
|
16
|
-
SCAN_INTERVAL: Final[Incomplete]
|
17
16
|
ENTITY_ID_FORMAT: Final[Incomplete]
|
18
|
-
CONF_DEFAULT_CODE: str
|
19
|
-
ALARM_SERVICE_SCHEMA: Final[Incomplete]
|
20
17
|
PLATFORM_SCHEMA: Final[Incomplete]
|
21
18
|
PLATFORM_SCHEMA_BASE: Final[Incomplete]
|
19
|
+
SCAN_INTERVAL: Final[Incomplete]
|
20
|
+
CONF_DEFAULT_CODE: str
|
21
|
+
ALARM_SERVICE_SCHEMA: Final[Incomplete]
|
22
22
|
|
23
23
|
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
|
24
24
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
@@ -2,13 +2,13 @@ from .const import API_TEMP_UNITS as API_TEMP_UNITS, API_THERMOSTAT_MODES as API
|
|
2
2
|
from .errors import UnsupportedProperty as UnsupportedProperty
|
3
3
|
from .resources import AlexaCapabilityResource as AlexaCapabilityResource, AlexaGlobalCatalog as AlexaGlobalCatalog, AlexaModeResource as AlexaModeResource, AlexaPresetResource as AlexaPresetResource, AlexaSemantics as AlexaSemantics
|
4
4
|
from _typeshed import Incomplete
|
5
|
-
from collections.abc import Generator
|
6
5
|
from homeassistant.components import button as button, climate as climate, cover as cover, fan as fan, humidifier as humidifier, image_processing as image_processing, input_button as input_button, input_number as input_number, light as light, media_player as media_player, number as number, timer as timer, vacuum as vacuum, valve as valve, water_heater as water_heater
|
7
6
|
from homeassistant.components.alarm_control_panel import AlarmControlPanelEntityFeature as AlarmControlPanelEntityFeature, CodeFormat as CodeFormat
|
8
7
|
from homeassistant.components.climate import HVACMode as HVACMode
|
9
8
|
from homeassistant.const import ATTR_CODE_FORMAT as ATTR_CODE_FORMAT, ATTR_SUPPORTED_FEATURES as ATTR_SUPPORTED_FEATURES, ATTR_TEMPERATURE as ATTR_TEMPERATURE, ATTR_UNIT_OF_MEASUREMENT as ATTR_UNIT_OF_MEASUREMENT, PERCENTAGE as PERCENTAGE, STATE_ALARM_ARMED_AWAY as STATE_ALARM_ARMED_AWAY, STATE_ALARM_ARMED_CUSTOM_BYPASS as STATE_ALARM_ARMED_CUSTOM_BYPASS, STATE_ALARM_ARMED_HOME as STATE_ALARM_ARMED_HOME, STATE_ALARM_ARMED_NIGHT as STATE_ALARM_ARMED_NIGHT, STATE_IDLE as STATE_IDLE, STATE_LOCKED as STATE_LOCKED, STATE_LOCKING as STATE_LOCKING, STATE_OFF as STATE_OFF, STATE_ON as STATE_ON, STATE_PAUSED as STATE_PAUSED, STATE_PLAYING as STATE_PLAYING, STATE_UNAVAILABLE as STATE_UNAVAILABLE, STATE_UNKNOWN as STATE_UNKNOWN, STATE_UNLOCKED as STATE_UNLOCKED, STATE_UNLOCKING as STATE_UNLOCKING, UnitOfLength as UnitOfLength, UnitOfMass as UnitOfMass, UnitOfTemperature as UnitOfTemperature, UnitOfVolume as UnitOfVolume
|
10
9
|
from homeassistant.core import HomeAssistant as HomeAssistant, State as State
|
11
10
|
from typing import Any
|
11
|
+
from typing_extensions import Generator
|
12
12
|
|
13
13
|
_LOGGER: Incomplete
|
14
14
|
UNIT_TO_CATALOG_TAG: Incomplete
|
@@ -39,7 +39,7 @@ class AlexaCapability:
|
|
39
39
|
def supported_operations(self) -> list[str]: ...
|
40
40
|
def camera_stream_configurations(self) -> list[dict[str, Any]] | None: ...
|
41
41
|
def serialize_discovery(self) -> dict[str, Any]: ...
|
42
|
-
def serialize_properties(self) -> Generator[dict[str, Any]
|
42
|
+
def serialize_properties(self) -> Generator[dict[str, Any]]: ...
|
43
43
|
|
44
44
|
class Alexa(AlexaCapability):
|
45
45
|
supported_locales: Incomplete
|
@@ -2,7 +2,7 @@ from .capabilities import Alexa as Alexa, AlexaBrightnessController as AlexaBrig
|
|
2
2
|
from .config import AbstractConfig as AbstractConfig
|
3
3
|
from .const import CONF_DISPLAY_CATEGORIES as CONF_DISPLAY_CATEGORIES
|
4
4
|
from _typeshed import Incomplete
|
5
|
-
from collections.abc import
|
5
|
+
from collections.abc import Iterable
|
6
6
|
from homeassistant.components import alarm_control_panel as alarm_control_panel, alert as alert, automation as automation, binary_sensor as binary_sensor, button as button, camera as camera, climate as climate, cover as cover, event as event, fan as fan, group as group, humidifier as humidifier, image_processing as image_processing, input_boolean as input_boolean, input_button as input_button, input_number as input_number, light as light, lock as lock, media_player as media_player, number as number, scene as scene, script as script, sensor as sensor, switch as switch, timer as timer, vacuum as vacuum, valve as valve, water_heater as water_heater
|
7
7
|
from homeassistant.const import ATTR_DEVICE_CLASS as ATTR_DEVICE_CLASS, ATTR_SUPPORTED_FEATURES as ATTR_SUPPORTED_FEATURES, ATTR_UNIT_OF_MEASUREMENT as ATTR_UNIT_OF_MEASUREMENT, CLOUD_NEVER_EXPOSED_ENTITIES as CLOUD_NEVER_EXPOSED_ENTITIES, CONF_DESCRIPTION as CONF_DESCRIPTION, CONF_NAME as CONF_NAME, UnitOfTemperature as UnitOfTemperature, __version__ as __version__
|
8
8
|
from homeassistant.core import HomeAssistant as HomeAssistant, State as State, callback as callback
|
@@ -10,6 +10,7 @@ from homeassistant.helpers import network as network
|
|
10
10
|
from homeassistant.helpers.entity import entity_sources as entity_sources
|
11
11
|
from homeassistant.util.decorator import Registry as Registry
|
12
12
|
from typing import Any
|
13
|
+
from typing_extensions import Generator
|
13
14
|
|
14
15
|
_LOGGER: Incomplete
|
15
16
|
ENTITY_ADAPTERS: Registry[str, type[AlexaEntity]]
|
@@ -79,101 +80,101 @@ class AlexaEntity:
|
|
79
80
|
def display_categories(self) -> list[str] | None: ...
|
80
81
|
def default_display_categories(self) -> list[str] | None: ...
|
81
82
|
def interfaces(self) -> Iterable[AlexaCapability]: ...
|
82
|
-
def serialize_properties(self) -> Generator[dict[str, Any]
|
83
|
+
def serialize_properties(self) -> Generator[dict[str, Any]]: ...
|
83
84
|
def serialize_discovery(self) -> dict[str, Any]: ...
|
84
85
|
|
85
86
|
def async_get_entities(hass: HomeAssistant, config: AbstractConfig) -> list[AlexaEntity]: ...
|
86
87
|
|
87
88
|
class GenericCapabilities(AlexaEntity):
|
88
89
|
def default_display_categories(self) -> list[str]: ...
|
89
|
-
def interfaces(self) -> Generator[AlexaCapability
|
90
|
+
def interfaces(self) -> Generator[AlexaCapability]: ...
|
90
91
|
|
91
92
|
class SwitchCapabilities(AlexaEntity):
|
92
93
|
def default_display_categories(self) -> list[str]: ...
|
93
|
-
def interfaces(self) -> Generator[AlexaCapability
|
94
|
+
def interfaces(self) -> Generator[AlexaCapability]: ...
|
94
95
|
|
95
96
|
class ButtonCapabilities(AlexaEntity):
|
96
97
|
def default_display_categories(self) -> list[str]: ...
|
97
|
-
def interfaces(self) -> Generator[AlexaCapability
|
98
|
+
def interfaces(self) -> Generator[AlexaCapability]: ...
|
98
99
|
|
99
100
|
class ClimateCapabilities(AlexaEntity):
|
100
101
|
def default_display_categories(self) -> list[str]: ...
|
101
|
-
def interfaces(self) -> Generator[AlexaCapability
|
102
|
+
def interfaces(self) -> Generator[AlexaCapability]: ...
|
102
103
|
|
103
104
|
class CoverCapabilities(AlexaEntity):
|
104
105
|
def default_display_categories(self) -> list[str]: ...
|
105
|
-
def interfaces(self) -> Generator[AlexaCapability
|
106
|
+
def interfaces(self) -> Generator[AlexaCapability]: ...
|
106
107
|
|
107
108
|
class EventCapabilities(AlexaEntity):
|
108
109
|
def default_display_categories(self) -> list[str] | None: ...
|
109
|
-
def interfaces(self) -> Generator[AlexaCapability
|
110
|
+
def interfaces(self) -> Generator[AlexaCapability]: ...
|
110
111
|
|
111
112
|
class LightCapabilities(AlexaEntity):
|
112
113
|
def default_display_categories(self) -> list[str]: ...
|
113
|
-
def interfaces(self) -> Generator[AlexaCapability
|
114
|
+
def interfaces(self) -> Generator[AlexaCapability]: ...
|
114
115
|
|
115
116
|
class FanCapabilities(AlexaEntity):
|
116
117
|
def default_display_categories(self) -> list[str]: ...
|
117
|
-
def interfaces(self) -> Generator[AlexaCapability
|
118
|
+
def interfaces(self) -> Generator[AlexaCapability]: ...
|
118
119
|
|
119
120
|
class HumidifierCapabilities(AlexaEntity):
|
120
121
|
def default_display_categories(self) -> list[str]: ...
|
121
|
-
def interfaces(self) -> Generator[AlexaCapability
|
122
|
+
def interfaces(self) -> Generator[AlexaCapability]: ...
|
122
123
|
|
123
124
|
class LockCapabilities(AlexaEntity):
|
124
125
|
def default_display_categories(self) -> list[str]: ...
|
125
|
-
def interfaces(self) -> Generator[AlexaCapability
|
126
|
+
def interfaces(self) -> Generator[AlexaCapability]: ...
|
126
127
|
|
127
128
|
class MediaPlayerCapabilities(AlexaEntity):
|
128
129
|
def default_display_categories(self) -> list[str]: ...
|
129
|
-
def interfaces(self) -> Generator[AlexaCapability
|
130
|
+
def interfaces(self) -> Generator[AlexaCapability]: ...
|
130
131
|
|
131
132
|
class SceneCapabilities(AlexaEntity):
|
132
133
|
def description(self) -> str: ...
|
133
134
|
def default_display_categories(self) -> list[str]: ...
|
134
|
-
def interfaces(self) -> Generator[AlexaCapability
|
135
|
+
def interfaces(self) -> Generator[AlexaCapability]: ...
|
135
136
|
|
136
137
|
class ScriptCapabilities(AlexaEntity):
|
137
138
|
def default_display_categories(self) -> list[str]: ...
|
138
|
-
def interfaces(self) -> Generator[AlexaCapability
|
139
|
+
def interfaces(self) -> Generator[AlexaCapability]: ...
|
139
140
|
|
140
141
|
class SensorCapabilities(AlexaEntity):
|
141
142
|
def default_display_categories(self) -> list[str]: ...
|
142
|
-
def interfaces(self) -> Generator[AlexaCapability
|
143
|
+
def interfaces(self) -> Generator[AlexaCapability]: ...
|
143
144
|
|
144
145
|
class BinarySensorCapabilities(AlexaEntity):
|
145
146
|
TYPE_CONTACT: str
|
146
147
|
TYPE_MOTION: str
|
147
148
|
TYPE_PRESENCE: str
|
148
149
|
def default_display_categories(self) -> list[str] | None: ...
|
149
|
-
def interfaces(self) -> Generator[AlexaCapability
|
150
|
+
def interfaces(self) -> Generator[AlexaCapability]: ...
|
150
151
|
def get_type(self) -> str | None: ...
|
151
152
|
|
152
153
|
class AlarmControlPanelCapabilities(AlexaEntity):
|
153
154
|
def default_display_categories(self) -> list[str]: ...
|
154
|
-
def interfaces(self) -> Generator[AlexaCapability
|
155
|
+
def interfaces(self) -> Generator[AlexaCapability]: ...
|
155
156
|
|
156
157
|
class ImageProcessingCapabilities(AlexaEntity):
|
157
158
|
def default_display_categories(self) -> list[str]: ...
|
158
|
-
def interfaces(self) -> Generator[AlexaCapability
|
159
|
+
def interfaces(self) -> Generator[AlexaCapability]: ...
|
159
160
|
|
160
161
|
class InputNumberCapabilities(AlexaEntity):
|
161
162
|
def default_display_categories(self) -> list[str]: ...
|
162
|
-
def interfaces(self) -> Generator[AlexaCapability
|
163
|
+
def interfaces(self) -> Generator[AlexaCapability]: ...
|
163
164
|
|
164
165
|
class TimerCapabilities(AlexaEntity):
|
165
166
|
def default_display_categories(self) -> list[str]: ...
|
166
|
-
def interfaces(self) -> Generator[AlexaCapability
|
167
|
+
def interfaces(self) -> Generator[AlexaCapability]: ...
|
167
168
|
|
168
169
|
class VacuumCapabilities(AlexaEntity):
|
169
170
|
def default_display_categories(self) -> list[str]: ...
|
170
|
-
def interfaces(self) -> Generator[AlexaCapability
|
171
|
+
def interfaces(self) -> Generator[AlexaCapability]: ...
|
171
172
|
|
172
173
|
class ValveCapabilities(AlexaEntity):
|
173
174
|
def default_display_categories(self) -> list[str]: ...
|
174
|
-
def interfaces(self) -> Generator[AlexaCapability
|
175
|
+
def interfaces(self) -> Generator[AlexaCapability]: ...
|
175
176
|
|
176
177
|
class CameraCapabilities(AlexaEntity):
|
177
178
|
def default_display_categories(self) -> list[str]: ...
|
178
|
-
def interfaces(self) -> Generator[AlexaCapability
|
179
|
+
def interfaces(self) -> Generator[AlexaCapability]: ...
|
179
180
|
def _check_requirements(self) -> bool: ...
|
@@ -2,7 +2,7 @@ from _typeshed import Incomplete
|
|
2
2
|
from alpha_vantage.foreignexchange import ForeignExchange
|
3
3
|
from alpha_vantage.timeseries import TimeSeries
|
4
4
|
from homeassistant.components import persistent_notification as persistent_notification
|
5
|
-
from homeassistant.components.sensor import
|
5
|
+
from homeassistant.components.sensor import SensorEntity as SensorEntity
|
6
6
|
from homeassistant.const import CONF_API_KEY as CONF_API_KEY, CONF_CURRENCY as CONF_CURRENCY, CONF_NAME as CONF_NAME
|
7
7
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
8
8
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
@@ -22,6 +22,7 @@ ICONS: Incomplete
|
|
22
22
|
SCAN_INTERVAL: Incomplete
|
23
23
|
SYMBOL_SCHEMA: Incomplete
|
24
24
|
CURRENCY_SCHEMA: Incomplete
|
25
|
+
PLATFORM_SCHEMA: Incomplete
|
25
26
|
|
26
27
|
def setup_platform(hass: HomeAssistant, config: ConfigType, add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = None) -> None: ...
|
27
28
|
|
@@ -2,6 +2,7 @@ from .const import API_LAST_DATA as API_LAST_DATA, DOMAIN as DOMAIN, LOGGER as L
|
|
2
2
|
from .helper import get_station_name as get_station_name
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from aioambient import OpenAPI as OpenAPI
|
5
|
+
from datetime import datetime
|
5
6
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
7
|
from homeassistant.const import CONF_MAC as CONF_MAC
|
7
8
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
@@ -13,6 +14,7 @@ SCAN_INTERVAL: Incomplete
|
|
13
14
|
class AmbientNetworkDataUpdateCoordinator(DataUpdateCoordinator[dict[str, Any]]):
|
14
15
|
config_entry: ConfigEntry
|
15
16
|
station_name: str
|
17
|
+
last_measured: datetime | None
|
16
18
|
api: Incomplete
|
17
19
|
def __init__(self, hass: HomeAssistant, api: OpenAPI) -> None: ...
|
18
20
|
async def _async_update_data(self) -> dict[str, Any]: ...
|
@@ -43,4 +43,5 @@ class AmbientNetworkSensor(AmbientNetworkEntity, SensorEntity):
|
|
43
43
|
def __init__(self, coordinator: AmbientNetworkDataUpdateCoordinator, description: SensorEntityDescription, mac_address: str) -> None: ...
|
44
44
|
_attr_available: Incomplete
|
45
45
|
_attr_native_value: Incomplete
|
46
|
+
_attr_extra_state_attributes: Incomplete
|
46
47
|
def _update_attrs(self) -> None: ...
|
@@ -3,6 +3,7 @@ from .const import DEVICE_ANDROIDTV as DEVICE_ANDROIDTV, DOMAIN as DOMAIN
|
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from collections.abc import Callable
|
5
5
|
from homeassistant.const import ATTR_CONNECTIONS as ATTR_CONNECTIONS, ATTR_IDENTIFIERS as ATTR_IDENTIFIERS, ATTR_MANUFACTURER as ATTR_MANUFACTURER, ATTR_MODEL as ATTR_MODEL, ATTR_SW_VERSION as ATTR_SW_VERSION, CONF_HOST as CONF_HOST, CONF_NAME as CONF_NAME
|
6
|
+
from homeassistant.exceptions import ServiceValidationError as ServiceValidationError
|
6
7
|
from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC as CONNECTION_NETWORK_MAC, DeviceInfo as DeviceInfo
|
7
8
|
from homeassistant.helpers.entity import Entity as Entity
|
8
9
|
|
@@ -0,0 +1,21 @@
|
|
1
|
+
from .const import CONF_TURN_OFF_COMMAND as CONF_TURN_OFF_COMMAND, CONF_TURN_ON_COMMAND as CONF_TURN_ON_COMMAND, DOMAIN as DOMAIN
|
2
|
+
from .entity import AndroidTVEntity as AndroidTVEntity, adb_decorator as adb_decorator
|
3
|
+
from _typeshed import Incomplete
|
4
|
+
from collections.abc import Iterable
|
5
|
+
from homeassistant.components.remote import ATTR_NUM_REPEATS as ATTR_NUM_REPEATS, RemoteEntity as RemoteEntity
|
6
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
7
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
8
|
+
from homeassistant.exceptions import ServiceValidationError as ServiceValidationError
|
9
|
+
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
10
|
+
from typing import Any
|
11
|
+
|
12
|
+
_LOGGER: Incomplete
|
13
|
+
|
14
|
+
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
15
|
+
|
16
|
+
class AndroidTVRemote(AndroidTVEntity, RemoteEntity):
|
17
|
+
_attr_name: Incomplete
|
18
|
+
_attr_should_poll: bool
|
19
|
+
async def async_turn_on(self, **kwargs: Any) -> None: ...
|
20
|
+
async def async_turn_off(self, **kwargs: Any) -> None: ...
|
21
|
+
async def async_send_command(self, command: Iterable[str], **kwargs: Any) -> None: ...
|
@@ -1,4 +1,4 @@
|
|
1
|
-
from .const import CONF_ENABLE_IME as CONF_ENABLE_IME, DOMAIN as DOMAIN
|
1
|
+
from .const import CONF_APPS as CONF_APPS, CONF_APP_ICON as CONF_APP_ICON, CONF_APP_NAME as CONF_APP_NAME, CONF_ENABLE_IME as CONF_ENABLE_IME, DOMAIN as DOMAIN
|
2
2
|
from .helpers import create_api as create_api, get_enable_ime as get_enable_ime
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from androidtvremote2 import AndroidTVRemote as AndroidTVRemote
|
@@ -8,9 +8,13 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow
|
|
8
8
|
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_MAC as CONF_MAC, CONF_NAME as CONF_NAME
|
9
9
|
from homeassistant.core import callback as callback
|
10
10
|
from homeassistant.helpers.device_registry import format_mac as format_mac
|
11
|
+
from homeassistant.helpers.selector import SelectOptionDict as SelectOptionDict, SelectSelector as SelectSelector, SelectSelectorConfig as SelectSelectorConfig, SelectSelectorMode as SelectSelectorMode
|
11
12
|
from typing import Any
|
12
13
|
|
13
14
|
_LOGGER: Incomplete
|
15
|
+
APPS_NEW_ID: str
|
16
|
+
CONF_APP_DELETE: str
|
17
|
+
CONF_APP_ID: str
|
14
18
|
STEP_USER_DATA_SCHEMA: Incomplete
|
15
19
|
STEP_PAIR_DATA_SCHEMA: Incomplete
|
16
20
|
|
@@ -33,4 +37,10 @@ class AndroidTVRemoteConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
33
37
|
def async_get_options_flow(config_entry: ConfigEntry) -> AndroidTVRemoteOptionsFlowHandler: ...
|
34
38
|
|
35
39
|
class AndroidTVRemoteOptionsFlowHandler(OptionsFlowWithConfigEntry):
|
40
|
+
_apps: Incomplete
|
41
|
+
_conf_app_id: Incomplete
|
42
|
+
def __init__(self, config_entry: ConfigEntry) -> None: ...
|
43
|
+
def _save_config(self, data: dict[str, Any]) -> ConfigFlowResult: ...
|
36
44
|
async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
45
|
+
async def async_step_apps(self, user_input: dict[str, Any] | None = None, app_id: str | None = None) -> ConfigFlowResult: ...
|
46
|
+
def _async_apps_form(self, app_id: str) -> ConfigFlowResult: ...
|
@@ -1,4 +1,4 @@
|
|
1
|
-
from .const import DOMAIN as DOMAIN
|
1
|
+
from .const import CONF_APPS as CONF_APPS, DOMAIN as DOMAIN
|
2
2
|
from _typeshed import Incomplete
|
3
3
|
from androidtvremote2 import AndroidTVRemote as AndroidTVRemote
|
4
4
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
@@ -15,6 +15,7 @@ class AndroidTVRemoteBaseEntity(Entity):
|
|
15
15
|
_api: Incomplete
|
16
16
|
_host: Incomplete
|
17
17
|
_name: Incomplete
|
18
|
+
_apps: Incomplete
|
18
19
|
_attr_unique_id: Incomplete
|
19
20
|
_attr_is_on: Incomplete
|
20
21
|
_attr_device_info: Incomplete
|
@@ -1,8 +1,10 @@
|
|
1
1
|
from . import AndroidTVRemoteConfigEntry as AndroidTVRemoteConfigEntry
|
2
|
+
from .const import CONF_APP_ICON as CONF_APP_ICON, CONF_APP_NAME as CONF_APP_NAME
|
2
3
|
from .entity import AndroidTVRemoteBaseEntity as AndroidTVRemoteBaseEntity
|
3
4
|
from _typeshed import Incomplete
|
4
5
|
from androidtvremote2 import AndroidTVRemote as AndroidTVRemote
|
5
|
-
from homeassistant.components.media_player import MediaPlayerDeviceClass as MediaPlayerDeviceClass, MediaPlayerEntity as MediaPlayerEntity, MediaPlayerEntityFeature as MediaPlayerEntityFeature, MediaPlayerState as MediaPlayerState, MediaType as MediaType
|
6
|
+
from homeassistant.components.media_player import MediaClass as MediaClass, MediaPlayerDeviceClass as MediaPlayerDeviceClass, MediaPlayerEntity as MediaPlayerEntity, MediaPlayerEntityFeature as MediaPlayerEntityFeature, MediaPlayerState as MediaPlayerState, MediaType as MediaType
|
7
|
+
from homeassistant.components.media_player.browse_media import BrowseMedia as BrowseMedia
|
6
8
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
7
9
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
8
10
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
@@ -42,4 +44,5 @@ class AndroidTVRemoteMediaPlayerEntity(AndroidTVRemoteBaseEntity, MediaPlayerEnt
|
|
42
44
|
async def async_media_previous_track(self) -> None: ...
|
43
45
|
async def async_media_next_track(self) -> None: ...
|
44
46
|
async def async_play_media(self, media_type: MediaType | str, media_id: str, **kwargs: Any) -> None: ...
|
47
|
+
async def async_browse_media(self, media_content_type: MediaType | str | None = None, media_content_id: str | None = None) -> BrowseMedia: ...
|
45
48
|
async def _send_key_commands(self, key_codes: list[str], delay_secs: float = 0.1) -> None: ...
|
@@ -1,4 +1,5 @@
|
|
1
1
|
from . import AndroidTVRemoteConfigEntry as AndroidTVRemoteConfigEntry
|
2
|
+
from .const import CONF_APP_NAME as CONF_APP_NAME
|
2
3
|
from .entity import AndroidTVRemoteBaseEntity as AndroidTVRemoteBaseEntity
|
3
4
|
from _typeshed import Incomplete
|
4
5
|
from collections.abc import Iterable
|
@@ -14,7 +15,9 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: AndroidTVRemoteCo
|
|
14
15
|
class AndroidTVRemoteEntity(AndroidTVRemoteBaseEntity, RemoteEntity):
|
15
16
|
_attr_supported_features: Incomplete
|
16
17
|
_attr_current_activity: Incomplete
|
18
|
+
def _update_current_app(self, current_app: str) -> None: ...
|
17
19
|
def _current_app_updated(self, current_app: str) -> None: ...
|
20
|
+
_attr_activity_list: Incomplete
|
18
21
|
async def async_added_to_hass(self) -> None: ...
|
19
22
|
async def async_will_remove_from_hass(self) -> None: ...
|
20
23
|
async def async_turn_on(self, **kwargs: Any) -> None: ...
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from _typeshed import Incomplete
|
2
2
|
from anel_pwrctrl import Device as Device, Switch as Switch
|
3
|
-
from homeassistant.components.switch import
|
3
|
+
from homeassistant.components.switch import SwitchEntity as SwitchEntity
|
4
4
|
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
6
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
@@ -12,6 +12,7 @@ _LOGGER: Incomplete
|
|
12
12
|
CONF_PORT_RECV: str
|
13
13
|
CONF_PORT_SEND: str
|
14
14
|
MIN_TIME_BETWEEN_UPDATES: Incomplete
|
15
|
+
PLATFORM_SCHEMA: Incomplete
|
15
16
|
|
16
17
|
def setup_platform(hass: HomeAssistant, config: ConfigType, add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = None) -> None: ...
|
17
18
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import apprise
|
2
2
|
from _typeshed import Incomplete
|
3
|
-
from homeassistant.components.notify import ATTR_TARGET as ATTR_TARGET, ATTR_TITLE as ATTR_TITLE, ATTR_TITLE_DEFAULT as ATTR_TITLE_DEFAULT, BaseNotificationService as BaseNotificationService
|
3
|
+
from homeassistant.components.notify import ATTR_TARGET as ATTR_TARGET, ATTR_TITLE as ATTR_TITLE, ATTR_TITLE_DEFAULT as ATTR_TITLE_DEFAULT, BaseNotificationService as BaseNotificationService
|
4
4
|
from homeassistant.const import CONF_URL as CONF_URL
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
6
|
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType
|
@@ -8,6 +8,7 @@ from typing import Any
|
|
8
8
|
|
9
9
|
_LOGGER: Incomplete
|
10
10
|
CONF_FILE: str
|
11
|
+
PLATFORM_SCHEMA: Incomplete
|
11
12
|
|
12
13
|
def get_service(hass: HomeAssistant, config: ConfigType, discovery_info: DiscoveryInfoType | None = None) -> AppriseNotificationService | None: ...
|
13
14
|
|