homeassistant-stubs 2025.7.4__py3-none-any.whl → 2025.8.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.
Potentially problematic release.
This version of homeassistant-stubs might be problematic. Click here for more details.
- homeassistant-stubs/bootstrap.pyi +1 -1
- homeassistant-stubs/components/airnow/__init__.pyi +0 -1
- homeassistant-stubs/components/airnow/config_flow.pyi +2 -2
- homeassistant-stubs/components/airos/__init__.pyi +9 -0
- homeassistant-stubs/components/airos/config_flow.pyi +14 -0
- homeassistant-stubs/components/airos/const.pyi +5 -0
- homeassistant-stubs/components/airos/coordinator.pyi +16 -0
- homeassistant-stubs/components/airos/diagnostics.pyi +13 -0
- homeassistant-stubs/components/airos/entity.pyi +11 -0
- homeassistant-stubs/components/airos/sensor.pyi +29 -0
- homeassistant-stubs/components/airq/const.pyi +0 -1
- homeassistant-stubs/components/airq/sensor.pyi +2 -2
- homeassistant-stubs/components/airthings/__init__.pyi +1 -3
- homeassistant-stubs/components/airthings/coordinator.pyi +3 -1
- homeassistant-stubs/components/airthings/sensor.pyi +1 -1
- homeassistant-stubs/components/alexa_devices/__init__.pyi +6 -0
- homeassistant-stubs/components/alexa_devices/config_flow.pyi +10 -0
- homeassistant-stubs/components/alexa_devices/coordinator.pyi +4 -3
- homeassistant-stubs/components/alexa_devices/services.pyi +24 -0
- homeassistant-stubs/components/amberelectric/__init__.pyi +7 -1
- homeassistant-stubs/components/amberelectric/const.pyi +8 -1
- homeassistant-stubs/components/amberelectric/coordinator.pyi +1 -2
- homeassistant-stubs/components/amberelectric/helpers.pyi +6 -0
- homeassistant-stubs/components/amberelectric/sensor.pyi +2 -2
- homeassistant-stubs/components/amberelectric/services.pyi +15 -0
- homeassistant-stubs/components/analytics/__init__.pyi +1 -0
- homeassistant-stubs/components/analytics/analytics.pyi +3 -0
- homeassistant-stubs/components/analytics/http.pyi +10 -0
- homeassistant-stubs/components/analytics_insights/__init__.pyi +0 -1
- homeassistant-stubs/components/analytics_insights/config_flow.pyi +2 -2
- homeassistant-stubs/components/androidtv_remote/__init__.pyi +2 -6
- homeassistant-stubs/components/androidtv_remote/config_flow.pyi +6 -6
- homeassistant-stubs/components/androidtv_remote/diagnostics.pyi +1 -1
- homeassistant-stubs/components/androidtv_remote/entity.pyi +2 -2
- homeassistant-stubs/components/androidtv_remote/helpers.pyi +3 -1
- homeassistant-stubs/components/androidtv_remote/media_player.pyi +4 -4
- homeassistant-stubs/components/androidtv_remote/remote.pyi +1 -1
- homeassistant-stubs/components/assist_pipeline/__init__.pyi +2 -2
- homeassistant-stubs/components/assist_pipeline/const.pyi +0 -1
- homeassistant-stubs/components/assist_pipeline/pipeline.pyi +2 -5
- homeassistant-stubs/components/asuswrt/router.pyi +3 -1
- homeassistant-stubs/components/awair/const.pyi +1 -0
- homeassistant-stubs/components/awair/sensor.pyi +1 -1
- homeassistant-stubs/components/backup/__init__.pyi +6 -2
- homeassistant-stubs/components/backup/coordinator.pyi +0 -1
- homeassistant-stubs/components/backup/manager.pyi +6 -3
- homeassistant-stubs/components/backup/onboarding.pyi +1 -1
- homeassistant-stubs/components/backup/services.pyi +7 -0
- homeassistant-stubs/components/backup/websocket.pyi +4 -1
- homeassistant-stubs/components/blue_current/__init__.pyi +5 -5
- homeassistant-stubs/components/blue_current/const.pyi +11 -0
- homeassistant-stubs/components/blue_current/switch.pyi +40 -0
- homeassistant-stubs/components/bosch_alarm/__init__.pyi +1 -1
- homeassistant-stubs/components/bosch_alarm/services.pyi +3 -2
- homeassistant-stubs/components/bring/__init__.pyi +5 -0
- homeassistant-stubs/components/bring/const.pyi +4 -0
- homeassistant-stubs/components/bring/services.pyi +14 -0
- homeassistant-stubs/components/cloud/backup.pyi +3 -3
- homeassistant-stubs/components/cloud/repairs.pyi +3 -3
- homeassistant-stubs/components/cloud/subscription.pyi +2 -1
- homeassistant-stubs/components/cloud/tts.pyi +2 -1
- homeassistant-stubs/components/command_line/sensor.pyi +0 -2
- homeassistant-stubs/components/demo/vacuum.pyi +0 -3
- homeassistant-stubs/components/derivative/__init__.pyi +5 -1
- homeassistant-stubs/components/derivative/config_flow.pyi +2 -0
- homeassistant-stubs/components/derivative/sensor.pyi +7 -4
- homeassistant-stubs/components/devolo_home_control/config_flow.pyi +3 -7
- homeassistant-stubs/components/devolo_home_control/entity.pyi +0 -1
- homeassistant-stubs/components/devolo_home_network/coordinator.pyi +2 -2
- homeassistant-stubs/components/devolo_home_network/device_tracker.pyi +2 -2
- homeassistant-stubs/components/devolo_home_network/entity.pyi +1 -1
- homeassistant-stubs/components/devolo_home_network/sensor.pyi +1 -1
- homeassistant-stubs/components/discovergy/__init__.pyi +1 -0
- homeassistant-stubs/components/discovergy/coordinator.pyi +1 -0
- homeassistant-stubs/components/dnsip/__init__.pyi +0 -1
- homeassistant-stubs/components/dnsip/config_flow.pyi +2 -2
- homeassistant-stubs/components/downloader/services.pyi +1 -0
- homeassistant-stubs/components/ecovacs/binary_sensor.pyi +13 -3
- homeassistant-stubs/components/ecovacs/sensor.pyi +13 -0
- homeassistant-stubs/components/ecovacs/vacuum.pyi +1 -7
- homeassistant-stubs/components/eheimdigital/config_flow.pyi +2 -1
- homeassistant-stubs/components/elevenlabs/config_flow.pyi +1 -1
- homeassistant-stubs/components/elevenlabs/const.pyi +0 -2
- homeassistant-stubs/components/elevenlabs/tts.pyi +2 -3
- homeassistant-stubs/components/enphase_envoy/__init__.pyi +0 -2
- homeassistant-stubs/components/enphase_envoy/config_flow.pyi +2 -2
- homeassistant-stubs/components/esphome/config_flow.pyi +2 -0
- homeassistant-stubs/components/esphome/encryption_key_storage.pyi +29 -0
- homeassistant-stubs/components/esphome/entity.pyi +3 -1
- homeassistant-stubs/components/esphome/entry_data.pyi +14 -6
- homeassistant-stubs/components/esphome/manager.pyi +3 -1
- homeassistant-stubs/components/feedreader/__init__.pyi +0 -1
- homeassistant-stubs/components/feedreader/config_flow.pyi +3 -3
- homeassistant-stubs/components/forecast_solar/__init__.pyi +0 -1
- homeassistant-stubs/components/forecast_solar/config_flow.pyi +2 -2
- homeassistant-stubs/components/fritz/__init__.pyi +0 -1
- homeassistant-stubs/components/fritz/config_flow.pyi +2 -2
- homeassistant-stubs/components/fritzbox_callmonitor/__init__.pyi +0 -1
- homeassistant-stubs/components/fritzbox_callmonitor/config_flow.pyi +2 -2
- homeassistant-stubs/components/frontend/__init__.pyi +1 -0
- homeassistant-stubs/components/generic_hygrostat/__init__.pyi +3 -1
- homeassistant-stubs/components/generic_hygrostat/config_flow.pyi +1 -0
- homeassistant-stubs/components/generic_hygrostat/humidifier.pyi +3 -3
- homeassistant-stubs/components/generic_thermostat/__init__.pyi +5 -1
- homeassistant-stubs/components/generic_thermostat/climate.pyi +3 -3
- homeassistant-stubs/components/generic_thermostat/config_flow.pyi +1 -0
- homeassistant-stubs/components/geo_location/trigger.pyi +0 -1
- homeassistant-stubs/components/gios/const.pyi +2 -0
- homeassistant-stubs/components/gios/sensor.pyi +1 -1
- homeassistant-stubs/components/google_assistant_sdk/application_credentials.pyi +1 -0
- homeassistant-stubs/components/google_cloud/const.pyi +1 -0
- homeassistant-stubs/components/google_cloud/stt.pyi +3 -2
- homeassistant-stubs/components/guardian/__init__.pyi +1 -1
- homeassistant-stubs/components/guardian/services.pyi +2 -1
- homeassistant-stubs/components/habitica/button.pyi +3 -4
- homeassistant-stubs/components/habitica/coordinator.pyi +2 -3
- homeassistant-stubs/components/habitica/entity.pyi +1 -1
- homeassistant-stubs/components/habitica/sensor.pyi +3 -18
- homeassistant-stubs/components/habitica/switch.pyi +4 -3
- homeassistant-stubs/components/habitica/util.pyi +2 -1
- homeassistant-stubs/components/heos/__init__.pyi +1 -1
- homeassistant-stubs/components/heos/config_flow.pyi +3 -0
- homeassistant-stubs/components/heos/services.pyi +3 -2
- homeassistant-stubs/components/here_travel_time/__init__.pyi +3 -1
- homeassistant-stubs/components/here_travel_time/config_flow.pyi +3 -2
- homeassistant-stubs/components/here_travel_time/const.pyi +1 -0
- homeassistant-stubs/components/here_travel_time/coordinator.pyi +1 -1
- homeassistant-stubs/components/here_travel_time/model.pyi +2 -1
- homeassistant-stubs/components/history_stats/__init__.pyi +5 -1
- homeassistant-stubs/components/history_stats/config_flow.pyi +14 -0
- homeassistant-stubs/components/history_stats/coordinator.pyi +3 -1
- homeassistant-stubs/components/history_stats/data.pyi +2 -1
- homeassistant-stubs/components/history_stats/helpers.pyi +1 -1
- homeassistant-stubs/components/history_stats/sensor.pyi +7 -4
- homeassistant-stubs/components/holiday/__init__.pyi +0 -1
- homeassistant-stubs/components/holiday/config_flow.pyi +2 -2
- homeassistant-stubs/components/home_connect/__init__.pyi +1 -1
- homeassistant-stubs/components/home_connect/services.pyi +3 -2
- homeassistant-stubs/components/homeassistant/__init__.pyi +2 -1
- homeassistant-stubs/components/homeassistant/triggers/time.pyi +2 -1
- homeassistant-stubs/components/homeassistant_hardware/coordinator.pyi +2 -1
- homeassistant-stubs/components/homee/__init__.pyi +1 -1
- homeassistant-stubs/components/homee/config_flow.pyi +5 -0
- homeassistant-stubs/components/homekit/__init__.pyi +2 -1
- homeassistant-stubs/components/http/__init__.pyi +1 -2
- homeassistant-stubs/components/huawei_lte/__init__.pyi +1 -2
- homeassistant-stubs/components/huawei_lte/config_flow.pyi +5 -4
- homeassistant-stubs/components/huawei_lte/const.pyi +1 -1
- homeassistant-stubs/components/huawei_lte/diagnostics.pyi +18 -0
- homeassistant-stubs/components/husqvarna_automower/button.pyi +2 -2
- homeassistant-stubs/components/husqvarna_automower/calendar.pyi +3 -0
- homeassistant-stubs/components/husqvarna_automower/coordinator.pyi +15 -13
- homeassistant-stubs/components/husqvarna_automower/entity.pyi +2 -6
- homeassistant-stubs/components/husqvarna_automower/lawn_mower.pyi +2 -2
- homeassistant-stubs/components/husqvarna_automower/sensor.pyi +5 -0
- homeassistant-stubs/components/hydrawise/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/hydrawise/const.pyi +1 -0
- homeassistant-stubs/components/hydrawise/coordinator.pyi +9 -2
- homeassistant-stubs/components/hydrawise/entity.pyi +1 -1
- homeassistant-stubs/components/hydrawise/sensor.pyi +1 -1
- homeassistant-stubs/components/hydrawise/switch.pyi +1 -1
- homeassistant-stubs/components/hydrawise/valve.pyi +1 -1
- homeassistant-stubs/components/hyperion/__init__.pyi +0 -1
- homeassistant-stubs/components/hyperion/config_flow.pyi +2 -2
- homeassistant-stubs/components/imgw_pib/sensor.pyi +7 -1
- homeassistant-stubs/components/immich/__init__.pyi +6 -0
- homeassistant-stubs/components/immich/media_source.pyi +1 -0
- homeassistant-stubs/components/immich/services.pyi +18 -0
- homeassistant-stubs/components/input_text/__init__.pyi +1 -1
- homeassistant-stubs/components/integration/__init__.pyi +5 -1
- homeassistant-stubs/components/integration/config_flow.pyi +1 -0
- homeassistant-stubs/components/integration/sensor.pyi +5 -6
- homeassistant-stubs/components/iron_os/__init__.pyi +0 -3
- homeassistant-stubs/components/iron_os/const.pyi +4 -0
- homeassistant-stubs/components/iron_os/coordinator.pyi +1 -1
- homeassistant-stubs/components/iron_os/number.pyi +20 -4
- homeassistant-stubs/components/iron_os/switch.pyi +2 -0
- homeassistant-stubs/components/isy994/__init__.pyi +0 -1
- homeassistant-stubs/components/isy994/config_flow.pyi +3 -3
- homeassistant-stubs/components/jellyfin/browse_media.pyi +2 -1
- homeassistant-stubs/components/jellyfin/media_player.pyi +5 -2
- homeassistant-stubs/components/jewish_calendar/binary_sensor.pyi +5 -15
- homeassistant-stubs/components/jewish_calendar/config_flow.pyi +2 -2
- homeassistant-stubs/components/jewish_calendar/entity.pyi +19 -5
- homeassistant-stubs/components/jewish_calendar/sensor.pyi +11 -7
- homeassistant-stubs/components/knx/__init__.pyi +6 -40
- homeassistant-stubs/components/knx/binary_sensor.pyi +3 -2
- homeassistant-stubs/components/knx/button.pyi +1 -1
- homeassistant-stubs/components/knx/climate.pyi +1 -1
- homeassistant-stubs/components/knx/config_flow.pyi +14 -21
- homeassistant-stubs/components/knx/const.pyi +1 -1
- homeassistant-stubs/components/knx/cover.pyi +3 -2
- homeassistant-stubs/components/knx/date.pyi +1 -1
- homeassistant-stubs/components/knx/datetime.pyi +1 -1
- homeassistant-stubs/components/knx/entity.pyi +1 -1
- homeassistant-stubs/components/knx/fan.pyi +1 -1
- homeassistant-stubs/components/knx/knx_module.pyi +43 -0
- homeassistant-stubs/components/knx/light.pyi +3 -2
- homeassistant-stubs/components/knx/notify.pyi +1 -1
- homeassistant-stubs/components/knx/number.pyi +1 -1
- homeassistant-stubs/components/knx/scene.pyi +1 -1
- homeassistant-stubs/components/knx/select.pyi +1 -1
- homeassistant-stubs/components/knx/sensor.pyi +1 -1
- homeassistant-stubs/components/knx/services.pyi +2 -2
- homeassistant-stubs/components/knx/storage/config_store.pyi +4 -0
- homeassistant-stubs/components/knx/storage/const.pyi +8 -7
- homeassistant-stubs/components/knx/storage/entity_store_schema.pyi +3 -10
- homeassistant-stubs/components/knx/storage/knx_selector.pyi +4 -0
- homeassistant-stubs/components/knx/storage/migration.pyi +5 -0
- homeassistant-stubs/components/knx/storage/util.pyi +16 -0
- homeassistant-stubs/components/knx/switch.pyi +3 -2
- homeassistant-stubs/components/knx/text.pyi +1 -1
- homeassistant-stubs/components/knx/time.pyi +1 -1
- homeassistant-stubs/components/knx/weather.pyi +1 -1
- homeassistant-stubs/components/knx/websocket.pyi +1 -1
- homeassistant-stubs/components/lamarzocco/config_flow.pyi +2 -2
- homeassistant-stubs/components/lcn/binary_sensor.pyi +1 -20
- homeassistant-stubs/components/lcn/helpers.pyi +1 -0
- homeassistant-stubs/components/lcn/light.pyi +2 -1
- homeassistant-stubs/components/letpot/coordinator.pyi +3 -4
- homeassistant-stubs/components/letpot/switch.pyi +1 -1
- homeassistant-stubs/components/letpot/time.pyi +1 -1
- homeassistant-stubs/components/lifx/const.pyi +1 -0
- homeassistant-stubs/components/lifx/coordinator.pyi +5 -1
- homeassistant-stubs/components/lifx/manager.pyi +1 -1
- homeassistant-stubs/components/linkplay/select.pyi +35 -0
- homeassistant-stubs/components/litterrobot/sensor.pyi +3 -0
- homeassistant-stubs/components/matrix/__init__.pyi +1 -1
- homeassistant-stubs/components/matrix/services.pyi +3 -2
- homeassistant-stubs/components/matter/entity.pyi +2 -2
- homeassistant-stubs/components/matter/number.pyi +29 -1
- homeassistant-stubs/components/matter/select.pyi +2 -2
- homeassistant-stubs/components/matter/vacuum.pyi +2 -1
- homeassistant-stubs/components/mcp_server/server.pyi +1 -1
- homeassistant-stubs/components/mealie/const.pyi +2 -0
- homeassistant-stubs/components/mealie/services.pyi +4 -1
- homeassistant-stubs/components/media_player/const.pyi +2 -2
- homeassistant-stubs/components/media_source/const.pyi +3 -0
- homeassistant-stubs/components/media_source/local_source.pyi +1 -1
- homeassistant-stubs/components/media_source/models.pyi +6 -2
- homeassistant-stubs/components/met_eireann/__init__.pyi +2 -17
- homeassistant-stubs/components/met_eireann/coordinator.pyi +28 -0
- homeassistant-stubs/components/met_eireann/weather.pyi +1 -3
- homeassistant-stubs/components/miele/__init__.pyi +5 -0
- homeassistant-stubs/components/miele/coordinator.pyi +1 -1
- homeassistant-stubs/components/miele/entity.pyi +2 -0
- homeassistant-stubs/components/miele/sensor.pyi +7 -6
- homeassistant-stubs/components/miele/services.pyi +24 -0
- homeassistant-stubs/components/miele/vacuum.pyi +0 -2
- homeassistant-stubs/components/modem_callerid/sensor.pyi +2 -2
- homeassistant-stubs/components/mold_indicator/__init__.pyi +8 -1
- homeassistant-stubs/components/mold_indicator/config_flow.pyi +2 -0
- homeassistant-stubs/components/mold_indicator/sensor.pyi +2 -2
- homeassistant-stubs/components/mqtt/climate.pyi +1 -37
- homeassistant-stubs/components/mqtt/config_flow.pyi +38 -6
- homeassistant-stubs/components/mqtt/const.pyi +33 -2
- homeassistant-stubs/components/mqtt/repairs.pyi +15 -0
- homeassistant-stubs/components/mqtt/vacuum.pyi +4 -3
- homeassistant-stubs/components/nasweb/const.pyi +1 -0
- homeassistant-stubs/components/nasweb/coordinator.pyi +3 -1
- homeassistant-stubs/components/nasweb/sensor.pyi +54 -0
- homeassistant-stubs/components/netatmo/climate.pyi +1 -1
- homeassistant-stubs/components/netatmo/const.pyi +1 -0
- homeassistant-stubs/components/nextdns/__init__.pyi +2 -3
- homeassistant-stubs/components/nextdns/coordinator.pyi +10 -2
- homeassistant-stubs/components/nordpool/const.pyi +1 -0
- homeassistant-stubs/components/nordpool/services.pyi +5 -1
- homeassistant-stubs/components/number/const.pyi +2 -1
- homeassistant-stubs/components/nut/__init__.pyi +0 -1
- homeassistant-stubs/components/onewire/__init__.pyi +0 -1
- homeassistant-stubs/components/onewire/config_flow.pyi +2 -2
- homeassistant-stubs/components/onkyo/__init__.pyi +2 -3
- homeassistant-stubs/components/onkyo/config_flow.pyi +9 -6
- homeassistant-stubs/components/onkyo/const.pyi +7 -65
- homeassistant-stubs/components/onkyo/media_player.pyi +16 -44
- homeassistant-stubs/components/onkyo/receiver.pyi +24 -25
- homeassistant-stubs/components/onkyo/services.pyi +3 -3
- homeassistant-stubs/components/onkyo/util.pyi +3 -0
- homeassistant-stubs/components/open_router/__init__.pyi +15 -0
- homeassistant-stubs/components/open_router/ai_task.pyi +17 -0
- homeassistant-stubs/components/open_router/config_flow.pyi +30 -0
- homeassistant-stubs/components/open_router/const.pyi +8 -0
- homeassistant-stubs/components/open_router/conversation.pyi +20 -0
- homeassistant-stubs/components/open_router/entity.pyi +33 -0
- homeassistant-stubs/components/openai_conversation/__init__.pyi +4 -2
- homeassistant-stubs/components/openai_conversation/ai_task.pyi +16 -0
- homeassistant-stubs/components/openai_conversation/config_flow.pyi +2 -3
- homeassistant-stubs/components/openai_conversation/const.pyi +9 -1
- homeassistant-stubs/components/openai_conversation/conversation.pyi +6 -22
- homeassistant-stubs/components/openai_conversation/entity.pyi +36 -0
- homeassistant-stubs/components/opower/__init__.pyi +8 -0
- homeassistant-stubs/components/opower/config_flow.pyi +30 -0
- homeassistant-stubs/components/opower/const.pyi +4 -0
- homeassistant-stubs/components/opower/coordinator.pyi +24 -0
- homeassistant-stubs/components/opower/sensor.pyi +35 -0
- homeassistant-stubs/components/pegel_online/__init__.pyi +1 -1
- homeassistant-stubs/components/pegel_online/sensor.pyi +2 -0
- homeassistant-stubs/components/pi_hole/__init__.pyi +6 -2
- homeassistant-stubs/components/pi_hole/config_flow.pyi +1 -2
- homeassistant-stubs/components/pi_hole/const.pyi +1 -0
- homeassistant-stubs/components/pi_hole/sensor.pyi +5 -0
- homeassistant-stubs/components/pi_hole/update.pyi +3 -3
- homeassistant-stubs/components/ping/__init__.pyi +0 -1
- homeassistant-stubs/components/ping/config_flow.pyi +3 -3
- homeassistant-stubs/components/plugwise/select.pyi +1 -1
- homeassistant-stubs/components/proximity/__init__.pyi +0 -1
- homeassistant-stubs/components/proximity/config_flow.pyi +3 -3
- homeassistant-stubs/components/purpleair/__init__.pyi +0 -1
- homeassistant-stubs/components/purpleair/config_flow.pyi +2 -2
- homeassistant-stubs/components/pyload/config_flow.pyi +4 -0
- homeassistant-stubs/components/recorder/pool.pyi +2 -1
- homeassistant-stubs/components/renault/__init__.pyi +1 -1
- homeassistant-stubs/components/renault/services.pyi +3 -2
- homeassistant-stubs/components/reolink/__init__.pyi +0 -1
- homeassistant-stubs/components/reolink/config_flow.pyi +2 -2
- homeassistant-stubs/components/reolink/number.pyi +1 -1
- homeassistant-stubs/components/reolink/sensor.pyi +1 -1
- homeassistant-stubs/components/rest/sensor.pyi +1 -3
- homeassistant-stubs/components/roborock/__init__.pyi +0 -1
- homeassistant-stubs/components/roborock/config_flow.pyi +2 -2
- homeassistant-stubs/components/roborock/vacuum.pyi +0 -2
- homeassistant-stubs/components/roku/__init__.pyi +0 -1
- homeassistant-stubs/components/roku/config_flow.pyi +2 -2
- homeassistant-stubs/components/russound_rio/const.pyi +2 -0
- homeassistant-stubs/components/russound_rio/media_player.pyi +6 -0
- homeassistant-stubs/components/scrape/sensor.pyi +1 -2
- homeassistant-stubs/components/sensor/const.pyi +2 -1
- homeassistant-stubs/components/sensor/device_condition.pyi +1 -0
- homeassistant-stubs/components/sensor/device_trigger.pyi +1 -0
- homeassistant-stubs/components/shelly/button.pyi +2 -2
- homeassistant-stubs/components/shelly/climate.pyi +2 -2
- homeassistant-stubs/components/shelly/coordinator.pyi +5 -1
- homeassistant-stubs/components/shelly/entity.pyi +3 -0
- homeassistant-stubs/components/shelly/event.pyi +2 -2
- homeassistant-stubs/components/shelly/sensor.pyi +2 -2
- homeassistant-stubs/components/shelly/utils.pyi +2 -2
- homeassistant-stubs/components/sleepiq/const.pyi +2 -0
- homeassistant-stubs/components/sleepiq/number.pyi +7 -3
- homeassistant-stubs/components/sleepiq/select.pyi +15 -2
- homeassistant-stubs/components/smhi/coordinator.pyi +3 -0
- homeassistant-stubs/components/smhi/entity.pyi +3 -1
- homeassistant-stubs/components/smhi/sensor.pyi +30 -0
- homeassistant-stubs/components/smhi/weather.pyi +4 -2
- homeassistant-stubs/components/sonarr/__init__.pyi +0 -1
- homeassistant-stubs/components/sonarr/config_flow.pyi +2 -2
- homeassistant-stubs/components/speedtestdotnet/__init__.pyi +0 -1
- homeassistant-stubs/components/speedtestdotnet/config_flow.pyi +2 -2
- homeassistant-stubs/components/sql/__init__.pyi +0 -1
- homeassistant-stubs/components/sql/config_flow.pyi +2 -2
- homeassistant-stubs/components/squeezebox/__init__.pyi +3 -2
- homeassistant-stubs/components/squeezebox/browse_media.pyi +3 -1
- homeassistant-stubs/components/squeezebox/const.pyi +2 -3
- homeassistant-stubs/components/squeezebox/coordinator.pyi +2 -2
- homeassistant-stubs/components/squeezebox/media_player.pyi +3 -2
- homeassistant-stubs/components/statistics/__init__.pyi +3 -1
- homeassistant-stubs/components/statistics/config_flow.pyi +1 -0
- homeassistant-stubs/components/statistics/sensor.pyi +5 -5
- homeassistant-stubs/components/stookwijzer/__init__.pyi +4 -0
- homeassistant-stubs/components/stookwijzer/const.pyi +2 -0
- homeassistant-stubs/components/stookwijzer/services.pyi +17 -0
- homeassistant-stubs/components/switch_as_x/__init__.pyi +2 -2
- homeassistant-stubs/components/switch_as_x/entity.pyi +1 -3
- homeassistant-stubs/components/switchbot_cloud/__init__.pyi +2 -0
- homeassistant-stubs/components/switchbot_cloud/const.pyi +1 -0
- homeassistant-stubs/components/switchbot_cloud/fan.pyi +26 -0
- homeassistant-stubs/components/switchbot_cloud/light.pyi +40 -0
- homeassistant-stubs/components/switchbot_cloud/vacuum.pyi +17 -1
- homeassistant-stubs/components/synology_dsm/__init__.pyi +0 -1
- homeassistant-stubs/components/synology_dsm/config_flow.pyi +2 -2
- homeassistant-stubs/components/tankerkoenig/__init__.pyi +10 -0
- homeassistant-stubs/components/tankerkoenig/binary_sensor.pyi +23 -0
- homeassistant-stubs/components/tankerkoenig/config_flow.pyi +33 -0
- homeassistant-stubs/components/tankerkoenig/const.pyi +13 -0
- homeassistant-stubs/components/tankerkoenig/coordinator.pyi +22 -0
- homeassistant-stubs/components/tankerkoenig/diagnostics.pyi +10 -0
- homeassistant-stubs/components/tankerkoenig/entity.pyi +11 -0
- homeassistant-stubs/components/tankerkoenig/sensor.pyi +28 -0
- homeassistant-stubs/components/threshold/__init__.pyi +5 -1
- homeassistant-stubs/components/threshold/binary_sensor.pyi +3 -4
- homeassistant-stubs/components/threshold/config_flow.pyi +1 -0
- homeassistant-stubs/components/time_date/config_flow.pyi +1 -2
- homeassistant-stubs/components/trafikverket_train/__init__.pyi +0 -1
- homeassistant-stubs/components/trafikverket_train/config_flow.pyi +2 -2
- homeassistant-stubs/components/trend/__init__.pyi +3 -1
- homeassistant-stubs/components/trend/binary_sensor.pyi +3 -4
- homeassistant-stubs/components/trend/config_flow.pyi +1 -0
- homeassistant-stubs/components/tts/entity.pyi +0 -2
- homeassistant-stubs/components/unifi/hub/entity_loader.pyi +3 -2
- homeassistant-stubs/components/unifiprotect/__init__.pyi +5 -5
- homeassistant-stubs/components/unifiprotect/config_flow.pyi +5 -5
- homeassistant-stubs/components/unifiprotect/repairs.pyi +0 -6
- homeassistant-stubs/components/unifiprotect/services.pyi +1 -1
- homeassistant-stubs/components/uptime_kuma/__init__.pyi +14 -0
- homeassistant-stubs/components/uptime_kuma/config_flow.pyi +26 -0
- homeassistant-stubs/components/uptime_kuma/const.pyi +7 -0
- homeassistant-stubs/components/uptime_kuma/coordinator.pyi +30 -0
- homeassistant-stubs/components/uptime_kuma/diagnostics.pyi +9 -0
- homeassistant-stubs/components/uptime_kuma/sensor.pyi +46 -0
- homeassistant-stubs/components/uptime_kuma/update.pyi +39 -0
- homeassistant-stubs/components/vacuum/__init__.pyi +8 -0
- homeassistant-stubs/components/velbus/__init__.pyi +1 -1
- homeassistant-stubs/components/velbus/const.pyi +0 -1
- homeassistant-stubs/components/velbus/services.pyi +4 -4
- homeassistant-stubs/components/vodafone_station/__init__.pyi +0 -1
- homeassistant-stubs/components/vodafone_station/config_flow.pyi +2 -2
- homeassistant-stubs/components/volvo/__init__.pyi +15 -0
- homeassistant-stubs/components/volvo/api.pyi +14 -0
- homeassistant-stubs/components/volvo/application_credentials.pyi +9 -0
- homeassistant-stubs/components/volvo/config_flow.pyi +36 -0
- homeassistant-stubs/components/volvo/const.pyi +8 -0
- homeassistant-stubs/components/volvo/coordinator.pyi +46 -0
- homeassistant-stubs/components/volvo/entity.pyi +33 -0
- homeassistant-stubs/components/volvo/sensor.pyi +35 -0
- homeassistant-stubs/components/wallbox/__init__.pyi +4 -5
- homeassistant-stubs/components/wallbox/coordinator.pyi +8 -2
- homeassistant-stubs/components/wallbox/lock.pyi +5 -4
- homeassistant-stubs/components/wallbox/number.pyi +6 -5
- homeassistant-stubs/components/wallbox/select.pyi +4 -3
- homeassistant-stubs/components/wallbox/sensor.pyi +5 -4
- homeassistant-stubs/components/wallbox/switch.pyi +5 -4
- homeassistant-stubs/components/waqi/__init__.pyi +3 -5
- homeassistant-stubs/components/waqi/coordinator.pyi +3 -2
- homeassistant-stubs/components/waqi/sensor.pyi +2 -13
- homeassistant-stubs/components/webostv/__init__.pyi +0 -1
- homeassistant-stubs/components/webostv/config_flow.pyi +3 -3
- homeassistant-stubs/components/websocket_api/commands.pyi +4 -0
- homeassistant-stubs/components/wiz/fan.pyi +34 -0
- homeassistant-stubs/components/wled/__init__.pyi +0 -1
- homeassistant-stubs/components/wled/config_flow.pyi +2 -2
- homeassistant-stubs/components/workday/__init__.pyi +0 -1
- homeassistant-stubs/components/workday/config_flow.pyi +2 -2
- homeassistant-stubs/components/yale_smart_alarm/__init__.pyi +0 -1
- homeassistant-stubs/components/yale_smart_alarm/config_flow.pyi +2 -2
- homeassistant-stubs/components/yalexs_ble/lock.pyi +14 -2
- homeassistant-stubs/components/zone/condition.pyi +22 -0
- homeassistant-stubs/components/zone/trigger.pyi +2 -1
- homeassistant-stubs/components/zwave_js/__init__.pyi +12 -10
- homeassistant-stubs/components/zwave_js/api.pyi +36 -35
- homeassistant-stubs/components/zwave_js/binary_sensor.pyi +7 -7
- homeassistant-stubs/components/zwave_js/button.pyi +5 -5
- homeassistant-stubs/components/zwave_js/climate.pyi +5 -5
- homeassistant-stubs/components/zwave_js/config_flow.pyi +6 -4
- homeassistant-stubs/components/zwave_js/const.pyi +0 -3
- homeassistant-stubs/components/zwave_js/cover.pyi +7 -7
- homeassistant-stubs/components/zwave_js/device_automation_helpers.pyi +1 -1
- homeassistant-stubs/components/zwave_js/diagnostics.pyi +5 -5
- homeassistant-stubs/components/zwave_js/event.pyi +4 -4
- homeassistant-stubs/components/zwave_js/fan.pyi +6 -6
- homeassistant-stubs/components/zwave_js/helpers.pyi +10 -6
- homeassistant-stubs/components/zwave_js/humidifier.pyi +4 -4
- homeassistant-stubs/components/zwave_js/light.pyi +15 -5
- homeassistant-stubs/components/zwave_js/lock.pyi +3 -3
- homeassistant-stubs/components/zwave_js/models.pyi +12 -0
- homeassistant-stubs/components/zwave_js/number.pyi +6 -6
- homeassistant-stubs/components/zwave_js/select.pyi +8 -8
- homeassistant-stubs/components/zwave_js/sensor.pyi +10 -10
- homeassistant-stubs/components/zwave_js/siren.pyi +4 -4
- homeassistant-stubs/components/zwave_js/switch.pyi +7 -7
- homeassistant-stubs/components/zwave_js/triggers/event.pyi +1 -2
- homeassistant-stubs/components/zwave_js/triggers/trigger_helpers.pyi +1 -1
- homeassistant-stubs/components/zwave_js/update.pyi +28 -18
- homeassistant-stubs/config.pyi +0 -2
- homeassistant-stubs/config_entries.pyi +3 -0
- homeassistant-stubs/const.pyi +2 -0
- homeassistant-stubs/core.pyi +12 -8
- homeassistant-stubs/helpers/condition.pyi +25 -6
- homeassistant-stubs/helpers/config_validation.pyi +0 -2
- homeassistant-stubs/helpers/device.pyi +2 -0
- homeassistant-stubs/helpers/device_registry.pyi +16 -8
- homeassistant-stubs/helpers/entity.pyi +3 -1
- homeassistant-stubs/helpers/entity_platform.pyi +30 -9
- homeassistant-stubs/helpers/frame.pyi +1 -1
- homeassistant-stubs/helpers/helper_integration.pyi +2 -1
- homeassistant-stubs/helpers/llm.pyi +5 -1
- homeassistant-stubs/helpers/schema_config_entry_flow.pyi +1 -0
- homeassistant-stubs/helpers/selector.pyi +42 -37
- homeassistant-stubs/helpers/service.pyi +9 -26
- homeassistant-stubs/helpers/target.pyi +59 -0
- homeassistant-stubs/helpers/trigger.pyi +3 -1
- homeassistant-stubs/helpers/trigger_template_entity.pyi +5 -1
- homeassistant-stubs/loader.pyi +2 -9
- homeassistant-stubs/runner.pyi +1 -0
- homeassistant-stubs/util/resource.pyi +7 -0
- homeassistant-stubs/util/unit_conversion.pyi +1 -1
- {homeassistant_stubs-2025.7.4.dist-info → homeassistant_stubs-2025.8.0.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2025.7.4.dist-info → homeassistant_stubs-2025.8.0.dist-info}/RECORD +488 -419
- homeassistant-stubs/components/backup/basic_websocket.pyi +0 -12
- homeassistant-stubs/helpers/backup.pyi +0 -24
- {homeassistant_stubs-2025.7.4.dist-info → homeassistant_stubs-2025.8.0.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2025.7.4.dist-info → homeassistant_stubs-2025.8.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -5,7 +5,7 @@ from .components import http as http
|
|
|
5
5
|
from .const import BASE_PLATFORMS as BASE_PLATFORMS, FORMAT_DATETIME as FORMAT_DATETIME, REQUIRED_NEXT_PYTHON_HA_RELEASE as REQUIRED_NEXT_PYTHON_HA_RELEASE, REQUIRED_NEXT_PYTHON_VER as REQUIRED_NEXT_PYTHON_VER, SIGNAL_BOOTSTRAP_INTEGRATIONS as SIGNAL_BOOTSTRAP_INTEGRATIONS
|
|
6
6
|
from .core_config import async_process_ha_core_config as async_process_ha_core_config
|
|
7
7
|
from .exceptions import HomeAssistantError as HomeAssistantError
|
|
8
|
-
from .helpers import area_registry as area_registry,
|
|
8
|
+
from .helpers import area_registry as area_registry, category_registry as category_registry, condition as condition, device_registry as device_registry, entity as entity, entity_registry as entity_registry, floor_registry as floor_registry, frame as frame, issue_registry as issue_registry, label_registry as label_registry, recorder as recorder, restore_state as restore_state, template as template, translation as translation, trigger as trigger
|
|
9
9
|
from .helpers.dispatcher import async_dispatcher_send_internal as async_dispatcher_send_internal
|
|
10
10
|
from .helpers.storage import get_internal_store_manager as get_internal_store_manager
|
|
11
11
|
from .helpers.system_info import async_get_system_info as async_get_system_info
|
|
@@ -11,4 +11,3 @@ PLATFORMS: Incomplete
|
|
|
11
11
|
async def async_setup_entry(hass: HomeAssistant, entry: AirNowConfigEntry) -> bool: ...
|
|
12
12
|
async def async_migrate_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
|
13
13
|
async def async_unload_entry(hass: HomeAssistant, entry: AirNowConfigEntry) -> bool: ...
|
|
14
|
-
async def update_listener(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
|
2
2
|
from _typeshed import Incomplete
|
|
3
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult,
|
|
3
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlowWithReload as OptionsFlowWithReload
|
|
4
4
|
from homeassistant.const import CONF_API_KEY as CONF_API_KEY, CONF_LATITUDE as CONF_LATITUDE, CONF_LONGITUDE as CONF_LONGITUDE, CONF_RADIUS as CONF_RADIUS
|
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
6
6
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
@@ -18,7 +18,7 @@ class AirNowConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
|
18
18
|
@callback
|
|
19
19
|
def async_get_options_flow(config_entry: ConfigEntry) -> AirNowOptionsFlowHandler: ...
|
|
20
20
|
|
|
21
|
-
class AirNowOptionsFlowHandler(
|
|
21
|
+
class AirNowOptionsFlowHandler(OptionsFlowWithReload):
|
|
22
22
|
async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
23
23
|
|
|
24
24
|
class CannotConnect(HomeAssistantError): ...
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
from .coordinator import AirOSConfigEntry as AirOSConfigEntry, AirOSDataUpdateCoordinator as AirOSDataUpdateCoordinator
|
|
2
|
+
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME, Platform as Platform
|
|
3
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
4
|
+
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
|
5
|
+
|
|
6
|
+
_PLATFORMS: list[Platform]
|
|
7
|
+
|
|
8
|
+
async def async_setup_entry(hass: HomeAssistant, entry: AirOSConfigEntry) -> bool: ...
|
|
9
|
+
async def async_unload_entry(hass: HomeAssistant, entry: AirOSConfigEntry) -> bool: ...
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
from .const import DOMAIN as DOMAIN
|
|
2
|
+
from .coordinator import AirOS as AirOS
|
|
3
|
+
from _typeshed import Incomplete
|
|
4
|
+
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
|
|
5
|
+
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME
|
|
6
|
+
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
|
7
|
+
from typing import Any
|
|
8
|
+
|
|
9
|
+
_LOGGER: Incomplete
|
|
10
|
+
STEP_USER_DATA_SCHEMA: Incomplete
|
|
11
|
+
|
|
12
|
+
class AirOSConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
13
|
+
VERSION: int
|
|
14
|
+
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from .const import DOMAIN as DOMAIN, SCAN_INTERVAL as SCAN_INTERVAL
|
|
2
|
+
from _typeshed import Incomplete
|
|
3
|
+
from airos.airos8 import AirOS as AirOS, AirOSData
|
|
4
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
5
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
6
|
+
from homeassistant.exceptions import ConfigEntryError as ConfigEntryError
|
|
7
|
+
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
|
8
|
+
|
|
9
|
+
_LOGGER: Incomplete
|
|
10
|
+
type AirOSConfigEntry = ConfigEntry[AirOSDataUpdateCoordinator]
|
|
11
|
+
|
|
12
|
+
class AirOSDataUpdateCoordinator(DataUpdateCoordinator[AirOSData]):
|
|
13
|
+
config_entry: AirOSConfigEntry
|
|
14
|
+
airos_device: Incomplete
|
|
15
|
+
def __init__(self, hass: HomeAssistant, config_entry: AirOSConfigEntry, airos_device: AirOS) -> None: ...
|
|
16
|
+
async def _async_update_data(self) -> AirOSData: ...
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from .coordinator import AirOSConfigEntry as AirOSConfigEntry
|
|
2
|
+
from _typeshed import Incomplete
|
|
3
|
+
from homeassistant.components.diagnostics import async_redact_data as async_redact_data
|
|
4
|
+
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_PASSWORD as CONF_PASSWORD
|
|
5
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
6
|
+
from typing import Any
|
|
7
|
+
|
|
8
|
+
IP_REDACT: Incomplete
|
|
9
|
+
HW_REDACT: Incomplete
|
|
10
|
+
TO_REDACT_HA: Incomplete
|
|
11
|
+
TO_REDACT_AIROS: Incomplete
|
|
12
|
+
|
|
13
|
+
async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry: AirOSConfigEntry) -> dict[str, Any]: ...
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from .const import DOMAIN as DOMAIN, MANUFACTURER as MANUFACTURER
|
|
2
|
+
from .coordinator import AirOSDataUpdateCoordinator as AirOSDataUpdateCoordinator
|
|
3
|
+
from _typeshed import Incomplete
|
|
4
|
+
from homeassistant.const import CONF_HOST as CONF_HOST
|
|
5
|
+
from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC as CONNECTION_NETWORK_MAC, DeviceInfo as DeviceInfo
|
|
6
|
+
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
|
7
|
+
|
|
8
|
+
class AirOSEntity(CoordinatorEntity[AirOSDataUpdateCoordinator]):
|
|
9
|
+
_attr_has_entity_name: bool
|
|
10
|
+
_attr_device_info: Incomplete
|
|
11
|
+
def __init__(self, coordinator: AirOSDataUpdateCoordinator) -> None: ...
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
from .coordinator import AirOSConfigEntry as AirOSConfigEntry, AirOSData as AirOSData, AirOSDataUpdateCoordinator as AirOSDataUpdateCoordinator
|
|
2
|
+
from .entity import AirOSEntity as AirOSEntity
|
|
3
|
+
from _typeshed import Incomplete
|
|
4
|
+
from collections.abc import Callable as Callable
|
|
5
|
+
from dataclasses import dataclass
|
|
6
|
+
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
|
|
7
|
+
from homeassistant.const import PERCENTAGE as PERCENTAGE, SIGNAL_STRENGTH_DECIBELS as SIGNAL_STRENGTH_DECIBELS, UnitOfDataRate as UnitOfDataRate, UnitOfFrequency as UnitOfFrequency
|
|
8
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
9
|
+
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
10
|
+
from homeassistant.helpers.typing import StateType as StateType
|
|
11
|
+
|
|
12
|
+
_LOGGER: Incomplete
|
|
13
|
+
WIRELESS_MODE_OPTIONS: Incomplete
|
|
14
|
+
NETROLE_OPTIONS: Incomplete
|
|
15
|
+
|
|
16
|
+
@dataclass(frozen=True, kw_only=True)
|
|
17
|
+
class AirOSSensorEntityDescription(SensorEntityDescription):
|
|
18
|
+
value_fn: Callable[[AirOSData], StateType]
|
|
19
|
+
|
|
20
|
+
SENSORS: tuple[AirOSSensorEntityDescription, ...]
|
|
21
|
+
|
|
22
|
+
async def async_setup_entry(hass: HomeAssistant, config_entry: AirOSConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
23
|
+
|
|
24
|
+
class AirOSSensor(AirOSEntity, SensorEntity):
|
|
25
|
+
entity_description: AirOSSensorEntityDescription
|
|
26
|
+
_attr_unique_id: Incomplete
|
|
27
|
+
def __init__(self, coordinator: AirOSDataUpdateCoordinator, description: AirOSSensorEntityDescription) -> None: ...
|
|
28
|
+
@property
|
|
29
|
+
def native_value(self) -> StateType: ...
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
from . import AirQConfigEntry as AirQConfigEntry, AirQCoordinator as AirQCoordinator
|
|
2
|
-
from .const import ACTIVITY_BECQUEREL_PER_CUBIC_METER as ACTIVITY_BECQUEREL_PER_CUBIC_METER
|
|
2
|
+
from .const import ACTIVITY_BECQUEREL_PER_CUBIC_METER as ACTIVITY_BECQUEREL_PER_CUBIC_METER
|
|
3
3
|
from _typeshed import Incomplete
|
|
4
4
|
from collections.abc import Callable as Callable
|
|
5
5
|
from dataclasses import dataclass
|
|
6
6
|
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
|
|
7
|
-
from homeassistant.const import CONCENTRATION_MICROGRAMS_PER_CUBIC_METER as CONCENTRATION_MICROGRAMS_PER_CUBIC_METER, CONCENTRATION_MILLIGRAMS_PER_CUBIC_METER as CONCENTRATION_MILLIGRAMS_PER_CUBIC_METER, CONCENTRATION_PARTS_PER_BILLION as CONCENTRATION_PARTS_PER_BILLION, CONCENTRATION_PARTS_PER_MILLION as CONCENTRATION_PARTS_PER_MILLION, PERCENTAGE as PERCENTAGE, UnitOfPressure as UnitOfPressure, UnitOfSoundPressure as UnitOfSoundPressure, UnitOfTemperature as UnitOfTemperature
|
|
7
|
+
from homeassistant.const import CONCENTRATION_GRAMS_PER_CUBIC_METER as CONCENTRATION_GRAMS_PER_CUBIC_METER, CONCENTRATION_MICROGRAMS_PER_CUBIC_METER as CONCENTRATION_MICROGRAMS_PER_CUBIC_METER, CONCENTRATION_MILLIGRAMS_PER_CUBIC_METER as CONCENTRATION_MILLIGRAMS_PER_CUBIC_METER, CONCENTRATION_PARTS_PER_BILLION as CONCENTRATION_PARTS_PER_BILLION, CONCENTRATION_PARTS_PER_MILLION as CONCENTRATION_PARTS_PER_MILLION, PERCENTAGE as PERCENTAGE, UnitOfPressure as UnitOfPressure, UnitOfSoundPressure as UnitOfSoundPressure, UnitOfTemperature as UnitOfTemperature
|
|
8
8
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
9
9
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
10
10
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
from .const import CONF_SECRET as CONF_SECRET
|
|
2
|
-
from .coordinator import AirthingsDataUpdateCoordinator as AirthingsDataUpdateCoordinator
|
|
2
|
+
from .coordinator import AirthingsConfigEntry as AirthingsConfigEntry, AirthingsDataUpdateCoordinator as AirthingsDataUpdateCoordinator
|
|
3
3
|
from _typeshed import Incomplete
|
|
4
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
5
4
|
from homeassistant.const import CONF_ID as CONF_ID, Platform as Platform
|
|
6
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
7
6
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
|
@@ -9,7 +8,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession as asyn
|
|
|
9
8
|
_LOGGER: Incomplete
|
|
10
9
|
PLATFORMS: list[Platform]
|
|
11
10
|
SCAN_INTERVAL: Incomplete
|
|
12
|
-
type AirthingsConfigEntry = ConfigEntry[AirthingsDataUpdateCoordinator]
|
|
13
11
|
|
|
14
12
|
async def async_setup_entry(hass: HomeAssistant, entry: AirthingsConfigEntry) -> bool: ...
|
|
15
13
|
async def async_unload_entry(hass: HomeAssistant, entry: AirthingsConfigEntry) -> bool: ...
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
|
2
2
|
from _typeshed import Incomplete
|
|
3
3
|
from airthings import Airthings as Airthings, AirthingsDevice
|
|
4
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
4
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
5
6
|
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
|
6
7
|
|
|
7
8
|
_LOGGER: Incomplete
|
|
8
9
|
SCAN_INTERVAL: Incomplete
|
|
10
|
+
type AirthingsConfigEntry = ConfigEntry[AirthingsDataUpdateCoordinator]
|
|
9
11
|
|
|
10
12
|
class AirthingsDataUpdateCoordinator(DataUpdateCoordinator[dict[str, AirthingsDevice]]):
|
|
11
13
|
airthings: Incomplete
|
|
12
|
-
def __init__(self, hass: HomeAssistant, airthings: Airthings) -> None: ...
|
|
14
|
+
def __init__(self, hass: HomeAssistant, airthings: Airthings, config_entry: AirthingsConfigEntry) -> None: ...
|
|
13
15
|
async def _update_method(self) -> dict[str, AirthingsDevice]: ...
|
|
@@ -15,7 +15,7 @@ SENSORS: dict[str, SensorEntityDescription]
|
|
|
15
15
|
|
|
16
16
|
async def async_setup_entry(hass: HomeAssistant, entry: AirthingsConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
17
17
|
|
|
18
|
-
class
|
|
18
|
+
class AirthingsDeviceSensor(CoordinatorEntity[AirthingsDataUpdateCoordinator], SensorEntity):
|
|
19
19
|
_attr_state_class: Incomplete
|
|
20
20
|
_attr_has_entity_name: bool
|
|
21
21
|
entity_description: Incomplete
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
+
from .const import DOMAIN as DOMAIN
|
|
1
2
|
from .coordinator import AmazonConfigEntry as AmazonConfigEntry, AmazonDevicesCoordinator as AmazonDevicesCoordinator
|
|
3
|
+
from .services import async_setup_services as async_setup_services
|
|
2
4
|
from _typeshed import Incomplete
|
|
3
5
|
from homeassistant.const import Platform as Platform
|
|
4
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
7
|
+
from homeassistant.helpers import aiohttp_client as aiohttp_client
|
|
8
|
+
from homeassistant.helpers.typing import ConfigType as ConfigType
|
|
5
9
|
|
|
6
10
|
PLATFORMS: Incomplete
|
|
11
|
+
CONFIG_SCHEMA: Incomplete
|
|
7
12
|
|
|
13
|
+
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
|
|
8
14
|
async def async_setup_entry(hass: HomeAssistant, entry: AmazonConfigEntry) -> bool: ...
|
|
9
15
|
async def async_unload_entry(hass: HomeAssistant, entry: AmazonConfigEntry) -> bool: ...
|
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
from .const import CONF_LOGIN_DATA as CONF_LOGIN_DATA, DOMAIN as DOMAIN
|
|
2
|
+
from _typeshed import Incomplete
|
|
3
|
+
from collections.abc import Mapping
|
|
2
4
|
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
|
|
3
5
|
from homeassistant.const import CONF_CODE as CONF_CODE, CONF_COUNTRY as CONF_COUNTRY, CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME
|
|
6
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
7
|
+
from homeassistant.helpers import aiohttp_client as aiohttp_client
|
|
4
8
|
from homeassistant.helpers.selector import CountrySelector as CountrySelector
|
|
5
9
|
from typing import Any
|
|
6
10
|
|
|
11
|
+
STEP_REAUTH_DATA_SCHEMA: Incomplete
|
|
12
|
+
|
|
13
|
+
async def validate_input(hass: HomeAssistant, data: dict[str, Any]) -> dict[str, Any]: ...
|
|
14
|
+
|
|
7
15
|
class AmazonDevicesConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
8
16
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
17
|
+
async def async_step_reauth(self, entry_data: Mapping[str, Any]) -> ConfigFlowResult: ...
|
|
18
|
+
async def async_step_reauth_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
from .const import CONF_LOGIN_DATA as CONF_LOGIN_DATA, _LOGGER as _LOGGER
|
|
1
|
+
from .const import CONF_LOGIN_DATA as CONF_LOGIN_DATA, DOMAIN as DOMAIN, _LOGGER as _LOGGER
|
|
2
2
|
from _typeshed import Incomplete
|
|
3
3
|
from aioamazondevices.api import AmazonDevice
|
|
4
|
+
from aiohttp import ClientSession as ClientSession
|
|
4
5
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
5
6
|
from homeassistant.const import CONF_COUNTRY as CONF_COUNTRY, CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME
|
|
6
7
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
7
|
-
from homeassistant.exceptions import
|
|
8
|
+
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed
|
|
8
9
|
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
|
9
10
|
|
|
10
11
|
SCAN_INTERVAL: int
|
|
@@ -13,5 +14,5 @@ type AmazonConfigEntry = ConfigEntry[AmazonDevicesCoordinator]
|
|
|
13
14
|
class AmazonDevicesCoordinator(DataUpdateCoordinator[dict[str, AmazonDevice]]):
|
|
14
15
|
config_entry: AmazonConfigEntry
|
|
15
16
|
api: Incomplete
|
|
16
|
-
def __init__(self, hass: HomeAssistant, entry: AmazonConfigEntry) -> None: ...
|
|
17
|
+
def __init__(self, hass: HomeAssistant, entry: AmazonConfigEntry, session: ClientSession) -> None: ...
|
|
17
18
|
async def _async_update_data(self) -> dict[str, AmazonDevice]: ...
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from .const import DOMAIN as DOMAIN
|
|
2
|
+
from .coordinator import AmazonConfigEntry as AmazonConfigEntry
|
|
3
|
+
from _typeshed import Incomplete
|
|
4
|
+
from homeassistant.config_entries import ConfigEntryState as ConfigEntryState
|
|
5
|
+
from homeassistant.const import ATTR_DEVICE_ID as ATTR_DEVICE_ID
|
|
6
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, ServiceCall as ServiceCall, callback as callback
|
|
7
|
+
from homeassistant.exceptions import ServiceValidationError as ServiceValidationError
|
|
8
|
+
from homeassistant.helpers import device_registry as dr
|
|
9
|
+
|
|
10
|
+
ATTR_TEXT_COMMAND: str
|
|
11
|
+
ATTR_SOUND: str
|
|
12
|
+
ATTR_SOUND_VARIANT: str
|
|
13
|
+
SERVICE_TEXT_COMMAND: str
|
|
14
|
+
SERVICE_SOUND_NOTIFICATION: str
|
|
15
|
+
SCHEMA_SOUND_SERVICE: Incomplete
|
|
16
|
+
SCHEMA_CUSTOM_COMMAND: Incomplete
|
|
17
|
+
|
|
18
|
+
@callback
|
|
19
|
+
def async_get_entry_id_for_service_call(call: ServiceCall) -> tuple[dr.DeviceEntry, AmazonConfigEntry]: ...
|
|
20
|
+
async def _async_execute_action(call: ServiceCall, attribute: str) -> None: ...
|
|
21
|
+
async def async_send_sound_notification(call: ServiceCall) -> None: ...
|
|
22
|
+
async def async_send_text_command(call: ServiceCall) -> None: ...
|
|
23
|
+
@callback
|
|
24
|
+
def async_setup_services(hass: HomeAssistant) -> None: ...
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
from .const import CONF_SITE_ID as CONF_SITE_ID, PLATFORMS as PLATFORMS
|
|
1
|
+
from .const import CONF_SITE_ID as CONF_SITE_ID, DOMAIN as DOMAIN, PLATFORMS as PLATFORMS
|
|
2
2
|
from .coordinator import AmberConfigEntry as AmberConfigEntry, AmberUpdateCoordinator as AmberUpdateCoordinator
|
|
3
|
+
from .services import setup_services as setup_services
|
|
4
|
+
from _typeshed import Incomplete
|
|
5
|
+
from homeassistant.components.sensor import ConfigType as ConfigType
|
|
3
6
|
from homeassistant.const import CONF_API_TOKEN as CONF_API_TOKEN
|
|
4
7
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
5
8
|
|
|
9
|
+
CONFIG_SCHEMA: Incomplete
|
|
10
|
+
|
|
11
|
+
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
|
|
6
12
|
async def async_setup_entry(hass: HomeAssistant, entry: AmberConfigEntry) -> bool: ...
|
|
7
13
|
async def async_unload_entry(hass: HomeAssistant, entry: AmberConfigEntry) -> bool: ...
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from homeassistant.const import Platform as Platform
|
|
3
|
+
from typing import Final
|
|
3
4
|
|
|
4
|
-
DOMAIN: str
|
|
5
|
+
DOMAIN: Final[str]
|
|
5
6
|
CONF_SITE_NAME: str
|
|
6
7
|
CONF_SITE_ID: str
|
|
8
|
+
ATTR_CONFIG_ENTRY_ID: str
|
|
9
|
+
ATTR_CHANNEL_TYPE: str
|
|
7
10
|
ATTRIBUTION: str
|
|
8
11
|
LOGGER: Incomplete
|
|
9
12
|
PLATFORMS: Incomplete
|
|
13
|
+
SERVICE_GET_FORECASTS: str
|
|
14
|
+
GENERAL_CHANNEL: str
|
|
15
|
+
CONTROLLED_LOAD_CHANNEL: str
|
|
16
|
+
FEED_IN_CHANNEL: str
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import amberelectric
|
|
2
2
|
from .const import LOGGER as LOGGER
|
|
3
|
+
from .helpers import normalize_descriptor as normalize_descriptor
|
|
3
4
|
from _typeshed import Incomplete
|
|
4
5
|
from amberelectric.models.actual_interval import ActualInterval as ActualInterval
|
|
5
6
|
from amberelectric.models.current_interval import CurrentInterval
|
|
6
7
|
from amberelectric.models.forecast_interval import ForecastInterval
|
|
7
|
-
from amberelectric.models.price_descriptor import PriceDescriptor as PriceDescriptor
|
|
8
8
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
9
9
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
10
10
|
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
|
@@ -16,7 +16,6 @@ def is_forecast(interval: ActualInterval | CurrentInterval | ForecastInterval) -
|
|
|
16
16
|
def is_general(interval: ActualInterval | CurrentInterval | ForecastInterval) -> bool: ...
|
|
17
17
|
def is_controlled_load(interval: ActualInterval | CurrentInterval | ForecastInterval) -> bool: ...
|
|
18
18
|
def is_feed_in(interval: ActualInterval | CurrentInterval | ForecastInterval) -> bool: ...
|
|
19
|
-
def normalize_descriptor(descriptor: PriceDescriptor | None) -> str | None: ...
|
|
20
19
|
|
|
21
20
|
class AmberUpdateCoordinator(DataUpdateCoordinator):
|
|
22
21
|
config_entry: AmberConfigEntry
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from .const import ATTRIBUTION as ATTRIBUTION
|
|
2
|
-
from .coordinator import AmberConfigEntry as AmberConfigEntry, AmberUpdateCoordinator as AmberUpdateCoordinator
|
|
2
|
+
from .coordinator import AmberConfigEntry as AmberConfigEntry, AmberUpdateCoordinator as AmberUpdateCoordinator
|
|
3
|
+
from .helpers import format_cents_to_dollars as format_cents_to_dollars, normalize_descriptor as normalize_descriptor
|
|
3
4
|
from _typeshed import Incomplete
|
|
4
5
|
from amberelectric.models.current_interval import CurrentInterval as CurrentInterval
|
|
5
6
|
from amberelectric.models.forecast_interval import ForecastInterval as ForecastInterval
|
|
@@ -12,7 +13,6 @@ from typing import Any
|
|
|
12
13
|
|
|
13
14
|
UNIT: Incomplete
|
|
14
15
|
|
|
15
|
-
def format_cents_to_dollars(cents: float) -> float: ...
|
|
16
16
|
def friendly_channel_type(channel_type: str) -> str: ...
|
|
17
17
|
|
|
18
18
|
class AmberSensor(CoordinatorEntity[AmberUpdateCoordinator], SensorEntity):
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from .const import ATTR_CHANNEL_TYPE as ATTR_CHANNEL_TYPE, ATTR_CONFIG_ENTRY_ID as ATTR_CONFIG_ENTRY_ID, CONTROLLED_LOAD_CHANNEL as CONTROLLED_LOAD_CHANNEL, DOMAIN as DOMAIN, FEED_IN_CHANNEL as FEED_IN_CHANNEL, GENERAL_CHANNEL as GENERAL_CHANNEL, SERVICE_GET_FORECASTS as SERVICE_GET_FORECASTS
|
|
2
|
+
from .coordinator import AmberConfigEntry as AmberConfigEntry
|
|
3
|
+
from .helpers import format_cents_to_dollars as format_cents_to_dollars, normalize_descriptor as normalize_descriptor
|
|
4
|
+
from _typeshed import Incomplete
|
|
5
|
+
from homeassistant.config_entries import ConfigEntryState as ConfigEntryState
|
|
6
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, ServiceCall as ServiceCall, ServiceResponse as ServiceResponse, SupportsResponse as SupportsResponse
|
|
7
|
+
from homeassistant.exceptions import ServiceValidationError as ServiceValidationError
|
|
8
|
+
from homeassistant.helpers.selector import ConfigEntrySelector as ConfigEntrySelector
|
|
9
|
+
from homeassistant.util.json import JsonValueType as JsonValueType
|
|
10
|
+
|
|
11
|
+
GET_FORECASTS_SCHEMA: Incomplete
|
|
12
|
+
|
|
13
|
+
def async_get_entry(hass: HomeAssistant, config_entry_id: str) -> AmberConfigEntry: ...
|
|
14
|
+
def get_forecasts(channel_type: str, data: dict) -> list[JsonValueType]: ...
|
|
15
|
+
def setup_services(hass: HomeAssistant) -> None: ...
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from .analytics import Analytics as Analytics
|
|
2
2
|
from .const import ATTR_ONBOARDED as ATTR_ONBOARDED, ATTR_PREFERENCES as ATTR_PREFERENCES, DOMAIN as DOMAIN, INTERVAL as INTERVAL, PREFERENCE_SCHEMA as PREFERENCE_SCHEMA
|
|
3
|
+
from .http import AnalyticsDevicesView as AnalyticsDevicesView
|
|
3
4
|
from _typeshed import Incomplete
|
|
4
5
|
from homeassistant.components import websocket_api as websocket_api
|
|
5
6
|
from homeassistant.const import EVENT_HOMEASSISTANT_STARTED as EVENT_HOMEASSISTANT_STARTED
|
|
@@ -16,6 +16,8 @@ from homeassistant.loader import Integration as Integration, IntegrationNotFound
|
|
|
16
16
|
from homeassistant.setup import async_get_loaded_integrations as async_get_loaded_integrations
|
|
17
17
|
from typing import Any
|
|
18
18
|
|
|
19
|
+
def gen_uuid() -> str: ...
|
|
20
|
+
|
|
19
21
|
@dataclass
|
|
20
22
|
class AnalyticsData:
|
|
21
23
|
onboarded: bool
|
|
@@ -47,3 +49,4 @@ class Analytics:
|
|
|
47
49
|
def _async_should_report_integration(self, integration: Integration, yaml_domains: set[str], entity_registry_platforms: set[str]) -> bool: ...
|
|
48
50
|
|
|
49
51
|
def _domains_from_yaml_config(yaml_configuration: dict[str, Any]) -> set[str]: ...
|
|
52
|
+
async def async_devices_payload(hass: HomeAssistant) -> dict: ...
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
from .analytics import async_devices_payload as async_devices_payload
|
|
2
|
+
from aiohttp import web as web
|
|
3
|
+
from homeassistant.components.http import HomeAssistantView as HomeAssistantView, KEY_HASS as KEY_HASS, require_admin as require_admin
|
|
4
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
5
|
+
|
|
6
|
+
class AnalyticsDevicesView(HomeAssistantView):
|
|
7
|
+
url: str
|
|
8
|
+
name: str
|
|
9
|
+
@require_admin
|
|
10
|
+
async def get(self, request: web.Request) -> web.Response: ...
|
|
@@ -17,4 +17,3 @@ class AnalyticsInsightsData:
|
|
|
17
17
|
|
|
18
18
|
async def async_setup_entry(hass: HomeAssistant, entry: AnalyticsInsightsConfigEntry) -> bool: ...
|
|
19
19
|
async def async_unload_entry(hass: HomeAssistant, entry: AnalyticsInsightsConfigEntry) -> bool: ...
|
|
20
|
-
async def update_listener(hass: HomeAssistant, entry: AnalyticsInsightsConfigEntry) -> None: ...
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from . import AnalyticsInsightsConfigEntry as AnalyticsInsightsConfigEntry
|
|
2
2
|
from .const import CONF_TRACKED_ADDONS as CONF_TRACKED_ADDONS, CONF_TRACKED_CUSTOM_INTEGRATIONS as CONF_TRACKED_CUSTOM_INTEGRATIONS, CONF_TRACKED_INTEGRATIONS as CONF_TRACKED_INTEGRATIONS, DOMAIN as DOMAIN, LOGGER as LOGGER
|
|
3
3
|
from _typeshed import Incomplete
|
|
4
|
-
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult,
|
|
4
|
+
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlowWithReload as OptionsFlowWithReload
|
|
5
5
|
from homeassistant.core import callback as callback
|
|
6
6
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
|
7
7
|
from homeassistant.helpers.selector import SelectOptionDict as SelectOptionDict, SelectSelector as SelectSelector, SelectSelectorConfig as SelectSelectorConfig
|
|
@@ -15,5 +15,5 @@ class HomeassistantAnalyticsConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
|
15
15
|
def async_get_options_flow(config_entry: AnalyticsInsightsConfigEntry) -> HomeassistantAnalyticsOptionsFlowHandler: ...
|
|
16
16
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
17
17
|
|
|
18
|
-
class HomeassistantAnalyticsOptionsFlowHandler(
|
|
18
|
+
class HomeassistantAnalyticsOptionsFlowHandler(OptionsFlowWithReload):
|
|
19
19
|
async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
from .helpers import create_api as create_api, get_enable_ime as get_enable_ime
|
|
1
|
+
from .helpers import AndroidTVRemoteConfigEntry as AndroidTVRemoteConfigEntry, create_api as create_api, get_enable_ime as get_enable_ime
|
|
2
2
|
from _typeshed import Incomplete
|
|
3
|
-
from androidtvremote2 import AndroidTVRemote
|
|
4
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
5
3
|
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_NAME as CONF_NAME, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP, Platform as Platform
|
|
6
4
|
from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant, callback as callback
|
|
7
5
|
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryNotReady as ConfigEntryNotReady
|
|
8
6
|
|
|
9
7
|
_LOGGER: Incomplete
|
|
10
8
|
PLATFORMS: list[Platform]
|
|
11
|
-
AndroidTVRemoteConfigEntry = ConfigEntry[AndroidTVRemote]
|
|
12
9
|
|
|
13
10
|
async def async_setup_entry(hass: HomeAssistant, entry: AndroidTVRemoteConfigEntry) -> bool: ...
|
|
14
|
-
async def async_unload_entry(hass: HomeAssistant, entry:
|
|
15
|
-
async def async_update_options(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
|
|
11
|
+
async def async_unload_entry(hass: HomeAssistant, entry: AndroidTVRemoteConfigEntry) -> bool: ...
|
|
@@ -1,9 +1,9 @@
|
|
|
1
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
|
-
from .helpers import create_api as create_api, get_enable_ime as get_enable_ime
|
|
2
|
+
from .helpers import AndroidTVRemoteConfigEntry as AndroidTVRemoteConfigEntry, 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
|
|
5
5
|
from collections.abc import Mapping
|
|
6
|
-
from homeassistant.config_entries import
|
|
6
|
+
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlowWithReload as OptionsFlowWithReload, SOURCE_REAUTH as SOURCE_REAUTH, SOURCE_RECONFIGURE as SOURCE_RECONFIGURE
|
|
7
7
|
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_MAC as CONF_MAC, CONF_NAME as CONF_NAME
|
|
8
8
|
from homeassistant.core import callback as callback
|
|
9
9
|
from homeassistant.helpers.device_registry import format_mac as format_mac
|
|
@@ -15,7 +15,6 @@ _LOGGER: Incomplete
|
|
|
15
15
|
APPS_NEW_ID: str
|
|
16
16
|
CONF_APP_DELETE: str
|
|
17
17
|
CONF_APP_ID: str
|
|
18
|
-
STEP_USER_DATA_SCHEMA: Incomplete
|
|
19
18
|
STEP_PAIR_DATA_SCHEMA: Incomplete
|
|
20
19
|
|
|
21
20
|
class AndroidTVRemoteConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
@@ -31,14 +30,15 @@ class AndroidTVRemoteConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
|
31
30
|
async def async_step_zeroconf_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
32
31
|
async def async_step_reauth(self, entry_data: Mapping[str, Any]) -> ConfigFlowResult: ...
|
|
33
32
|
async def async_step_reauth_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
33
|
+
async def async_step_reconfigure(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
34
34
|
@staticmethod
|
|
35
35
|
@callback
|
|
36
|
-
def async_get_options_flow(config_entry:
|
|
36
|
+
def async_get_options_flow(config_entry: AndroidTVRemoteConfigEntry) -> AndroidTVRemoteOptionsFlowHandler: ...
|
|
37
37
|
|
|
38
|
-
class AndroidTVRemoteOptionsFlowHandler(
|
|
38
|
+
class AndroidTVRemoteOptionsFlowHandler(OptionsFlowWithReload):
|
|
39
39
|
_apps: dict[str, Any]
|
|
40
40
|
_conf_app_id: str | None
|
|
41
|
-
def __init__(self, config_entry:
|
|
41
|
+
def __init__(self, config_entry: AndroidTVRemoteConfigEntry) -> None: ...
|
|
42
42
|
@callback
|
|
43
43
|
def _save_config(self, data: dict[str, Any]) -> ConfigFlowResult: ...
|
|
44
44
|
async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from . import AndroidTVRemoteConfigEntry as AndroidTVRemoteConfigEntry
|
|
1
|
+
from .helpers import AndroidTVRemoteConfigEntry as AndroidTVRemoteConfigEntry
|
|
2
2
|
from _typeshed import Incomplete
|
|
3
3
|
from homeassistant.components.diagnostics import async_redact_data as async_redact_data
|
|
4
4
|
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_MAC as CONF_MAC
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from .const import CONF_APPS as CONF_APPS, DOMAIN as DOMAIN
|
|
2
|
+
from .helpers import AndroidTVRemoteConfigEntry as AndroidTVRemoteConfigEntry
|
|
2
3
|
from _typeshed import Incomplete
|
|
3
4
|
from androidtvremote2 import AndroidTVRemote as AndroidTVRemote
|
|
4
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
5
5
|
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_MAC as CONF_MAC, CONF_NAME as CONF_NAME
|
|
6
6
|
from homeassistant.core import callback as callback
|
|
7
7
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
@@ -20,7 +20,7 @@ class AndroidTVRemoteBaseEntity(Entity):
|
|
|
20
20
|
_attr_unique_id: Incomplete
|
|
21
21
|
_attr_is_on: Incomplete
|
|
22
22
|
_attr_device_info: Incomplete
|
|
23
|
-
def __init__(self, api: AndroidTVRemote, config_entry:
|
|
23
|
+
def __init__(self, api: AndroidTVRemote, config_entry: AndroidTVRemoteConfigEntry) -> None: ...
|
|
24
24
|
_attr_available: Incomplete
|
|
25
25
|
@callback
|
|
26
26
|
def _is_available_updated(self, is_available: bool) -> None: ...
|
|
@@ -4,5 +4,7 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
|
4
4
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
5
5
|
from homeassistant.helpers.storage import STORAGE_DIR as STORAGE_DIR
|
|
6
6
|
|
|
7
|
+
AndroidTVRemoteConfigEntry = ConfigEntry[AndroidTVRemote]
|
|
8
|
+
|
|
7
9
|
def create_api(hass: HomeAssistant, host: str, enable_ime: bool) -> AndroidTVRemote: ...
|
|
8
|
-
def get_enable_ime(entry:
|
|
10
|
+
def get_enable_ime(entry: AndroidTVRemoteConfigEntry) -> bool: ...
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import asyncio
|
|
2
|
-
from . import AndroidTVRemoteConfigEntry as AndroidTVRemoteConfigEntry
|
|
3
2
|
from .const import CONF_APP_ICON as CONF_APP_ICON, CONF_APP_NAME as CONF_APP_NAME, DOMAIN as DOMAIN
|
|
4
3
|
from .entity import AndroidTVRemoteBaseEntity as AndroidTVRemoteBaseEntity
|
|
4
|
+
from .helpers import AndroidTVRemoteConfigEntry as AndroidTVRemoteConfigEntry
|
|
5
5
|
from _typeshed import Incomplete
|
|
6
|
-
from androidtvremote2 import AndroidTVRemote as AndroidTVRemote
|
|
6
|
+
from androidtvremote2 import AndroidTVRemote as AndroidTVRemote, VolumeInfo as VolumeInfo
|
|
7
7
|
from homeassistant.components.media_player import BrowseMedia as BrowseMedia, MediaClass as MediaClass, MediaPlayerDeviceClass as MediaPlayerDeviceClass, MediaPlayerEntity as MediaPlayerEntity, MediaPlayerEntityFeature as MediaPlayerEntityFeature, MediaPlayerState as MediaPlayerState, MediaType as MediaType
|
|
8
8
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
9
9
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
@@ -25,11 +25,11 @@ class AndroidTVRemoteMediaPlayerEntity(AndroidTVRemoteBaseEntity, MediaPlayerEnt
|
|
|
25
25
|
def _update_current_app(self, current_app: str) -> None: ...
|
|
26
26
|
_attr_volume_level: Incomplete
|
|
27
27
|
_attr_is_volume_muted: Incomplete
|
|
28
|
-
def _update_volume_info(self, volume_info:
|
|
28
|
+
def _update_volume_info(self, volume_info: VolumeInfo) -> None: ...
|
|
29
29
|
@callback
|
|
30
30
|
def _current_app_updated(self, current_app: str) -> None: ...
|
|
31
31
|
@callback
|
|
32
|
-
def _volume_info_updated(self, volume_info:
|
|
32
|
+
def _volume_info_updated(self, volume_info: VolumeInfo) -> None: ...
|
|
33
33
|
async def async_added_to_hass(self) -> None: ...
|
|
34
34
|
async def async_will_remove_from_hass(self) -> None: ...
|
|
35
35
|
@property
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
from . import AndroidTVRemoteConfigEntry as AndroidTVRemoteConfigEntry
|
|
2
1
|
from .const import CONF_APP_NAME as CONF_APP_NAME
|
|
3
2
|
from .entity import AndroidTVRemoteBaseEntity as AndroidTVRemoteBaseEntity
|
|
3
|
+
from .helpers import AndroidTVRemoteConfigEntry as AndroidTVRemoteConfigEntry
|
|
4
4
|
from _typeshed import Incomplete
|
|
5
5
|
from collections.abc import Iterable
|
|
6
6
|
from homeassistant.components.remote import ATTR_ACTIVITY as ATTR_ACTIVITY, ATTR_DELAY_SECS as ATTR_DELAY_SECS, ATTR_HOLD_SECS as ATTR_HOLD_SECS, ATTR_NUM_REPEATS as ATTR_NUM_REPEATS, DEFAULT_DELAY_SECS as DEFAULT_DELAY_SECS, DEFAULT_HOLD_SECS as DEFAULT_HOLD_SECS, DEFAULT_NUM_REPEATS as DEFAULT_NUM_REPEATS, RemoteEntity as RemoteEntity, RemoteEntityFeature as RemoteEntityFeature
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
from .const import DOMAIN as DOMAIN, EVENT_RECORDING as EVENT_RECORDING, OPTION_PREFERRED as OPTION_PREFERRED, SAMPLES_PER_CHUNK as SAMPLES_PER_CHUNK, SAMPLE_CHANNELS as SAMPLE_CHANNELS, SAMPLE_RATE as SAMPLE_RATE, SAMPLE_WIDTH as SAMPLE_WIDTH
|
|
2
2
|
from .error import PipelineNotFound as PipelineNotFound
|
|
3
|
-
from .pipeline import AudioSettings as AudioSettings, Pipeline as Pipeline, PipelineEvent as PipelineEvent, PipelineEventCallback, PipelineEventType as PipelineEventType, PipelineStage, WakeWordSettings as WakeWordSettings, async_create_default_pipeline as async_create_default_pipeline, async_get_pipelines as async_get_pipelines,
|
|
3
|
+
from .pipeline import AudioSettings as AudioSettings, Pipeline as Pipeline, PipelineEvent as PipelineEvent, PipelineEventCallback, PipelineEventType as PipelineEventType, PipelineStage, WakeWordSettings as WakeWordSettings, async_create_default_pipeline as async_create_default_pipeline, async_get_pipelines as async_get_pipelines, async_update_pipeline as async_update_pipeline
|
|
4
4
|
from collections.abc import AsyncIterable
|
|
5
5
|
from homeassistant.components import stt
|
|
6
6
|
from homeassistant.core import Context, HomeAssistant
|
|
7
7
|
from homeassistant.helpers.typing import ConfigType
|
|
8
8
|
from typing import Any
|
|
9
9
|
|
|
10
|
-
__all__ = ['DOMAIN', 'EVENT_RECORDING', 'OPTION_PREFERRED', 'SAMPLES_PER_CHUNK', 'SAMPLE_CHANNELS', 'SAMPLE_RATE', 'SAMPLE_WIDTH', 'AudioSettings', 'Pipeline', 'PipelineEvent', 'PipelineEventType', 'PipelineNotFound', 'WakeWordSettings', 'async_create_default_pipeline', 'async_get_pipelines', '
|
|
10
|
+
__all__ = ['DOMAIN', 'EVENT_RECORDING', 'OPTION_PREFERRED', 'SAMPLES_PER_CHUNK', 'SAMPLE_CHANNELS', 'SAMPLE_RATE', 'SAMPLE_WIDTH', 'AudioSettings', 'Pipeline', 'PipelineEvent', 'PipelineEventType', 'PipelineNotFound', 'WakeWordSettings', 'async_create_default_pipeline', 'async_get_pipelines', 'async_pipeline_from_audio_stream', 'async_setup', 'async_update_pipeline']
|
|
11
11
|
|
|
12
12
|
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
|
|
13
13
|
async def async_pipeline_from_audio_stream(hass: HomeAssistant, *, context: Context, event_callback: PipelineEventCallback, stt_metadata: stt.SpeechMetadata, stt_stream: AsyncIterable[bytes], wake_word_phrase: str | None = None, pipeline_id: str | None = None, conversation_id: str | None = None, tts_audio_output: str | dict[str, Any] | None = None, wake_word_settings: WakeWordSettings | None = None, audio_settings: AudioSettings | None = None, device_id: str | None = None, start_stage: PipelineStage = ..., end_stage: PipelineStage = ..., conversation_extra_system_prompt: str | None = None) -> None: ...
|