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
|
@@ -9,10 +9,17 @@ CONF_GA_PASSIVE: Final[str]
|
|
|
9
9
|
CONF_DPT: Final[str]
|
|
10
10
|
CONF_GA_SENSOR: Final[str]
|
|
11
11
|
CONF_GA_SWITCH: Final[str]
|
|
12
|
-
|
|
12
|
+
CONF_GA_UP_DOWN: Final[str]
|
|
13
|
+
CONF_GA_STOP: Final[str]
|
|
14
|
+
CONF_GA_STEP: Final[str]
|
|
15
|
+
CONF_GA_POSITION_SET: Final[str]
|
|
16
|
+
CONF_GA_POSITION_STATE: Final[str]
|
|
17
|
+
CONF_GA_ANGLE: Final[str]
|
|
13
18
|
CONF_COLOR_TEMP_MIN: Final[str]
|
|
14
19
|
CONF_COLOR_TEMP_MAX: Final[str]
|
|
15
20
|
CONF_GA_BRIGHTNESS: Final[str]
|
|
21
|
+
CONF_GA_COLOR_TEMP: Final[str]
|
|
22
|
+
CONF_COLOR: Final[str]
|
|
16
23
|
CONF_GA_COLOR: Final[str]
|
|
17
24
|
CONF_GA_RED_BRIGHTNESS: Final[str]
|
|
18
25
|
CONF_GA_RED_SWITCH: Final[str]
|
|
@@ -24,9 +31,3 @@ CONF_GA_WHITE_BRIGHTNESS: Final[str]
|
|
|
24
31
|
CONF_GA_WHITE_SWITCH: Final[str]
|
|
25
32
|
CONF_GA_HUE: Final[str]
|
|
26
33
|
CONF_GA_SATURATION: Final[str]
|
|
27
|
-
CONF_GA_UP_DOWN: Final[str]
|
|
28
|
-
CONF_GA_STOP: Final[str]
|
|
29
|
-
CONF_GA_STEP: Final[str]
|
|
30
|
-
CONF_GA_POSITION_SET: Final[str]
|
|
31
|
-
CONF_GA_POSITION_STATE: Final[str]
|
|
32
|
-
CONF_GA_ANGLE: Final[str]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from ..const import CONF_CONTEXT_TIMEOUT as CONF_CONTEXT_TIMEOUT, CONF_IGNORE_INTERNAL_STATE as CONF_IGNORE_INTERNAL_STATE, CONF_INVERT as CONF_INVERT, CONF_RESET_AFTER as CONF_RESET_AFTER, CONF_RESPOND_TO_READ as CONF_RESPOND_TO_READ, CONF_SYNC_STATE as CONF_SYNC_STATE, ColorTempModes as ColorTempModes, CoverConf as CoverConf, DOMAIN as DOMAIN, SUPPORTED_PLATFORMS_UI as SUPPORTED_PLATFORMS_UI
|
|
2
2
|
from ..validation import sync_state_validator as sync_state_validator
|
|
3
|
-
from .const import CONF_COLOR_TEMP_MAX as CONF_COLOR_TEMP_MAX, CONF_COLOR_TEMP_MIN as CONF_COLOR_TEMP_MIN, CONF_DATA as CONF_DATA, CONF_DEVICE_INFO as CONF_DEVICE_INFO, CONF_ENTITY as CONF_ENTITY, CONF_GA_ANGLE as CONF_GA_ANGLE, CONF_GA_BLUE_BRIGHTNESS as CONF_GA_BLUE_BRIGHTNESS, CONF_GA_BLUE_SWITCH as CONF_GA_BLUE_SWITCH, CONF_GA_BRIGHTNESS as CONF_GA_BRIGHTNESS, CONF_GA_COLOR as CONF_GA_COLOR, CONF_GA_COLOR_TEMP as CONF_GA_COLOR_TEMP, CONF_GA_GREEN_BRIGHTNESS as CONF_GA_GREEN_BRIGHTNESS, CONF_GA_GREEN_SWITCH as CONF_GA_GREEN_SWITCH, CONF_GA_HUE as CONF_GA_HUE,
|
|
4
|
-
from .knx_selector import GASelector as GASelector
|
|
3
|
+
from .const import CONF_COLOR as CONF_COLOR, CONF_COLOR_TEMP_MAX as CONF_COLOR_TEMP_MAX, CONF_COLOR_TEMP_MIN as CONF_COLOR_TEMP_MIN, CONF_DATA as CONF_DATA, CONF_DEVICE_INFO as CONF_DEVICE_INFO, CONF_ENTITY as CONF_ENTITY, CONF_GA_ANGLE as CONF_GA_ANGLE, CONF_GA_BLUE_BRIGHTNESS as CONF_GA_BLUE_BRIGHTNESS, CONF_GA_BLUE_SWITCH as CONF_GA_BLUE_SWITCH, CONF_GA_BRIGHTNESS as CONF_GA_BRIGHTNESS, CONF_GA_COLOR as CONF_GA_COLOR, CONF_GA_COLOR_TEMP as CONF_GA_COLOR_TEMP, CONF_GA_GREEN_BRIGHTNESS as CONF_GA_GREEN_BRIGHTNESS, CONF_GA_GREEN_SWITCH as CONF_GA_GREEN_SWITCH, CONF_GA_HUE as CONF_GA_HUE, CONF_GA_POSITION_SET as CONF_GA_POSITION_SET, CONF_GA_POSITION_STATE as CONF_GA_POSITION_STATE, CONF_GA_RED_BRIGHTNESS as CONF_GA_RED_BRIGHTNESS, CONF_GA_RED_SWITCH as CONF_GA_RED_SWITCH, CONF_GA_SATURATION as CONF_GA_SATURATION, CONF_GA_SENSOR as CONF_GA_SENSOR, CONF_GA_STEP as CONF_GA_STEP, CONF_GA_STOP as CONF_GA_STOP, CONF_GA_SWITCH as CONF_GA_SWITCH, CONF_GA_UP_DOWN as CONF_GA_UP_DOWN, CONF_GA_WHITE_BRIGHTNESS as CONF_GA_WHITE_BRIGHTNESS, CONF_GA_WHITE_SWITCH as CONF_GA_WHITE_SWITCH
|
|
4
|
+
from .knx_selector import GASelector as GASelector, GroupSelect as GroupSelect
|
|
5
5
|
from _typeshed import Incomplete
|
|
6
6
|
from enum import StrEnum
|
|
7
7
|
from homeassistant.const import CONF_ENTITY_CATEGORY as CONF_ENTITY_CATEGORY, CONF_ENTITY_ID as CONF_ENTITY_ID, CONF_NAME as CONF_NAME, CONF_PLATFORM as CONF_PLATFORM, Platform as Platform
|
|
@@ -10,9 +10,6 @@ from homeassistant.helpers.entity import ENTITY_CATEGORIES_SCHEMA as ENTITY_CATE
|
|
|
10
10
|
from homeassistant.helpers.typing import VolDictType as VolDictType, VolSchemaType as VolSchemaType
|
|
11
11
|
|
|
12
12
|
BASE_ENTITY_SCHEMA: Incomplete
|
|
13
|
-
|
|
14
|
-
def optional_ga_schema(key: str, ga_selector: GASelector) -> VolDictType: ...
|
|
15
|
-
|
|
16
13
|
BINARY_SENSOR_SCHEMA: Incomplete
|
|
17
14
|
COVER_SCHEMA: Incomplete
|
|
18
15
|
|
|
@@ -26,11 +23,7 @@ class LightColorModeSchema(StrEnum):
|
|
|
26
23
|
INDIVIDUAL = 'individual'
|
|
27
24
|
HSV = 'hsv'
|
|
28
25
|
|
|
29
|
-
|
|
30
|
-
_COMMON_LIGHT_SCHEMA: Incomplete
|
|
31
|
-
_DEFAULT_LIGHT_SCHEMA: Incomplete
|
|
32
|
-
_INDIVIDUAL_LIGHT_SCHEMA: Incomplete
|
|
33
|
-
_HSV_LIGHT_SCHEMA: Incomplete
|
|
26
|
+
_hs_color_inclusion_msg: str
|
|
34
27
|
LIGHT_KNX_SCHEMA: Incomplete
|
|
35
28
|
LIGHT_SCHEMA: Incomplete
|
|
36
29
|
SWITCH_SCHEMA: Incomplete
|
|
@@ -2,9 +2,13 @@ import voluptuous as vol
|
|
|
2
2
|
from ..validation import ga_validator as ga_validator, maybe_ga_validator as maybe_ga_validator
|
|
3
3
|
from .const import CONF_DPT as CONF_DPT, CONF_GA_PASSIVE as CONF_GA_PASSIVE, CONF_GA_STATE as CONF_GA_STATE, CONF_GA_WRITE as CONF_GA_WRITE
|
|
4
4
|
from _typeshed import Incomplete
|
|
5
|
+
from collections.abc import Hashable, Iterable
|
|
5
6
|
from enum import Enum
|
|
6
7
|
from typing import Any
|
|
7
8
|
|
|
9
|
+
class GroupSelect(vol.Any):
|
|
10
|
+
def _exec(self, funcs: Iterable, v: Any, path: list[Hashable] | None = None) -> Any: ...
|
|
11
|
+
|
|
8
12
|
class GASelector:
|
|
9
13
|
schema: vol.Schema
|
|
10
14
|
write: Incomplete
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from .const import CONF_DPT as CONF_DPT, CONF_GA_PASSIVE as CONF_GA_PASSIVE, CONF_GA_STATE as CONF_GA_STATE, CONF_GA_WRITE as CONF_GA_WRITE
|
|
2
|
+
from _typeshed import Incomplete
|
|
3
|
+
from homeassistant.helpers.typing import ConfigType as ConfigType
|
|
4
|
+
from typing import Any
|
|
5
|
+
|
|
6
|
+
def nested_get(dic: ConfigType, *keys: str, default: Any | None = None) -> Any: ...
|
|
7
|
+
|
|
8
|
+
class ConfigExtractor:
|
|
9
|
+
__slots__: Incomplete
|
|
10
|
+
get: Incomplete
|
|
11
|
+
def __init__(self, config: ConfigType) -> None: ...
|
|
12
|
+
def get_write(self, *path: str) -> str | None: ...
|
|
13
|
+
def get_state(self, *path: str) -> str | None: ...
|
|
14
|
+
def get_write_and_passive(self, *path: str) -> list[Any | None]: ...
|
|
15
|
+
def get_state_and_passive(self, *path: str) -> list[Any | None]: ...
|
|
16
|
+
def get_dpt(self, *path: str) -> str | None: ...
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
from . import KNXModule as KNXModule
|
|
2
1
|
from .const import CONF_INVERT as CONF_INVERT, CONF_RESPOND_TO_READ as CONF_RESPOND_TO_READ, CONF_SYNC_STATE as CONF_SYNC_STATE, DOMAIN as DOMAIN, KNX_ADDRESS as KNX_ADDRESS, KNX_MODULE_KEY as KNX_MODULE_KEY
|
|
3
2
|
from .entity import KnxUiEntity as KnxUiEntity, KnxUiEntityPlatformController as KnxUiEntityPlatformController, KnxYamlEntity as KnxYamlEntity
|
|
3
|
+
from .knx_module import KNXModule as KNXModule
|
|
4
4
|
from .schema import SwitchSchema as SwitchSchema
|
|
5
|
-
from .storage.const import CONF_ENTITY as CONF_ENTITY,
|
|
5
|
+
from .storage.const import CONF_ENTITY as CONF_ENTITY, CONF_GA_SWITCH as CONF_GA_SWITCH
|
|
6
|
+
from .storage.util import ConfigExtractor as ConfigExtractor
|
|
6
7
|
from _typeshed import Incomplete
|
|
7
8
|
from homeassistant import config_entries as config_entries
|
|
8
9
|
from homeassistant.components.switch import SwitchEntity as SwitchEntity
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
from . import KNXModule as KNXModule
|
|
2
1
|
from .const import CONF_RESPOND_TO_READ as CONF_RESPOND_TO_READ, CONF_STATE_ADDRESS as CONF_STATE_ADDRESS, KNX_ADDRESS as KNX_ADDRESS, KNX_MODULE_KEY as KNX_MODULE_KEY
|
|
3
2
|
from .entity import KnxYamlEntity as KnxYamlEntity
|
|
3
|
+
from .knx_module import KNXModule as KNXModule
|
|
4
4
|
from _typeshed import Incomplete
|
|
5
5
|
from homeassistant import config_entries as config_entries
|
|
6
6
|
from homeassistant.components.text import TextEntity as TextEntity
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
from . import KNXModule as KNXModule
|
|
2
1
|
from .const import CONF_RESPOND_TO_READ as CONF_RESPOND_TO_READ, CONF_STATE_ADDRESS as CONF_STATE_ADDRESS, CONF_SYNC_STATE as CONF_SYNC_STATE, KNX_ADDRESS as KNX_ADDRESS, KNX_MODULE_KEY as KNX_MODULE_KEY
|
|
3
2
|
from .entity import KnxYamlEntity as KnxYamlEntity
|
|
3
|
+
from .knx_module import KNXModule as KNXModule
|
|
4
4
|
from _typeshed import Incomplete
|
|
5
5
|
from datetime import time as dt_time
|
|
6
6
|
from homeassistant import config_entries as config_entries
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
from . import KNXModule as KNXModule
|
|
2
1
|
from .const import KNX_MODULE_KEY as KNX_MODULE_KEY
|
|
3
2
|
from .entity import KnxYamlEntity as KnxYamlEntity
|
|
3
|
+
from .knx_module import KNXModule as KNXModule
|
|
4
4
|
from .schema import WeatherSchema as WeatherSchema
|
|
5
5
|
from _typeshed import Incomplete
|
|
6
6
|
from homeassistant import config_entries as config_entries
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
from . import KNXModule as KNXModule
|
|
2
1
|
from .const import DOMAIN as DOMAIN, KNX_MODULE_KEY as KNX_MODULE_KEY
|
|
2
|
+
from .knx_module import KNXModule as KNXModule
|
|
3
3
|
from .storage.config_store import ConfigStoreException as ConfigStoreException
|
|
4
4
|
from .storage.const import CONF_DATA as CONF_DATA
|
|
5
5
|
from .storage.entity_store_schema import CREATE_ENTITY_BASE_SCHEMA as CREATE_ENTITY_BASE_SCHEMA, UPDATE_ENTITY_BASE_SCHEMA as UPDATE_ENTITY_BASE_SCHEMA
|
|
@@ -4,7 +4,7 @@ from _typeshed import Incomplete
|
|
|
4
4
|
from aiohttp import ClientSession as ClientSession
|
|
5
5
|
from collections.abc import Mapping
|
|
6
6
|
from homeassistant.components.bluetooth import BluetoothServiceInfo as BluetoothServiceInfo, async_discovered_service_info as async_discovered_service_info
|
|
7
|
-
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult,
|
|
7
|
+
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlowWithReload as OptionsFlowWithReload, SOURCE_REAUTH as SOURCE_REAUTH, SOURCE_RECONFIGURE as SOURCE_RECONFIGURE
|
|
8
8
|
from homeassistant.const import CONF_ADDRESS as CONF_ADDRESS, CONF_MAC as CONF_MAC, CONF_NAME as CONF_NAME, CONF_PASSWORD as CONF_PASSWORD, CONF_TOKEN as CONF_TOKEN, CONF_USERNAME as CONF_USERNAME
|
|
9
9
|
from homeassistant.core import callback as callback
|
|
10
10
|
from homeassistant.helpers.aiohttp_client import async_create_clientsession as async_create_clientsession
|
|
@@ -36,5 +36,5 @@ class LmConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
|
36
36
|
@callback
|
|
37
37
|
def async_get_options_flow(config_entry: LaMarzoccoConfigEntry) -> LmOptionsFlowHandler: ...
|
|
38
38
|
|
|
39
|
-
class LmOptionsFlowHandler(
|
|
39
|
+
class LmOptionsFlowHandler(OptionsFlowWithReload):
|
|
40
40
|
async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
from .const import
|
|
1
|
+
from .const import CONF_DOMAIN_DATA as CONF_DOMAIN_DATA
|
|
2
2
|
from .entity import LcnEntity as LcnEntity
|
|
3
3
|
from .helpers import InputType as InputType, LcnConfigEntry as LcnConfigEntry
|
|
4
4
|
from _typeshed import Incomplete
|
|
5
5
|
from collections.abc import Iterable
|
|
6
|
-
from homeassistant.components.automation import automations_with_entity as automations_with_entity
|
|
7
6
|
from homeassistant.components.binary_sensor import BinarySensorEntity as BinarySensorEntity
|
|
8
|
-
from homeassistant.components.script import scripts_with_entity as scripts_with_entity
|
|
9
7
|
from homeassistant.const import CONF_DOMAIN as CONF_DOMAIN, CONF_ENTITIES as CONF_ENTITIES, CONF_SOURCE as CONF_SOURCE
|
|
10
8
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
11
9
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
12
|
-
from homeassistant.helpers.issue_registry import IssueSeverity as IssueSeverity, async_create_issue as async_create_issue, async_delete_issue as async_delete_issue
|
|
13
10
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
|
14
11
|
|
|
15
12
|
PARALLEL_UPDATES: int
|
|
@@ -17,14 +14,6 @@ PARALLEL_UPDATES: int
|
|
|
17
14
|
def add_lcn_entities(config_entry: LcnConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback, entity_configs: Iterable[ConfigType]) -> None: ...
|
|
18
15
|
async def async_setup_entry(hass: HomeAssistant, config_entry: LcnConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
19
16
|
|
|
20
|
-
class LcnRegulatorLockSensor(LcnEntity, BinarySensorEntity):
|
|
21
|
-
setpoint_variable: Incomplete
|
|
22
|
-
def __init__(self, config: ConfigType, config_entry: LcnConfigEntry) -> None: ...
|
|
23
|
-
async def async_added_to_hass(self) -> None: ...
|
|
24
|
-
async def async_will_remove_from_hass(self) -> None: ...
|
|
25
|
-
_attr_is_on: Incomplete
|
|
26
|
-
def input_received(self, input_obj: InputType) -> None: ...
|
|
27
|
-
|
|
28
17
|
class LcnBinarySensor(LcnEntity, BinarySensorEntity):
|
|
29
18
|
bin_sensor_port: Incomplete
|
|
30
19
|
def __init__(self, config: ConfigType, config_entry: LcnConfigEntry) -> None: ...
|
|
@@ -32,11 +21,3 @@ class LcnBinarySensor(LcnEntity, BinarySensorEntity):
|
|
|
32
21
|
async def async_will_remove_from_hass(self) -> None: ...
|
|
33
22
|
_attr_is_on: Incomplete
|
|
34
23
|
def input_received(self, input_obj: InputType) -> None: ...
|
|
35
|
-
|
|
36
|
-
class LcnLockKeysSensor(LcnEntity, BinarySensorEntity):
|
|
37
|
-
source: Incomplete
|
|
38
|
-
def __init__(self, config: ConfigType, config_entry: LcnConfigEntry) -> None: ...
|
|
39
|
-
async def async_added_to_hass(self) -> None: ...
|
|
40
|
-
async def async_will_remove_from_hass(self) -> None: ...
|
|
41
|
-
_attr_is_on: Incomplete
|
|
42
|
-
def input_received(self, input_obj: InputType) -> None: ...
|
|
@@ -6,6 +6,7 @@ from dataclasses import dataclass
|
|
|
6
6
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
7
7
|
from homeassistant.const import CONF_ADDRESS as CONF_ADDRESS, CONF_BINARY_SENSORS as CONF_BINARY_SENSORS, CONF_COVERS as CONF_COVERS, CONF_DEVICES as CONF_DEVICES, CONF_DOMAIN as CONF_DOMAIN, CONF_ENTITIES as CONF_ENTITIES, CONF_LIGHTS as CONF_LIGHTS, CONF_NAME as CONF_NAME, CONF_SENSORS as CONF_SENSORS, CONF_SWITCHES as CONF_SWITCHES
|
|
8
8
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
9
|
+
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
9
10
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
|
10
11
|
from pypck.connection import PchkConnectionManager as PchkConnectionManager
|
|
11
12
|
|
|
@@ -8,8 +8,10 @@ from homeassistant.const import CONF_DOMAIN as CONF_DOMAIN, CONF_ENTITIES as CON
|
|
|
8
8
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
9
9
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
10
10
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
|
11
|
+
from homeassistant.util.color import brightness_to_value as brightness_to_value, value_to_brightness as value_to_brightness
|
|
11
12
|
from typing import Any
|
|
12
13
|
|
|
14
|
+
BRIGHTNESS_SCALE: Incomplete
|
|
13
15
|
PARALLEL_UPDATES: int
|
|
14
16
|
|
|
15
17
|
def add_lcn_entities(config_entry: LcnConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback, entity_configs: Iterable[ConfigType]) -> None: ...
|
|
@@ -22,7 +24,6 @@ class LcnOutputLight(LcnEntity, LightEntity):
|
|
|
22
24
|
output: Incomplete
|
|
23
25
|
_transition: Incomplete
|
|
24
26
|
dimmable: Incomplete
|
|
25
|
-
_is_dimming_to_zero: bool
|
|
26
27
|
_attr_color_mode: Incomplete
|
|
27
28
|
_attr_supported_color_modes: Incomplete
|
|
28
29
|
def __init__(self, config: ConfigType, config_entry: LcnConfigEntry) -> None: ...
|
|
@@ -4,8 +4,8 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
|
4
4
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
5
5
|
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed
|
|
6
6
|
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
|
7
|
-
from letpot.deviceclient import LetPotDeviceClient
|
|
8
|
-
from letpot.models import
|
|
7
|
+
from letpot.deviceclient import LetPotDeviceClient as LetPotDeviceClient
|
|
8
|
+
from letpot.models import LetPotDevice as LetPotDevice, LetPotDeviceStatus
|
|
9
9
|
|
|
10
10
|
_LOGGER: Incomplete
|
|
11
11
|
type LetPotConfigEntry = ConfigEntry[list[LetPotDeviceCoordinator]]
|
|
@@ -14,8 +14,7 @@ class LetPotDeviceCoordinator(DataUpdateCoordinator[LetPotDeviceStatus]):
|
|
|
14
14
|
config_entry: LetPotConfigEntry
|
|
15
15
|
device: LetPotDevice
|
|
16
16
|
device_client: LetPotDeviceClient
|
|
17
|
-
|
|
18
|
-
def __init__(self, hass: HomeAssistant, config_entry: LetPotConfigEntry, info: AuthenticationInfo, device: LetPotDevice) -> None: ...
|
|
17
|
+
def __init__(self, hass: HomeAssistant, config_entry: LetPotConfigEntry, device: LetPotDevice, device_client: LetPotDeviceClient) -> None: ...
|
|
19
18
|
def _handle_status_update(self, status: LetPotDeviceStatus) -> None: ...
|
|
20
19
|
async def _async_setup(self) -> None: ...
|
|
21
20
|
async def _async_update_data(self) -> LetPotDeviceStatus: ...
|
|
@@ -16,7 +16,7 @@ PARALLEL_UPDATES: int
|
|
|
16
16
|
@dataclass(frozen=True, kw_only=True)
|
|
17
17
|
class LetPotSwitchEntityDescription(LetPotEntityDescription, SwitchEntityDescription):
|
|
18
18
|
value_fn: Callable[[LetPotDeviceStatus], bool | None]
|
|
19
|
-
set_value_fn: Callable[[LetPotDeviceClient, bool], Coroutine[Any, Any, None]]
|
|
19
|
+
set_value_fn: Callable[[LetPotDeviceClient, str, bool], Coroutine[Any, Any, None]]
|
|
20
20
|
|
|
21
21
|
SWITCHES: tuple[LetPotSwitchEntityDescription, ...]
|
|
22
22
|
|
|
@@ -17,7 +17,7 @@ PARALLEL_UPDATES: int
|
|
|
17
17
|
@dataclass(frozen=True, kw_only=True)
|
|
18
18
|
class LetPotTimeEntityDescription(TimeEntityDescription):
|
|
19
19
|
value_fn: Callable[[LetPotDeviceStatus], time | None]
|
|
20
|
-
set_value_fn: Callable[[LetPotDeviceClient, time], Coroutine[Any, Any, None]]
|
|
20
|
+
set_value_fn: Callable[[LetPotDeviceClient, str, time], Coroutine[Any, Any, None]]
|
|
21
21
|
|
|
22
22
|
TIME_SENSORS: tuple[LetPotTimeEntityDescription, ...]
|
|
23
23
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from .const import ATTR_REMAINING as ATTR_REMAINING, DEFAULT_ATTEMPTS as DEFAULT_ATTEMPTS, DOMAIN as DOMAIN, IDENTIFY_WAVEFORM as IDENTIFY_WAVEFORM, MAX_ATTEMPTS_PER_UPDATE_REQUEST_MESSAGE as MAX_ATTEMPTS_PER_UPDATE_REQUEST_MESSAGE, MAX_UPDATE_TIME as MAX_UPDATE_TIME, MESSAGE_RETRIES as MESSAGE_RETRIES, MESSAGE_TIMEOUT as MESSAGE_TIMEOUT, OVERALL_TIMEOUT as OVERALL_TIMEOUT, TARGET_ANY as TARGET_ANY, UNAVAILABLE_GRACE as UNAVAILABLE_GRACE, _LOGGER as _LOGGER
|
|
1
|
+
from .const import ATTR_REMAINING as ATTR_REMAINING, DEFAULT_ATTEMPTS as DEFAULT_ATTEMPTS, DOMAIN as DOMAIN, IDENTIFY_WAVEFORM as IDENTIFY_WAVEFORM, LIFX_128ZONE_CEILING_PRODUCT_IDS as LIFX_128ZONE_CEILING_PRODUCT_IDS, MAX_ATTEMPTS_PER_UPDATE_REQUEST_MESSAGE as MAX_ATTEMPTS_PER_UPDATE_REQUEST_MESSAGE, MAX_UPDATE_TIME as MAX_UPDATE_TIME, MESSAGE_RETRIES as MESSAGE_RETRIES, MESSAGE_TIMEOUT as MESSAGE_TIMEOUT, OVERALL_TIMEOUT as OVERALL_TIMEOUT, TARGET_ANY as TARGET_ANY, UNAVAILABLE_GRACE as UNAVAILABLE_GRACE, _LOGGER as _LOGGER
|
|
2
2
|
from .util import async_execute_lifx as async_execute_lifx, async_multi_execute_lifx_with_retries as async_multi_execute_lifx_with_retries, get_real_mac_addr as get_real_mac_addr, infrared_brightness_option_to_value as infrared_brightness_option_to_value, infrared_brightness_value_to_option as infrared_brightness_value_to_option, lifx_features as lifx_features
|
|
3
3
|
from _typeshed import Incomplete
|
|
4
4
|
from aiolifx.aiolifx import Light as Light, Message as Message
|
|
@@ -63,12 +63,16 @@ class LIFXUpdateCoordinator(DataUpdateCoordinator[None]):
|
|
|
63
63
|
def is_legacy_multizone(self) -> bool: ...
|
|
64
64
|
@cached_property
|
|
65
65
|
def is_matrix(self) -> bool: ...
|
|
66
|
+
@cached_property
|
|
67
|
+
def is_128zone_matrix(self) -> bool: ...
|
|
66
68
|
async def diagnostics(self) -> dict[str, Any]: ...
|
|
67
69
|
def async_get_entity_id(self, platform: Platform, key: str) -> str | None: ...
|
|
68
70
|
async def _async_populate_device_info(self) -> None: ...
|
|
69
71
|
def get_number_of_zones(self) -> int: ...
|
|
70
72
|
@callback
|
|
71
73
|
def _async_build_color_zones_update_requests(self) -> list[Callable]: ...
|
|
74
|
+
@callback
|
|
75
|
+
def _async_build_get64_update_requests(self) -> list[Callable]: ...
|
|
72
76
|
async def _async_update_data(self) -> None: ...
|
|
73
77
|
async def async_get_color_zones(self) -> None: ...
|
|
74
78
|
async def async_get_extended_color_zones(self) -> None: ...
|
|
@@ -8,7 +8,7 @@ from collections.abc import Callable as Callable
|
|
|
8
8
|
from homeassistant.components.light import ATTR_BRIGHTNESS as ATTR_BRIGHTNESS, ATTR_BRIGHTNESS_PCT as ATTR_BRIGHTNESS_PCT, ATTR_COLOR_NAME as ATTR_COLOR_NAME, ATTR_COLOR_TEMP_KELVIN as ATTR_COLOR_TEMP_KELVIN, ATTR_HS_COLOR as ATTR_HS_COLOR, ATTR_RGB_COLOR as ATTR_RGB_COLOR, ATTR_TRANSITION as ATTR_TRANSITION, ATTR_XY_COLOR as ATTR_XY_COLOR, COLOR_GROUP as COLOR_GROUP, VALID_BRIGHTNESS as VALID_BRIGHTNESS, VALID_BRIGHTNESS_PCT as VALID_BRIGHTNESS_PCT
|
|
9
9
|
from homeassistant.const import ATTR_MODE as ATTR_MODE
|
|
10
10
|
from homeassistant.core import HomeAssistant as HomeAssistant, ServiceCall as ServiceCall, callback as callback
|
|
11
|
-
from homeassistant.helpers.
|
|
11
|
+
from homeassistant.helpers.target import TargetSelectorData as TargetSelectorData, async_extract_referenced_entity_ids as async_extract_referenced_entity_ids
|
|
12
12
|
from typing import Any
|
|
13
13
|
|
|
14
14
|
SCAN_INTERVAL: Incomplete
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
from . import LinkPlayConfigEntry as LinkPlayConfigEntry
|
|
2
|
+
from .entity import LinkPlayBaseEntity as LinkPlayBaseEntity, exception_wrap as exception_wrap
|
|
3
|
+
from _typeshed import Incomplete
|
|
4
|
+
from collections.abc import Awaitable, Callable as Callable, Coroutine
|
|
5
|
+
from dataclasses import dataclass
|
|
6
|
+
from homeassistant.components.select import SelectEntity as SelectEntity, SelectEntityDescription as SelectEntityDescription
|
|
7
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
8
|
+
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
9
|
+
from linkplay.bridge import LinkPlayBridge as LinkPlayBridge, LinkPlayPlayer as LinkPlayPlayer
|
|
10
|
+
from linkplay.consts import AudioOutputHwMode
|
|
11
|
+
from typing import Any
|
|
12
|
+
|
|
13
|
+
_LOGGER: Incomplete
|
|
14
|
+
AUDIO_OUTPUT_HW_MODE_MAP: dict[AudioOutputHwMode, str]
|
|
15
|
+
AUDIO_OUTPUT_HW_MODE_MAP_INV: dict[str, AudioOutputHwMode]
|
|
16
|
+
|
|
17
|
+
async def _get_current_option(bridge: LinkPlayBridge) -> str: ...
|
|
18
|
+
|
|
19
|
+
@dataclass(frozen=True, kw_only=True)
|
|
20
|
+
class LinkPlaySelectEntityDescription(SelectEntityDescription):
|
|
21
|
+
set_option_fn: Callable[[LinkPlayPlayer, str], Coroutine[Any, Any, None]]
|
|
22
|
+
current_option_fn: Callable[[LinkPlayPlayer], Awaitable[str]]
|
|
23
|
+
|
|
24
|
+
SELECT_TYPES_WIIM: tuple[LinkPlaySelectEntityDescription, ...]
|
|
25
|
+
|
|
26
|
+
async def async_setup_entry(hass: HomeAssistant, config_entry: LinkPlayConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
27
|
+
|
|
28
|
+
class LinkPlaySelect(LinkPlayBaseEntity, SelectEntity):
|
|
29
|
+
entity_description: LinkPlaySelectEntityDescription
|
|
30
|
+
_attr_unique_id: Incomplete
|
|
31
|
+
def __init__(self, bridge: LinkPlayPlayer, description: LinkPlaySelectEntityDescription) -> None: ...
|
|
32
|
+
_attr_current_option: Incomplete
|
|
33
|
+
async def async_update(self) -> None: ...
|
|
34
|
+
@exception_wrap
|
|
35
|
+
async def async_select_option(self, option: str) -> None: ...
|
|
@@ -15,6 +15,7 @@ def icon_for_gauge_level(gauge_level: int | None = None, offset: int = 0) -> str
|
|
|
15
15
|
@dataclass(frozen=True, kw_only=True)
|
|
16
16
|
class RobotSensorEntityDescription(SensorEntityDescription, Generic[_WhiskerEntityT]):
|
|
17
17
|
icon_fn: Callable[[Any], str | None] = ...
|
|
18
|
+
last_reset_fn: Callable[[], datetime | None] = ...
|
|
18
19
|
value_fn: Callable[[_WhiskerEntityT], float | datetime | str | None]
|
|
19
20
|
|
|
20
21
|
ROBOT_SENSOR_MAP: dict[type[Robot], list[RobotSensorEntityDescription]]
|
|
@@ -28,3 +29,5 @@ class LitterRobotSensorEntity(LitterRobotEntity[_WhiskerEntityT], SensorEntity):
|
|
|
28
29
|
def native_value(self) -> float | datetime | str | None: ...
|
|
29
30
|
@property
|
|
30
31
|
def icon(self) -> str | None: ...
|
|
32
|
+
@property
|
|
33
|
+
def last_reset(self) -> datetime | None: ...
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from .const import ATTR_FORMAT as ATTR_FORMAT, ATTR_IMAGES as ATTR_IMAGES, CONF_ROOMS_REGEX as CONF_ROOMS_REGEX, DOMAIN as DOMAIN, FORMAT_HTML as FORMAT_HTML
|
|
2
|
-
from .services import
|
|
2
|
+
from .services import async_setup_services as async_setup_services
|
|
3
3
|
from _typeshed import Incomplete
|
|
4
4
|
from collections.abc import Sequence
|
|
5
5
|
from homeassistant.components.notify import ATTR_DATA as ATTR_DATA, ATTR_MESSAGE as ATTR_MESSAGE, ATTR_TARGET as ATTR_TARGET
|
|
@@ -2,11 +2,12 @@ from . import MatrixBot as MatrixBot
|
|
|
2
2
|
from .const import ATTR_FORMAT as ATTR_FORMAT, ATTR_IMAGES as ATTR_IMAGES, CONF_ROOMS_REGEX as CONF_ROOMS_REGEX, DOMAIN as DOMAIN, FORMAT_HTML as FORMAT_HTML, FORMAT_TEXT as FORMAT_TEXT, SERVICE_SEND_MESSAGE as SERVICE_SEND_MESSAGE
|
|
3
3
|
from _typeshed import Incomplete
|
|
4
4
|
from homeassistant.components.notify import ATTR_DATA as ATTR_DATA, ATTR_MESSAGE as ATTR_MESSAGE, ATTR_TARGET as ATTR_TARGET
|
|
5
|
-
from homeassistant.core import HomeAssistant as HomeAssistant, ServiceCall as ServiceCall
|
|
5
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, ServiceCall as ServiceCall, callback as callback
|
|
6
6
|
|
|
7
7
|
MESSAGE_FORMATS: Incomplete
|
|
8
8
|
DEFAULT_MESSAGE_FORMAT = FORMAT_TEXT
|
|
9
9
|
SERVICE_SCHEMA_SEND_MESSAGE: Incomplete
|
|
10
10
|
|
|
11
11
|
async def _handle_send_message(call: ServiceCall) -> None: ...
|
|
12
|
-
|
|
12
|
+
@callback
|
|
13
|
+
def async_setup_services(hass: HomeAssistant) -> None: ...
|
|
@@ -22,8 +22,8 @@ def catch_matter_error[_R, **P](func: Callable[Concatenate[MatterEntity, P], Cor
|
|
|
22
22
|
|
|
23
23
|
@dataclass(frozen=True)
|
|
24
24
|
class MatterEntityDescription(EntityDescription):
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
device_to_ha: Callable[[Any], Any] | None = ...
|
|
26
|
+
ha_to_device: Callable[[Any], Any] | None = ...
|
|
27
27
|
command_timeout: int | None = ...
|
|
28
28
|
|
|
29
29
|
class MatterEntity(Entity):
|
|
@@ -2,18 +2,30 @@ from .entity import MatterEntity as MatterEntity, MatterEntityDescription as Mat
|
|
|
2
2
|
from .helpers import get_matter as get_matter
|
|
3
3
|
from .models import MatterDiscoverySchema as MatterDiscoverySchema
|
|
4
4
|
from _typeshed import Incomplete
|
|
5
|
+
from chip.clusters.ClusterObjects import ClusterAttributeDescriptor as ClusterAttributeDescriptor, ClusterCommand as ClusterCommand
|
|
6
|
+
from collections.abc import Callable as Callable
|
|
5
7
|
from dataclasses import dataclass
|
|
6
8
|
from homeassistant.components.number import NumberDeviceClass as NumberDeviceClass, NumberEntity as NumberEntity, NumberEntityDescription as NumberEntityDescription, NumberMode as NumberMode
|
|
7
9
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
8
|
-
from homeassistant.const import EntityCategory as EntityCategory, Platform as Platform, UnitOfLength as UnitOfLength, UnitOfTemperature as UnitOfTemperature, UnitOfTime as UnitOfTime
|
|
10
|
+
from homeassistant.const import EntityCategory as EntityCategory, PERCENTAGE as PERCENTAGE, Platform as Platform, UnitOfLength as UnitOfLength, UnitOfTemperature as UnitOfTemperature, UnitOfTime as UnitOfTime
|
|
9
11
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
10
12
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
13
|
+
from typing import Any
|
|
11
14
|
|
|
12
15
|
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
13
16
|
|
|
14
17
|
@dataclass(frozen=True)
|
|
15
18
|
class MatterNumberEntityDescription(NumberEntityDescription, MatterEntityDescription): ...
|
|
16
19
|
|
|
20
|
+
@dataclass(frozen=True, kw_only=True)
|
|
21
|
+
class MatterRangeNumberEntityDescription(NumberEntityDescription, MatterEntityDescription):
|
|
22
|
+
ha_to_device: Callable[[Any], Any] = ...
|
|
23
|
+
min_attribute: type[ClusterAttributeDescriptor] | None = ...
|
|
24
|
+
max_attribute: type[ClusterAttributeDescriptor]
|
|
25
|
+
format_min_value: Callable[[float], float] = ...
|
|
26
|
+
format_max_value: Callable[[float], float] = ...
|
|
27
|
+
command: Callable[[int], ClusterCommand]
|
|
28
|
+
|
|
17
29
|
class MatterNumber(MatterEntity, NumberEntity):
|
|
18
30
|
entity_description: MatterNumberEntityDescription
|
|
19
31
|
async def async_set_native_value(self, value: float) -> None: ...
|
|
@@ -21,4 +33,20 @@ class MatterNumber(MatterEntity, NumberEntity):
|
|
|
21
33
|
@callback
|
|
22
34
|
def _update_from_device(self) -> None: ...
|
|
23
35
|
|
|
36
|
+
class MatterRangeNumber(MatterEntity, NumberEntity):
|
|
37
|
+
entity_description: MatterRangeNumberEntityDescription
|
|
38
|
+
async def async_set_native_value(self, value: float) -> None: ...
|
|
39
|
+
_attr_native_value: Incomplete
|
|
40
|
+
_attr_native_min_value: Incomplete
|
|
41
|
+
_attr_native_max_value: Incomplete
|
|
42
|
+
@callback
|
|
43
|
+
def _update_from_device(self) -> None: ...
|
|
44
|
+
|
|
45
|
+
class MatterLevelControlNumber(MatterEntity, NumberEntity):
|
|
46
|
+
entity_description: MatterNumberEntityDescription
|
|
47
|
+
async def async_set_native_value(self, value: float) -> None: ...
|
|
48
|
+
_attr_native_value: Incomplete
|
|
49
|
+
@callback
|
|
50
|
+
def _update_from_device(self) -> None: ...
|
|
51
|
+
|
|
24
52
|
DISCOVERY_SCHEMAS: Incomplete
|
|
@@ -26,8 +26,8 @@ class MatterSelectEntityDescription(SelectEntityDescription, MatterEntityDescrip
|
|
|
26
26
|
|
|
27
27
|
@dataclass(frozen=True, kw_only=True)
|
|
28
28
|
class MatterMapSelectEntityDescription(MatterSelectEntityDescription):
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
device_to_ha: Callable[[int], str | None]
|
|
30
|
+
ha_to_device: Callable[[str], int | None]
|
|
31
31
|
list_attribute: type[ClusterAttributeDescriptor]
|
|
32
32
|
|
|
33
33
|
@dataclass(frozen=True, kw_only=True)
|
|
@@ -8,6 +8,7 @@ from homeassistant.components.vacuum import StateVacuumEntity as StateVacuumEnti
|
|
|
8
8
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
9
9
|
from homeassistant.const import Platform as Platform
|
|
10
10
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
11
|
+
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
11
12
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
12
13
|
from typing import Any
|
|
13
14
|
|
|
@@ -32,12 +33,12 @@ class MatterVacuum(MatterEntity, StateVacuumEntity):
|
|
|
32
33
|
_supported_run_modes: dict[int, clusters.RvcRunMode.Structs.ModeOptionStruct] | None
|
|
33
34
|
entity_description: StateVacuumEntityDescription
|
|
34
35
|
_platform_translation_key: str
|
|
36
|
+
def _get_run_mode_by_tag(self, tag: ModeTag) -> clusters.RvcRunMode.Structs.ModeOptionStruct | None: ...
|
|
35
37
|
async def async_stop(self, **kwargs: Any) -> None: ...
|
|
36
38
|
async def async_return_to_base(self, **kwargs: Any) -> None: ...
|
|
37
39
|
async def async_locate(self, **kwargs: Any) -> None: ...
|
|
38
40
|
async def async_start(self) -> None: ...
|
|
39
41
|
async def async_pause(self) -> None: ...
|
|
40
|
-
_attr_battery_level: Incomplete
|
|
41
42
|
_attr_activity: Incomplete
|
|
42
43
|
@callback
|
|
43
44
|
def _update_from_device(self) -> None: ...
|
|
@@ -11,4 +11,4 @@ from typing import Any
|
|
|
11
11
|
_LOGGER: Incomplete
|
|
12
12
|
|
|
13
13
|
def _format_tool(tool: llm.Tool, custom_serializer: Callable[[Any], Any] | None) -> types.Tool: ...
|
|
14
|
-
async def create_server(hass: HomeAssistant, llm_api_id: str, llm_context: llm.LLMContext) -> Server: ...
|
|
14
|
+
async def create_server(hass: HomeAssistant, llm_api_id: str | list[str], llm_context: llm.LLMContext) -> Server: ...
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from .const import ATTR_CONFIG_ENTRY_ID as ATTR_CONFIG_ENTRY_ID, ATTR_END_DATE as ATTR_END_DATE, ATTR_ENTRY_TYPE as ATTR_ENTRY_TYPE, ATTR_INCLUDE_TAGS as ATTR_INCLUDE_TAGS, ATTR_NOTE_TEXT as ATTR_NOTE_TEXT, ATTR_NOTE_TITLE as ATTR_NOTE_TITLE, ATTR_RECIPE_ID as ATTR_RECIPE_ID, ATTR_START_DATE as ATTR_START_DATE, ATTR_URL as ATTR_URL, DOMAIN as DOMAIN
|
|
1
|
+
from .const import ATTR_CONFIG_ENTRY_ID as ATTR_CONFIG_ENTRY_ID, ATTR_END_DATE as ATTR_END_DATE, ATTR_ENTRY_TYPE as ATTR_ENTRY_TYPE, ATTR_INCLUDE_TAGS as ATTR_INCLUDE_TAGS, ATTR_NOTE_TEXT as ATTR_NOTE_TEXT, ATTR_NOTE_TITLE as ATTR_NOTE_TITLE, ATTR_RECIPE_ID as ATTR_RECIPE_ID, ATTR_RESULT_LIMIT as ATTR_RESULT_LIMIT, ATTR_SEARCH_TERMS as ATTR_SEARCH_TERMS, ATTR_START_DATE as ATTR_START_DATE, ATTR_URL as ATTR_URL, DOMAIN as DOMAIN
|
|
2
2
|
from .coordinator import MealieConfigEntry as MealieConfigEntry
|
|
3
3
|
from _typeshed import Incomplete
|
|
4
4
|
from homeassistant.config_entries import ConfigEntryState as ConfigEntryState
|
|
@@ -10,6 +10,8 @@ SERVICE_GET_MEALPLAN: str
|
|
|
10
10
|
SERVICE_GET_MEALPLAN_SCHEMA: Incomplete
|
|
11
11
|
SERVICE_GET_RECIPE: str
|
|
12
12
|
SERVICE_GET_RECIPE_SCHEMA: Incomplete
|
|
13
|
+
SERVICE_GET_RECIPES: str
|
|
14
|
+
SERVICE_GET_RECIPES_SCHEMA: Incomplete
|
|
13
15
|
SERVICE_IMPORT_RECIPE: str
|
|
14
16
|
SERVICE_IMPORT_RECIPE_SCHEMA: Incomplete
|
|
15
17
|
SERVICE_SET_RANDOM_MEALPLAN: str
|
|
@@ -20,6 +22,7 @@ SERVICE_SET_MEALPLAN_SCHEMA: Incomplete
|
|
|
20
22
|
def _async_get_entry(call: ServiceCall) -> MealieConfigEntry: ...
|
|
21
23
|
async def _async_get_mealplan(call: ServiceCall) -> ServiceResponse: ...
|
|
22
24
|
async def _async_get_recipe(call: ServiceCall) -> ServiceResponse: ...
|
|
25
|
+
async def _async_get_recipes(call: ServiceCall) -> ServiceResponse: ...
|
|
23
26
|
async def _async_import_recipe(call: ServiceCall) -> ServiceResponse: ...
|
|
24
27
|
async def _async_set_random_mealplan(call: ServiceCall) -> ServiceResponse: ...
|
|
25
28
|
async def _async_set_mealplan(call: ServiceCall) -> ServiceResponse: ...
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from enum import IntFlag, StrEnum
|
|
3
|
-
from homeassistant.helpers.deprecation import DeprecatedConstantEnum as DeprecatedConstantEnum, all_with_deprecated_constants as all_with_deprecated_constants, check_if_deprecated_constant as check_if_deprecated_constant, dir_with_deprecated_constants as dir_with_deprecated_constants
|
|
3
|
+
from homeassistant.helpers.deprecation import DeprecatedConstantEnum as DeprecatedConstantEnum, EnumWithDeprecatedMembers as EnumWithDeprecatedMembers, 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
|
|
4
4
|
|
|
5
5
|
CONTENT_AUTH_EXPIRY_TIME: Incomplete
|
|
6
6
|
ATTR_APP_ID: str
|
|
@@ -38,7 +38,7 @@ ATTR_SOUND_MODE: str
|
|
|
38
38
|
ATTR_SOUND_MODE_LIST: str
|
|
39
39
|
DOMAIN: str
|
|
40
40
|
|
|
41
|
-
class MediaPlayerState(StrEnum):
|
|
41
|
+
class MediaPlayerState(StrEnum, deprecated={'STANDBY': ('MediaPlayerState.OFF or MediaPlayerState.IDLE', '2026.8.0')}, metaclass=EnumWithDeprecatedMembers):
|
|
42
42
|
OFF = 'off'
|
|
43
43
|
ON = 'on'
|
|
44
44
|
IDLE = 'idle'
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
from .models import MediaSource as MediaSource
|
|
1
2
|
from _typeshed import Incomplete
|
|
2
3
|
from homeassistant.components.media_player import MediaClass as MediaClass
|
|
4
|
+
from homeassistant.util.hass_dict import HassKey as HassKey
|
|
3
5
|
|
|
4
6
|
DOMAIN: str
|
|
7
|
+
MEDIA_SOURCE_DATA: HassKey[dict[str, MediaSource]]
|
|
5
8
|
MEDIA_MIME_TYPES: Incomplete
|
|
6
9
|
MEDIA_CLASS_MAP: Incomplete
|
|
7
10
|
URI_SCHEME: str
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from .const import DOMAIN as DOMAIN, MEDIA_CLASS_MAP as MEDIA_CLASS_MAP, MEDIA_MIME_TYPES as MEDIA_MIME_TYPES
|
|
1
|
+
from .const import DOMAIN as DOMAIN, MEDIA_CLASS_MAP as MEDIA_CLASS_MAP, MEDIA_MIME_TYPES as MEDIA_MIME_TYPES, MEDIA_SOURCE_DATA as MEDIA_SOURCE_DATA
|
|
2
2
|
from .error import Unresolvable as Unresolvable
|
|
3
3
|
from .models import BrowseMediaSource as BrowseMediaSource, MediaSource as MediaSource, MediaSourceItem as MediaSourceItem, PlayMedia as PlayMedia
|
|
4
4
|
from _typeshed import Incomplete
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
from .const import
|
|
1
|
+
from .const import MEDIA_SOURCE_DATA as MEDIA_SOURCE_DATA, URI_SCHEME as URI_SCHEME, URI_SCHEME_REGEX as URI_SCHEME_REGEX
|
|
2
2
|
from _typeshed import Incomplete
|
|
3
|
-
from dataclasses import dataclass
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
4
|
from homeassistant.components.media_player import BrowseMedia as BrowseMedia, MediaClass as MediaClass, MediaType as MediaType
|
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
6
|
+
from pathlib import Path
|
|
6
7
|
from typing import Any
|
|
7
8
|
|
|
8
9
|
@dataclass(slots=True)
|
|
9
10
|
class PlayMedia:
|
|
10
11
|
url: str
|
|
11
12
|
mime_type: str
|
|
13
|
+
path: Path | None = field(kw_only=True, default=None)
|
|
12
14
|
|
|
13
15
|
class BrowseMediaSource(BrowseMedia):
|
|
14
16
|
domain: Incomplete
|
|
@@ -21,6 +23,8 @@ class MediaSourceItem:
|
|
|
21
23
|
domain: str | None
|
|
22
24
|
identifier: str
|
|
23
25
|
target_media_player: str | None
|
|
26
|
+
@property
|
|
27
|
+
def media_source_id(self) -> str: ...
|
|
24
28
|
async def async_browse(self) -> BrowseMediaSource: ...
|
|
25
29
|
async def async_resolve(self) -> PlayMedia: ...
|
|
26
30
|
@callback
|