homeassistant-stubs 2024.6.3__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 +6 -1
- 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/synology_dsm/const.pyi +1 -0
- homeassistant-stubs/components/synology_dsm/media_source.pyi +2 -1
- 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.3.dist-info → homeassistant_stubs-2024.7.0.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2024.6.3.dist-info → homeassistant_stubs-2024.7.0.dist-info}/RECORD +599 -562
- 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.3.dist-info → homeassistant_stubs-2024.7.0.dist-info}/LICENSE +0 -0
- {homeassistant_stubs-2024.6.3.dist-info → homeassistant_stubs-2024.7.0.dist-info}/WHEEL +0 -0
@@ -1,10 +1,17 @@
|
|
1
1
|
from .coordinator import ApSystemsDataCoordinator as ApSystemsDataCoordinator
|
2
|
+
from dataclasses import dataclass
|
2
3
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
3
4
|
from homeassistant.const import CONF_IP_ADDRESS as CONF_IP_ADDRESS, Platform as Platform
|
4
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
5
6
|
|
6
7
|
PLATFORMS: list[Platform]
|
7
|
-
ApsystemsConfigEntry = ConfigEntry[ApSystemsDataCoordinator]
|
8
8
|
|
9
|
-
|
9
|
+
@dataclass
|
10
|
+
class ApSystemsData:
|
11
|
+
coordinator: ApSystemsDataCoordinator
|
12
|
+
device_id: str
|
13
|
+
def __init__(self, coordinator, device_id) -> None: ...
|
14
|
+
ApSystemsConfigEntry = ConfigEntry[ApSystemsData]
|
15
|
+
|
16
|
+
async def async_setup_entry(hass: HomeAssistant, entry: ApSystemsConfigEntry) -> bool: ...
|
10
17
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
@@ -0,0 +1,10 @@
|
|
1
|
+
from . import ApSystemsData as ApSystemsData
|
2
|
+
from .const import DOMAIN as DOMAIN
|
3
|
+
from _typeshed import Incomplete
|
4
|
+
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
5
|
+
from homeassistant.helpers.entity import Entity as Entity
|
6
|
+
|
7
|
+
class ApSystemsEntity(Entity):
|
8
|
+
_attr_has_entity_name: bool
|
9
|
+
_attr_device_info: Incomplete
|
10
|
+
def __init__(self, data: ApSystemsData) -> None: ...
|
@@ -0,0 +1,25 @@
|
|
1
|
+
from . import ApSystemsConfigEntry as ApSystemsConfigEntry, ApSystemsData as ApSystemsData
|
2
|
+
from .entity import ApSystemsEntity as ApSystemsEntity
|
3
|
+
from _typeshed import Incomplete
|
4
|
+
from homeassistant.components.number import NumberDeviceClass as NumberDeviceClass, NumberEntity as NumberEntity, NumberMode as NumberMode
|
5
|
+
from homeassistant.const import UnitOfPower as UnitOfPower
|
6
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
|
+
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
8
|
+
from homeassistant.helpers.typing import DiscoveryInfoType as DiscoveryInfoType
|
9
|
+
|
10
|
+
async def async_setup_entry(hass: HomeAssistant, config_entry: ApSystemsConfigEntry, add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = None) -> None: ...
|
11
|
+
|
12
|
+
class ApSystemsMaxOutputNumber(ApSystemsEntity, NumberEntity):
|
13
|
+
_attr_native_max_value: int
|
14
|
+
_attr_native_min_value: int
|
15
|
+
_attr_native_step: int
|
16
|
+
_attr_device_class: Incomplete
|
17
|
+
_attr_mode: Incomplete
|
18
|
+
_attr_native_unit_of_measurement: Incomplete
|
19
|
+
_attr_translation_key: str
|
20
|
+
_api: Incomplete
|
21
|
+
_attr_unique_id: Incomplete
|
22
|
+
def __init__(self, data: ApSystemsData) -> None: ...
|
23
|
+
_attr_native_value: Incomplete
|
24
|
+
async def async_update(self) -> None: ...
|
25
|
+
async def async_set_native_value(self, value: float) -> None: ...
|
@@ -1,14 +1,13 @@
|
|
1
|
-
from .
|
1
|
+
from . import ApSystemsConfigEntry as ApSystemsConfigEntry, ApSystemsData as ApSystemsData
|
2
2
|
from .coordinator import ApSystemsDataCoordinator as ApSystemsDataCoordinator
|
3
|
+
from .entity import ApSystemsEntity as ApSystemsEntity
|
3
4
|
from APsystemsEZ1 import ReturnOutputData as ReturnOutputData
|
4
5
|
from _typeshed import Incomplete
|
5
6
|
from collections.abc import Callable as Callable
|
6
7
|
from dataclasses import dataclass
|
7
8
|
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass, StateType as StateType
|
8
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
9
9
|
from homeassistant.const import UnitOfEnergy as UnitOfEnergy, UnitOfPower as UnitOfPower
|
10
10
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
11
|
-
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
12
11
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
13
12
|
from homeassistant.helpers.typing import DiscoveryInfoType as DiscoveryInfoType
|
14
13
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
@@ -20,12 +19,12 @@ class ApsystemsLocalApiSensorDescription(SensorEntityDescription):
|
|
20
19
|
|
21
20
|
SENSORS: tuple[ApsystemsLocalApiSensorDescription, ...]
|
22
21
|
|
23
|
-
async def async_setup_entry(hass: HomeAssistant, config_entry:
|
22
|
+
async def async_setup_entry(hass: HomeAssistant, config_entry: ApSystemsConfigEntry, add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = None) -> None: ...
|
24
23
|
|
25
|
-
class ApSystemsSensorWithDescription(CoordinatorEntity[ApSystemsDataCoordinator], SensorEntity):
|
24
|
+
class ApSystemsSensorWithDescription(CoordinatorEntity[ApSystemsDataCoordinator], ApSystemsEntity, SensorEntity):
|
26
25
|
entity_description: ApsystemsLocalApiSensorDescription
|
26
|
+
_attr_has_entity_name: bool
|
27
27
|
_attr_unique_id: Incomplete
|
28
|
-
|
29
|
-
def __init__(self, coordinator: ApSystemsDataCoordinator, entity_description: ApsystemsLocalApiSensorDescription, device_id: str) -> None: ...
|
28
|
+
def __init__(self, data: ApSystemsData, entity_description: ApsystemsLocalApiSensorDescription) -> None: ...
|
30
29
|
@property
|
31
30
|
def native_value(self) -> StateType: ...
|
@@ -1,7 +1,7 @@
|
|
1
1
|
from . import AquaLogicProcessor as AquaLogicProcessor, DOMAIN as DOMAIN, UPDATE_TOPIC as UPDATE_TOPIC
|
2
2
|
from _typeshed import Incomplete
|
3
3
|
from dataclasses import dataclass
|
4
|
-
from homeassistant.components.sensor import
|
4
|
+
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription
|
5
5
|
from homeassistant.const import CONF_MONITORED_CONDITIONS as CONF_MONITORED_CONDITIONS, PERCENTAGE as PERCENTAGE, UnitOfPower as UnitOfPower, UnitOfTemperature as UnitOfTemperature
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
7
7
|
from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
|
@@ -16,6 +16,7 @@ class AquaLogicSensorEntityDescription(SensorEntityDescription):
|
|
16
16
|
|
17
17
|
SENSOR_TYPES: tuple[AquaLogicSensorEntityDescription, ...]
|
18
18
|
SENSOR_KEYS: list[str]
|
19
|
+
PLATFORM_SCHEMA: Incomplete
|
19
20
|
|
20
21
|
async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = None) -> None: ...
|
21
22
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from . import AquaLogicProcessor as AquaLogicProcessor, DOMAIN as DOMAIN, UPDATE_TOPIC as UPDATE_TOPIC
|
2
2
|
from _typeshed import Incomplete
|
3
|
-
from homeassistant.components.switch import
|
3
|
+
from homeassistant.components.switch import SwitchEntity as SwitchEntity
|
4
4
|
from homeassistant.const import CONF_MONITORED_CONDITIONS as CONF_MONITORED_CONDITIONS
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
6
|
from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
|
@@ -9,6 +9,7 @@ from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfo
|
|
9
9
|
from typing import Any
|
10
10
|
|
11
11
|
SWITCH_TYPES: Incomplete
|
12
|
+
PLATFORM_SCHEMA: Incomplete
|
12
13
|
|
13
14
|
async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = None) -> None: ...
|
14
15
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import sharp_aquos_rc
|
2
2
|
from _typeshed import Incomplete
|
3
3
|
from collections.abc import Callable as Callable
|
4
|
-
from homeassistant.components.media_player import MediaPlayerEntity as MediaPlayerEntity, MediaPlayerEntityFeature as MediaPlayerEntityFeature, MediaPlayerState as MediaPlayerState
|
4
|
+
from homeassistant.components.media_player import MediaPlayerEntity as MediaPlayerEntity, MediaPlayerEntityFeature as MediaPlayerEntityFeature, MediaPlayerState as MediaPlayerState
|
5
5
|
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_NAME as CONF_NAME, CONF_PASSWORD as CONF_PASSWORD, CONF_PORT as CONF_PORT, CONF_TIMEOUT as CONF_TIMEOUT, CONF_USERNAME as CONF_USERNAME
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
7
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
@@ -15,6 +15,7 @@ DEFAULT_USERNAME: str
|
|
15
15
|
DEFAULT_PASSWORD: str
|
16
16
|
DEFAULT_TIMEOUT: float
|
17
17
|
DEFAULT_RETRIES: int
|
18
|
+
PLATFORM_SCHEMA: Incomplete
|
18
19
|
SOURCES: Incomplete
|
19
20
|
|
20
21
|
def setup_platform(hass: HomeAssistant, config: ConfigType, add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = None) -> None: ...
|
@@ -4,7 +4,7 @@ from .error import DuplicateWakeUpDetectedError as DuplicateWakeUpDetectedError,
|
|
4
4
|
from .vad import AudioBuffer as AudioBuffer, VoiceActivityTimeout as VoiceActivityTimeout, VoiceCommandSegmenter as VoiceCommandSegmenter, chunk_samples as chunk_samples
|
5
5
|
from _typeshed import Incomplete
|
6
6
|
from collections import deque
|
7
|
-
from collections.abc import
|
7
|
+
from collections.abc import AsyncIterable, Callable, Iterable
|
8
8
|
from dataclasses import dataclass
|
9
9
|
from enum import StrEnum
|
10
10
|
from homeassistant.components import conversation as conversation, media_source as media_source, stt as stt, tts as tts, wake_word as wake_word, websocket_api as websocket_api
|
@@ -13,12 +13,13 @@ from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
13
13
|
from homeassistant.helpers.collection import CHANGE_UPDATED as CHANGE_UPDATED, CollectionError as CollectionError, ItemNotFound as ItemNotFound, SerializedStorageCollection as SerializedStorageCollection, StorageCollection as StorageCollection, StorageCollectionWebsocket as StorageCollectionWebsocket
|
14
14
|
from homeassistant.helpers.singleton import singleton as singleton
|
15
15
|
from homeassistant.helpers.storage import Store as Store
|
16
|
-
from homeassistant.helpers.typing import UNDEFINED as UNDEFINED, UndefinedType as UndefinedType
|
16
|
+
from homeassistant.helpers.typing import UNDEFINED as UNDEFINED, UndefinedType as UndefinedType, VolDictType as VolDictType
|
17
17
|
from homeassistant.util.limited_size_dict import LimitedSizeDict as LimitedSizeDict
|
18
18
|
from pathlib import Path
|
19
19
|
from queue import Queue
|
20
20
|
from threading import Thread
|
21
21
|
from typing import Any, Final, Literal
|
22
|
+
from typing_extensions import AsyncGenerator
|
22
23
|
from webrtc_noise_gain import AudioProcessor
|
23
24
|
|
24
25
|
_LOGGER: Incomplete
|
@@ -29,7 +30,7 @@ ENGINE_LANGUAGE_PAIRS: Incomplete
|
|
29
30
|
|
30
31
|
def validate_language(data: dict[str, Any]) -> Any: ...
|
31
32
|
|
32
|
-
PIPELINE_FIELDS:
|
33
|
+
PIPELINE_FIELDS: VolDictType
|
33
34
|
STORED_PIPELINE_RUNS: int
|
34
35
|
SAVE_DELAY: int
|
35
36
|
AUDIO_PROCESSOR_SAMPLES: Final[int]
|
@@ -159,7 +160,7 @@ class PipelineRun:
|
|
159
160
|
async def _wake_word_audio_stream(self, audio_stream: AsyncIterable[ProcessedAudioChunk], stt_audio_buffer: deque[ProcessedAudioChunk] | None, wake_word_vad: VoiceActivityTimeout | None, sample_rate: int = 16000, sample_width: int = 2) -> AsyncIterable[tuple[bytes, int]]: ...
|
160
161
|
async def prepare_speech_to_text(self, metadata: stt.SpeechMetadata) -> None: ...
|
161
162
|
async def speech_to_text(self, metadata: stt.SpeechMetadata, stream: AsyncIterable[ProcessedAudioChunk]) -> str: ...
|
162
|
-
async def _speech_to_text_stream(self, audio_stream: AsyncIterable[ProcessedAudioChunk], stt_vad: VoiceCommandSegmenter | None, sample_rate: int = 16000, sample_width: int = 2) -> AsyncGenerator[bytes
|
163
|
+
async def _speech_to_text_stream(self, audio_stream: AsyncIterable[ProcessedAudioChunk], stt_vad: VoiceCommandSegmenter | None, sample_rate: int = 16000, sample_width: int = 2) -> AsyncGenerator[bytes]: ...
|
163
164
|
async def prepare_recognize_intent(self) -> None: ...
|
164
165
|
async def recognize_intent(self, intent_input: str, conversation_id: str | None, device_id: str | None) -> str: ...
|
165
166
|
async def prepare_text_to_speech(self) -> None: ...
|
@@ -167,8 +168,8 @@ class PipelineRun:
|
|
167
168
|
def _capture_chunk(self, audio_bytes: bytes | None) -> None: ...
|
168
169
|
def _start_debug_recording_thread(self) -> None: ...
|
169
170
|
async def _stop_debug_recording_thread(self) -> None: ...
|
170
|
-
async def process_volume_only(self, audio_stream: AsyncIterable[bytes], sample_rate: int = 16000, sample_width: int = 2) -> AsyncGenerator[ProcessedAudioChunk
|
171
|
-
async def process_enhance_audio(self, audio_stream: AsyncIterable[bytes], sample_rate: int = 16000, sample_width: int = 2) -> AsyncGenerator[ProcessedAudioChunk
|
171
|
+
async def process_volume_only(self, audio_stream: AsyncIterable[bytes], sample_rate: int = 16000, sample_width: int = 2) -> AsyncGenerator[ProcessedAudioChunk]: ...
|
172
|
+
async def process_enhance_audio(self, audio_stream: AsyncIterable[bytes], sample_rate: int = 16000, sample_width: int = 2) -> AsyncGenerator[ProcessedAudioChunk]: ...
|
172
173
|
def __init__(self, hass, context, pipeline, start_stage, end_stage, event_callback, language, runner_data, intent_agent, tts_audio_output, wake_word_settings, audio_settings, id, debug_recording_thread, debug_recording_queue, audio_processor, _device_id) -> None: ...
|
173
174
|
|
174
175
|
def _multiply_volume(chunk: bytes, volume_multiplier: float) -> bytes: ...
|
@@ -210,7 +211,7 @@ class PipelineStorageCollection(StorageCollection[Pipeline, SerializedPipelineSt
|
|
210
211
|
def _data_to_save(self) -> SerializedPipelineStorageCollection: ...
|
211
212
|
|
212
213
|
class PipelineStorageCollectionWebsocket(StorageCollectionWebsocket[PipelineStorageCollection]):
|
213
|
-
def async_setup(self, hass: HomeAssistant
|
214
|
+
def async_setup(self, hass: HomeAssistant) -> None: ...
|
214
215
|
async def ws_delete_item(self, hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict) -> None: ...
|
215
216
|
def ws_get_item(self, hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict) -> None: ...
|
216
217
|
def ws_list_item(self, hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict) -> None: ...
|
@@ -25,7 +25,7 @@ class AssistPipelineSelect(SelectEntity, restore_state.RestoreEntity):
|
|
25
25
|
def __init__(self, hass: HomeAssistant, domain: str, unique_id_prefix: str) -> None: ...
|
26
26
|
async def async_added_to_hass(self) -> None: ...
|
27
27
|
async def async_select_option(self, option: str) -> None: ...
|
28
|
-
async def _pipelines_updated(self,
|
28
|
+
async def _pipelines_updated(self, change_set: Iterable[collection.CollectionChange]) -> None: ...
|
29
29
|
def _update_options(self) -> None: ...
|
30
30
|
|
31
31
|
class VadSensitivitySelect(SelectEntity, restore_state.RestoreEntity):
|
@@ -8,6 +8,7 @@ from homeassistant.const import CONF_BASE as CONF_BASE, CONF_HOST as CONF_HOST,
|
|
8
8
|
from homeassistant.core import callback as callback
|
9
9
|
from homeassistant.helpers.schema_config_entry_flow import SchemaCommonFlowHandler as SchemaCommonFlowHandler, SchemaFlowFormStep as SchemaFlowFormStep, SchemaOptionsFlowHandler as SchemaOptionsFlowHandler
|
10
10
|
from homeassistant.helpers.selector import SelectSelector as SelectSelector, SelectSelectorConfig as SelectSelectorConfig
|
11
|
+
from homeassistant.helpers.typing import VolDictType as VolDictType
|
11
12
|
from typing import Any
|
12
13
|
|
13
14
|
ALLOWED_PROTOCOL: Incomplete
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import abc
|
2
|
-
from .config import AutomationConfig as AutomationConfig
|
2
|
+
from .config import AutomationConfig as AutomationConfig, ValidationStatus as ValidationStatus
|
3
3
|
from .const import CONF_ACTION as CONF_ACTION, CONF_INITIAL_STATE as CONF_INITIAL_STATE, CONF_TRACE as CONF_TRACE, CONF_TRIGGER as CONF_TRIGGER, CONF_TRIGGER_VARIABLES as CONF_TRIGGER_VARIABLES, DEFAULT_INITIAL_STATE as DEFAULT_INITIAL_STATE, DOMAIN as DOMAIN, LOGGER as LOGGER
|
4
4
|
from .helpers import async_get_blueprints as async_get_blueprints
|
5
5
|
from .trace import trace_automation as trace_automation
|
@@ -17,7 +17,7 @@ from homeassistant.helpers import condition as condition
|
|
17
17
|
from homeassistant.helpers.deprecation import DeprecatedConstant as DeprecatedConstant, all_with_deprecated_constants as all_with_deprecated_constants, check_if_deprecated_constant as check_if_deprecated_constant, dir_with_deprecated_constants as dir_with_deprecated_constants
|
18
18
|
from homeassistant.helpers.entity import ToggleEntity as ToggleEntity
|
19
19
|
from homeassistant.helpers.entity_component import EntityComponent as EntityComponent
|
20
|
-
from homeassistant.helpers.issue_registry import IssueSeverity as IssueSeverity, async_create_issue as async_create_issue
|
20
|
+
from homeassistant.helpers.issue_registry import IssueSeverity as IssueSeverity, async_create_issue as async_create_issue, async_delete_issue as async_delete_issue
|
21
21
|
from homeassistant.helpers.restore_state import RestoreEntity as RestoreEntity
|
22
22
|
from homeassistant.helpers.script import ATTR_CUR as ATTR_CUR, ATTR_MAX as ATTR_MAX, CONF_MAX as CONF_MAX, CONF_MAX_EXCEEDED as CONF_MAX_EXCEEDED, Script as Script, ScriptRunResult as ScriptRunResult, script_stack_cv as script_stack_cv
|
23
23
|
from homeassistant.helpers.script_variables import ScriptVariables as ScriptVariables
|
@@ -97,7 +97,9 @@ class UnavailableAutomationEntity(BaseAutomationEntity):
|
|
97
97
|
_attr_name: Incomplete
|
98
98
|
_attr_unique_id: Incomplete
|
99
99
|
raw_config: Incomplete
|
100
|
-
|
100
|
+
_validation_error: Incomplete
|
101
|
+
_validation_status: Incomplete
|
102
|
+
def __init__(self, automation_id: str | None, name: str, raw_config: ConfigType | None, validation_error: str, validation_status: ValidationStatus) -> None: ...
|
101
103
|
@cached_property
|
102
104
|
def referenced_labels(self) -> set[str]: ...
|
103
105
|
@cached_property
|
@@ -110,6 +112,8 @@ class UnavailableAutomationEntity(BaseAutomationEntity):
|
|
110
112
|
def referenced_devices(self) -> set[str]: ...
|
111
113
|
@cached_property
|
112
114
|
def referenced_entities(self) -> set[str]: ...
|
115
|
+
async def async_added_to_hass(self) -> None: ...
|
116
|
+
async def async_will_remove_from_hass(self) -> None: ...
|
113
117
|
async def async_trigger(self, run_variables: dict[str, Any], context: Context | None = None, skip_condition: bool = False) -> None: ...
|
114
118
|
|
115
119
|
class AutomationEntity(BaseAutomationEntity, RestoreEntity):
|
@@ -163,8 +167,9 @@ class AutomationEntityConfig:
|
|
163
167
|
list_no: int
|
164
168
|
raw_blueprint_inputs: ConfigType | None
|
165
169
|
raw_config: ConfigType | None
|
166
|
-
|
167
|
-
|
170
|
+
validation_error: str | None
|
171
|
+
validation_status: ValidationStatus
|
172
|
+
def __init__(self, config_block, list_no, raw_blueprint_inputs, raw_config, validation_error, validation_status) -> None: ...
|
168
173
|
|
169
174
|
async def _prepare_automation_config(hass: HomeAssistant, config: ConfigType, wanted_automation_id: str | None) -> list[AutomationEntityConfig]: ...
|
170
175
|
def _automation_name(automation_config: AutomationEntityConfig) -> str: ...
|
@@ -1,6 +1,7 @@
|
|
1
1
|
from .const import CONF_ACTION as CONF_ACTION, CONF_HIDE_ENTITY as CONF_HIDE_ENTITY, CONF_INITIAL_STATE as CONF_INITIAL_STATE, CONF_TRACE as CONF_TRACE, CONF_TRIGGER as CONF_TRIGGER, CONF_TRIGGER_VARIABLES as CONF_TRIGGER_VARIABLES, DOMAIN as DOMAIN, LOGGER as LOGGER
|
2
2
|
from .helpers import async_get_blueprints as async_get_blueprints
|
3
3
|
from _typeshed import Incomplete
|
4
|
+
from enum import StrEnum
|
4
5
|
from homeassistant.components import blueprint as blueprint
|
5
6
|
from homeassistant.components.trace import TRACE_CONFIG_SCHEMA as TRACE_CONFIG_SCHEMA
|
6
7
|
from homeassistant.config import config_per_platform as config_per_platform, config_without_domain as config_without_domain
|
@@ -20,10 +21,19 @@ PLATFORM_SCHEMA: Incomplete
|
|
20
21
|
|
21
22
|
async def _async_validate_config_item(hass: HomeAssistant, config: ConfigType, raise_on_errors: bool, warn_on_errors: bool) -> AutomationConfig: ...
|
22
23
|
|
24
|
+
class ValidationStatus(StrEnum):
|
25
|
+
FAILED_ACTIONS: str
|
26
|
+
FAILED_BLUEPRINT: str
|
27
|
+
FAILED_CONDITIONS: str
|
28
|
+
FAILED_SCHEMA: str
|
29
|
+
FAILED_TRIGGERS: str
|
30
|
+
OK: str
|
31
|
+
|
23
32
|
class AutomationConfig(dict):
|
24
33
|
raw_config: dict[str, Any] | None
|
25
34
|
raw_blueprint_inputs: dict[str, Any] | None
|
26
|
-
|
35
|
+
validation_status: ValidationStatus
|
36
|
+
validation_error: str | None
|
27
37
|
|
28
38
|
async def _try_async_validate_config_item(hass: HomeAssistant, config: dict[str, Any]) -> AutomationConfig | None: ...
|
29
39
|
async def async_validate_config_item(hass: HomeAssistant, config_key: str, config: dict[str, Any]) -> AutomationConfig | None: ...
|
@@ -1,10 +1,10 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
2
2
|
from _typeshed import Incomplete
|
3
|
-
from collections.abc import Generator
|
4
3
|
from homeassistant.components.trace import ActionTrace as ActionTrace, CONF_STORED_TRACES as CONF_STORED_TRACES, async_store_trace as async_store_trace
|
5
4
|
from homeassistant.core import Context as Context, HomeAssistant as HomeAssistant
|
6
5
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
7
6
|
from typing import Any
|
7
|
+
from typing_extensions import Generator
|
8
8
|
|
9
9
|
class AutomationTrace(ActionTrace):
|
10
10
|
_domain = DOMAIN
|
@@ -13,4 +13,4 @@ class AutomationTrace(ActionTrace):
|
|
13
13
|
def set_trigger_description(self, trigger: str) -> None: ...
|
14
14
|
def as_short_dict(self) -> dict[str, Any]: ...
|
15
15
|
|
16
|
-
def trace_automation(hass: HomeAssistant, automation_id: str | None, config: ConfigType | None, blueprint_inputs: ConfigType | None, context: Context, trace_config: ConfigType) -> Generator[AutomationTrace
|
16
|
+
def trace_automation(hass: HomeAssistant, automation_id: str | None, config: ConfigType | None, blueprint_inputs: ConfigType | None, context: Context, trace_config: ConfigType) -> Generator[AutomationTrace]: ...
|
@@ -9,6 +9,7 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow
|
|
9
9
|
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_MAC as CONF_MAC, CONF_MODEL as CONF_MODEL, CONF_NAME as CONF_NAME, CONF_PASSWORD as CONF_PASSWORD, CONF_PORT as CONF_PORT, CONF_PROTOCOL as CONF_PROTOCOL, CONF_USERNAME as CONF_USERNAME
|
10
10
|
from homeassistant.core import callback as callback
|
11
11
|
from homeassistant.helpers.device_registry import format_mac as format_mac
|
12
|
+
from homeassistant.helpers.typing import VolDictType as VolDictType
|
12
13
|
from homeassistant.util.network import is_link_local as is_link_local
|
13
14
|
from typing import Any
|
14
15
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from . import BAFConfigEntry as BAFConfigEntry
|
2
|
-
from .entity import
|
2
|
+
from .entity import BAFDescriptionEntity as BAFDescriptionEntity
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from aiobafi6 import Device as Device
|
5
5
|
from collections.abc import Callable as Callable
|
@@ -17,9 +17,7 @@ OCCUPANCY_SENSORS: Incomplete
|
|
17
17
|
|
18
18
|
async def async_setup_entry(hass: HomeAssistant, entry: BAFConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
19
19
|
|
20
|
-
class BAFBinarySensor(
|
20
|
+
class BAFBinarySensor(BAFDescriptionEntity, BinarySensorEntity):
|
21
21
|
entity_description: BAFBinarySensorDescription
|
22
|
-
_attr_unique_id: Incomplete
|
23
|
-
def __init__(self, device: Device, description: BAFBinarySensorDescription) -> None: ...
|
24
22
|
_attr_is_on: Incomplete
|
25
23
|
def _async_update_attrs(self) -> None: ...
|
@@ -2,7 +2,7 @@ from _typeshed import Incomplete
|
|
2
2
|
from aiobafi6 import Device as Device
|
3
3
|
from homeassistant.core import callback as callback
|
4
4
|
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo, format_mac as format_mac
|
5
|
-
from homeassistant.helpers.entity import Entity as Entity
|
5
|
+
from homeassistant.helpers.entity import Entity as Entity, EntityDescription as EntityDescription
|
6
6
|
|
7
7
|
class BAFEntity(Entity):
|
8
8
|
_attr_should_poll: bool
|
@@ -16,3 +16,8 @@ class BAFEntity(Entity):
|
|
16
16
|
def _async_update_from_device(self, device: Device) -> None: ...
|
17
17
|
async def async_added_to_hass(self) -> None: ...
|
18
18
|
async def async_will_remove_from_hass(self) -> None: ...
|
19
|
+
|
20
|
+
class BAFDescriptionEntity(BAFEntity):
|
21
|
+
entity_description: Incomplete
|
22
|
+
_attr_unique_id: Incomplete
|
23
|
+
def __init__(self, device: Device, description: EntityDescription) -> None: ...
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from . import BAFConfigEntry as BAFConfigEntry
|
2
2
|
from .const import HALF_DAY_SECS as HALF_DAY_SECS, ONE_DAY_SECS as ONE_DAY_SECS, ONE_MIN_SECS as ONE_MIN_SECS, SPEED_RANGE as SPEED_RANGE
|
3
|
-
from .entity import
|
3
|
+
from .entity import BAFDescriptionEntity as BAFDescriptionEntity
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from aiobafi6 import Device as Device
|
6
6
|
from collections.abc import Callable as Callable
|
@@ -21,10 +21,8 @@ LIGHT_NUMBER_DESCRIPTIONS: Incomplete
|
|
21
21
|
|
22
22
|
async def async_setup_entry(hass: HomeAssistant, entry: BAFConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
23
23
|
|
24
|
-
class BAFNumber(
|
24
|
+
class BAFNumber(BAFDescriptionEntity, NumberEntity):
|
25
25
|
entity_description: BAFNumberDescription
|
26
|
-
_attr_unique_id: Incomplete
|
27
|
-
def __init__(self, device: Device, description: BAFNumberDescription) -> None: ...
|
28
26
|
_attr_native_value: Incomplete
|
29
27
|
def _async_update_attrs(self) -> None: ...
|
30
28
|
async def async_set_native_value(self, value: float) -> None: ...
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from . import BAFConfigEntry as BAFConfigEntry
|
2
|
-
from .entity import
|
2
|
+
from .entity import BAFDescriptionEntity as BAFDescriptionEntity
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from aiobafi6 import Device as Device
|
5
5
|
from collections.abc import Callable as Callable
|
@@ -20,9 +20,7 @@ FAN_SENSORS: Incomplete
|
|
20
20
|
|
21
21
|
async def async_setup_entry(hass: HomeAssistant, entry: BAFConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
22
22
|
|
23
|
-
class BAFSensor(
|
23
|
+
class BAFSensor(BAFDescriptionEntity, SensorEntity):
|
24
24
|
entity_description: BAFSensorDescription
|
25
|
-
_attr_unique_id: Incomplete
|
26
|
-
def __init__(self, device: Device, description: BAFSensorDescription) -> None: ...
|
27
25
|
_attr_native_value: Incomplete
|
28
26
|
def _async_update_attrs(self) -> None: ...
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from . import BAFConfigEntry as BAFConfigEntry
|
2
|
-
from .entity import
|
2
|
+
from .entity import BAFDescriptionEntity as BAFDescriptionEntity
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from aiobafi6 import Device as Device
|
5
5
|
from collections.abc import Callable as Callable
|
@@ -22,10 +22,8 @@ LIGHT_SWITCHES: Incomplete
|
|
22
22
|
|
23
23
|
async def async_setup_entry(hass: HomeAssistant, entry: BAFConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
24
24
|
|
25
|
-
class BAFSwitch(
|
25
|
+
class BAFSwitch(BAFDescriptionEntity, SwitchEntity):
|
26
26
|
entity_description: BAFSwitchDescription
|
27
|
-
_attr_unique_id: Incomplete
|
28
|
-
def __init__(self, device: Device, description: BAFSwitchDescription) -> None: ...
|
29
27
|
_attr_is_on: Incomplete
|
30
28
|
def _async_update_attrs(self) -> None: ...
|
31
29
|
async def async_turn_on(self, **kwargs: Any) -> None: ...
|
@@ -7,6 +7,7 @@ from homeassistant.components.media_player import ATTR_MEDIA_EXTRA as ATTR_MEDIA
|
|
7
7
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
8
8
|
from homeassistant.const import CONF_MODEL as CONF_MODEL
|
9
9
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
10
|
+
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError, ServiceValidationError as ServiceValidationError
|
10
11
|
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
11
12
|
from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
|
12
13
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
@@ -45,7 +46,7 @@ class BangOlufsenMediaPlayer(BangOlufsenEntity, MediaPlayerEntity):
|
|
45
46
|
_attr_media_position_updated_at: Incomplete
|
46
47
|
_attr_source_list: Incomplete
|
47
48
|
async def _initialize(self) -> None: ...
|
48
|
-
async def
|
49
|
+
async def _async_update_sources(self) -> None: ...
|
49
50
|
def _async_update_playback_metadata(self, data: PlaybackContentMetadata) -> None: ...
|
50
51
|
def _async_update_playback_error(self, data: PlaybackError) -> None: ...
|
51
52
|
def _async_update_playback_progress(self, data: PlaybackProgress) -> None: ...
|
@@ -92,5 +93,5 @@ class BangOlufsenMediaPlayer(BangOlufsenEntity, MediaPlayerEntity):
|
|
92
93
|
async def async_media_previous_track(self) -> None: ...
|
93
94
|
async def async_clear_playlist(self) -> None: ...
|
94
95
|
async def async_select_source(self, source: str) -> None: ...
|
95
|
-
async def async_play_media(self, media_type: MediaType | str, media_id: str, **kwargs: Any) -> None: ...
|
96
|
+
async def async_play_media(self, media_type: MediaType | str, media_id: str, announce: bool | None = None, **kwargs: Any) -> None: ...
|
96
97
|
async def async_browse_media(self, media_content_type: MediaType | str | None = None, media_content_id: str | None = None) -> BrowseMedia: ...
|
@@ -5,7 +5,7 @@ from .issues import raise_mirrored_entries as raise_mirrored_entries, raise_no_p
|
|
5
5
|
from _typeshed import Incomplete
|
6
6
|
from collections import OrderedDict
|
7
7
|
from collections.abc import Callable as Callable
|
8
|
-
from homeassistant.components.binary_sensor import BinarySensorDeviceClass as BinarySensorDeviceClass, BinarySensorEntity as BinarySensorEntity
|
8
|
+
from homeassistant.components.binary_sensor import BinarySensorDeviceClass as BinarySensorDeviceClass, BinarySensorEntity as BinarySensorEntity
|
9
9
|
from homeassistant.const import CONF_ABOVE as CONF_ABOVE, CONF_BELOW as CONF_BELOW, CONF_DEVICE_CLASS as CONF_DEVICE_CLASS, CONF_ENTITY_ID as CONF_ENTITY_ID, CONF_NAME as CONF_NAME, CONF_PLATFORM as CONF_PLATFORM, CONF_STATE as CONF_STATE, CONF_UNIQUE_ID as CONF_UNIQUE_ID, CONF_VALUE_TEMPLATE as CONF_VALUE_TEMPLATE, STATE_UNAVAILABLE as STATE_UNAVAILABLE, STATE_UNKNOWN as STATE_UNKNOWN
|
10
10
|
from homeassistant.core import Event as Event, EventStateChangedData as EventStateChangedData, HomeAssistant as HomeAssistant, callback as callback
|
11
11
|
from homeassistant.exceptions import ConditionError as ConditionError, TemplateError as TemplateError
|
@@ -22,6 +22,7 @@ _LOGGER: Incomplete
|
|
22
22
|
NUMERIC_STATE_SCHEMA: Incomplete
|
23
23
|
STATE_SCHEMA: Incomplete
|
24
24
|
TEMPLATE_SCHEMA: Incomplete
|
25
|
+
PLATFORM_SCHEMA: Incomplete
|
25
26
|
|
26
27
|
def update_probability(prior: float, prob_given_true: float, prob_given_false: float) -> float: ...
|
27
28
|
async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = None) -> None: ...
|
@@ -5,7 +5,6 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
5
5
|
from homeassistant.const import EntityCategory as EntityCategory, STATE_OFF as STATE_OFF, STATE_ON as STATE_ON
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
7
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
8
|
-
from homeassistant.helpers.config_validation import PLATFORM_SCHEMA as PLATFORM_SCHEMA, PLATFORM_SCHEMA_BASE as PLATFORM_SCHEMA_BASE
|
9
8
|
from homeassistant.helpers.deprecation import DeprecatedConstantEnum as DeprecatedConstantEnum, all_with_deprecated_constants as all_with_deprecated_constants, check_if_deprecated_constant as check_if_deprecated_constant, dir_with_deprecated_constants as dir_with_deprecated_constants
|
10
9
|
from homeassistant.helpers.entity import Entity as Entity, EntityDescription as EntityDescription
|
11
10
|
from homeassistant.helpers.entity_component import EntityComponent as EntityComponent
|
@@ -14,8 +13,10 @@ from typing import Literal
|
|
14
13
|
|
15
14
|
_LOGGER: Incomplete
|
16
15
|
DOMAIN: str
|
17
|
-
SCAN_INTERVAL: Incomplete
|
18
16
|
ENTITY_ID_FORMAT: Incomplete
|
17
|
+
PLATFORM_SCHEMA: Incomplete
|
18
|
+
PLATFORM_SCHEMA_BASE: Incomplete
|
19
|
+
SCAN_INTERVAL: Incomplete
|
19
20
|
|
20
21
|
class BinarySensorDeviceClass(StrEnum):
|
21
22
|
BATTERY: str
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from _typeshed import Incomplete
|
2
2
|
from blockchain import exchangerates, statistics
|
3
|
-
from homeassistant.components.sensor import
|
3
|
+
from homeassistant.components.sensor import SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription
|
4
4
|
from homeassistant.const import CONF_CURRENCY as CONF_CURRENCY, CONF_DISPLAY_OPTIONS as CONF_DISPLAY_OPTIONS, UnitOfTime as UnitOfTime
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
6
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
@@ -11,6 +11,7 @@ DEFAULT_CURRENCY: str
|
|
11
11
|
SCAN_INTERVAL: Incomplete
|
12
12
|
SENSOR_TYPES: tuple[SensorEntityDescription, ...]
|
13
13
|
OPTION_KEYS: Incomplete
|
14
|
+
PLATFORM_SCHEMA: Incomplete
|
14
15
|
|
15
16
|
def setup_platform(hass: HomeAssistant, config: ConfigType, add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = None) -> None: ...
|
16
17
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from _typeshed import Incomplete
|
2
|
-
from homeassistant.components.sensor import
|
2
|
+
from homeassistant.components.sensor import SensorEntity as SensorEntity
|
3
3
|
from homeassistant.const import CONF_NAME as CONF_NAME
|
4
4
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
5
5
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
@@ -9,6 +9,7 @@ _LOGGER: Incomplete
|
|
9
9
|
CONF_ADDRESSES: str
|
10
10
|
DEFAULT_NAME: str
|
11
11
|
SCAN_INTERVAL: Incomplete
|
12
|
+
PLATFORM_SCHEMA: Incomplete
|
12
13
|
|
13
14
|
def setup_platform(hass: HomeAssistant, config: ConfigType, add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = None) -> None: ...
|
14
15
|
|
@@ -17,7 +17,7 @@ class FailedToLoad(BlueprintWithNameException):
|
|
17
17
|
|
18
18
|
class InvalidBlueprint(BlueprintWithNameException):
|
19
19
|
blueprint_data: Incomplete
|
20
|
-
def __init__(self, domain: str | None, blueprint_name: str | None, blueprint_data: Any, msg_or_exc: vol.Invalid) -> None: ...
|
20
|
+
def __init__(self, domain: str | None, blueprint_name: str | None, blueprint_data: Any, msg_or_exc: str | vol.Invalid) -> None: ...
|
21
21
|
|
22
22
|
class InvalidBlueprintInputs(BlueprintException):
|
23
23
|
def __init__(self, domain: str, msg: str) -> None: ...
|
@@ -1,6 +1,7 @@
|
|
1
1
|
from . import importer as importer, models as models
|
2
2
|
from .const import DOMAIN as DOMAIN
|
3
|
-
from .errors import FailedToLoad as FailedToLoad, FileAlreadyExists as FileAlreadyExists
|
3
|
+
from .errors import BlueprintException as BlueprintException, FailedToLoad as FailedToLoad, FileAlreadyExists as FileAlreadyExists
|
4
|
+
from collections.abc import Callable as Callable, Coroutine
|
4
5
|
from homeassistant.components import websocket_api as websocket_api
|
5
6
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
6
7
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
@@ -8,7 +9,9 @@ from homeassistant.util import yaml as yaml
|
|
8
9
|
from typing import Any
|
9
10
|
|
10
11
|
def async_setup(hass: HomeAssistant) -> None: ...
|
12
|
+
def _ws_with_blueprint_domain(func: Callable[[HomeAssistant, websocket_api.ActiveConnection, dict[str, Any], models.DomainBlueprints], Coroutine[Any, Any, None]]) -> websocket_api.AsyncWebSocketCommandHandler: ...
|
11
13
|
async def ws_list_blueprints(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict[str, Any]) -> None: ...
|
12
14
|
async def ws_import_blueprint(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict[str, Any]) -> None: ...
|
13
|
-
async def ws_save_blueprint(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict[str, Any]) -> None: ...
|
14
|
-
async def ws_delete_blueprint(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict[str, Any]) -> None: ...
|
15
|
+
async def ws_save_blueprint(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict[str, Any], domain_blueprints: models.DomainBlueprints) -> None: ...
|
16
|
+
async def ws_delete_blueprint(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict[str, Any], domain_blueprints: models.DomainBlueprints) -> None: ...
|
17
|
+
async def ws_substitute_blueprint(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict[str, Any], domain_blueprints: models.DomainBlueprints) -> None: ...
|
@@ -2,11 +2,11 @@ import logging
|
|
2
2
|
from . import BluetoothChange as BluetoothChange, BluetoothScanningMode as BluetoothScanningMode, BluetoothServiceInfoBleak as BluetoothServiceInfoBleak
|
3
3
|
from .update_coordinator import BasePassiveBluetoothCoordinator as BasePassiveBluetoothCoordinator
|
4
4
|
from _typeshed import Incomplete
|
5
|
-
from collections.abc import Callable as Callable
|
5
|
+
from collections.abc import Callable as Callable
|
6
6
|
from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, HomeAssistant as HomeAssistant, callback as callback
|
7
7
|
from homeassistant.helpers.update_coordinator import BaseCoordinatorEntity as BaseCoordinatorEntity, BaseDataUpdateCoordinatorProtocol as BaseDataUpdateCoordinatorProtocol
|
8
8
|
from typing import Any
|
9
|
-
from typing_extensions import TypeVar
|
9
|
+
from typing_extensions import Generator, TypeVar
|
10
10
|
|
11
11
|
_PassiveBluetoothDataUpdateCoordinatorT = TypeVar('_PassiveBluetoothDataUpdateCoordinatorT', bound='PassiveBluetoothDataUpdateCoordinator', default='PassiveBluetoothDataUpdateCoordinator')
|
12
12
|
|
@@ -18,7 +18,7 @@ class PassiveBluetoothDataUpdateCoordinator(BasePassiveBluetoothCoordinator, Bas
|
|
18
18
|
def async_update_listeners(self) -> None: ...
|
19
19
|
def _async_handle_unavailable(self, service_info: BluetoothServiceInfoBleak) -> None: ...
|
20
20
|
def async_add_listener(self, update_callback: CALLBACK_TYPE, context: Any = None) -> Callable[[], None]: ...
|
21
|
-
def async_contexts(self) -> Generator[Any
|
21
|
+
def async_contexts(self) -> Generator[Any]: ...
|
22
22
|
_available: bool
|
23
23
|
def _async_handle_bluetooth_event(self, service_info: BluetoothServiceInfoBleak, change: BluetoothChange) -> None: ...
|
24
24
|
|
@@ -23,7 +23,7 @@ class BMWSelectEntityDescription(SelectEntityDescription):
|
|
23
23
|
dynamic_options: Callable[[MyBMWVehicle], list[str]] | None = ...
|
24
24
|
def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, options, current_option, remote_service, is_available, dynamic_options) -> None: ...
|
25
25
|
|
26
|
-
SELECT_TYPES:
|
26
|
+
SELECT_TYPES: tuple[BMWSelectEntityDescription, ...]
|
27
27
|
|
28
28
|
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
29
29
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from . import BMWBaseEntity as BMWBaseEntity
|
2
|
-
from .const import
|
2
|
+
from .const import DOMAIN as DOMAIN
|
3
3
|
from .coordinator import BMWDataUpdateCoordinator as BMWDataUpdateCoordinator
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from bimmer_connected.vehicle import MyBMWVehicle as MyBMWVehicle
|