homeassistant-stubs 2025.7.3__py3-none-any.whl → 2025.8.0b0__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/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/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/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/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/fujitsu_fglair/climate.pyi +1 -1
- 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/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/light.pyi +1 -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/light.pyi +1 -1
- homeassistant-stubs/components/matter/number.pyi +29 -1
- homeassistant-stubs/components/matter/select.pyi +2 -2
- homeassistant-stubs/components/matter/vacuum.pyi +2 -0
- 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/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/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 +3 -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 +25 -0
- homeassistant-stubs/components/opower/const.pyi +3 -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/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/const.pyi +2 -3
- homeassistant-stubs/components/squeezebox/coordinator.pyi +2 -2
- homeassistant-stubs/components/squeezebox/media_player.pyi +2 -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/telegram_bot/webhooks.pyi +3 -1
- 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/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 +7 -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 +34 -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 +10 -9
- homeassistant-stubs/components/zwave_js/api.pyi +35 -34
- 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 +5 -3
- homeassistant-stubs/components/zwave_js/const.pyi +0 -2
- 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/entity.pyi +0 -4
- 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 +6 -5
- 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 +11 -6
- 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.3.dist-info → homeassistant_stubs-2025.8.0b0.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2025.7.3.dist-info → homeassistant_stubs-2025.8.0b0.dist-info}/RECORD +482 -414
- homeassistant-stubs/components/backup/basic_websocket.pyi +0 -12
- homeassistant-stubs/helpers/backup.pyi +0 -24
- {homeassistant_stubs-2025.7.3.dist-info → homeassistant_stubs-2025.8.0b0.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2025.7.3.dist-info → homeassistant_stubs-2025.8.0b0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
from .config_validation import BITMASK_SCHEMA as BITMASK_SCHEMA
|
|
2
|
-
from .const import ATTR_COMMAND_CLASS as ATTR_COMMAND_CLASS, ATTR_ENDPOINT as ATTR_ENDPOINT, ATTR_METHOD_NAME as ATTR_METHOD_NAME, ATTR_PARAMETERS as ATTR_PARAMETERS, ATTR_WAIT_FOR_RESULT as ATTR_WAIT_FOR_RESULT, CONF_DATA_COLLECTION_OPTED_IN as CONF_DATA_COLLECTION_OPTED_IN, CONF_INSTALLER_MODE as CONF_INSTALLER_MODE,
|
|
2
|
+
from .const import ATTR_COMMAND_CLASS as ATTR_COMMAND_CLASS, ATTR_ENDPOINT as ATTR_ENDPOINT, ATTR_METHOD_NAME as ATTR_METHOD_NAME, ATTR_PARAMETERS as ATTR_PARAMETERS, ATTR_WAIT_FOR_RESULT as ATTR_WAIT_FOR_RESULT, CONF_DATA_COLLECTION_OPTED_IN as CONF_DATA_COLLECTION_OPTED_IN, CONF_INSTALLER_MODE as CONF_INSTALLER_MODE, DOMAIN as DOMAIN, DRIVER_READY_TIMEOUT as DRIVER_READY_TIMEOUT, EVENT_DEVICE_ADDED_TO_REGISTRY as EVENT_DEVICE_ADDED_TO_REGISTRY, LOGGER as LOGGER, USER_AGENT as USER_AGENT
|
|
3
3
|
from .helpers import CannotConnect as CannotConnect, async_enable_statistics as async_enable_statistics, async_get_node_from_device_id as async_get_node_from_device_id, async_get_provisioning_entry_from_device_id as async_get_provisioning_entry_from_device_id, async_get_version_info as async_get_version_info, get_device_id as get_device_id
|
|
4
|
+
from .models import ZwaveJSConfigEntry as ZwaveJSConfigEntry
|
|
4
5
|
from _typeshed import Incomplete
|
|
5
6
|
from aiohttp import web as web
|
|
6
7
|
from collections.abc import Callable as Callable, Coroutine
|
|
7
8
|
from homeassistant.components import websocket_api as websocket_api
|
|
8
9
|
from homeassistant.components.http import HomeAssistantView as HomeAssistantView, KEY_HASS as KEY_HASS, require_admin as require_admin
|
|
9
10
|
from homeassistant.components.websocket_api import ActiveConnection as ActiveConnection, ERR_INVALID_FORMAT as ERR_INVALID_FORMAT, ERR_NOT_FOUND as ERR_NOT_FOUND, ERR_NOT_SUPPORTED as ERR_NOT_SUPPORTED, ERR_UNKNOWN_ERROR as ERR_UNKNOWN_ERROR
|
|
10
|
-
from homeassistant.config_entries import
|
|
11
|
+
from homeassistant.config_entries import ConfigEntryState as ConfigEntryState
|
|
11
12
|
from homeassistant.const import CONF_URL as CONF_URL
|
|
12
13
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
13
14
|
from homeassistant.helpers import device_registry as dr
|
|
@@ -80,8 +81,8 @@ PLANNED_PROVISIONING_ENTRY_SCHEMA: Incomplete
|
|
|
80
81
|
QR_PROVISIONING_INFORMATION_SCHEMA: Incomplete
|
|
81
82
|
QR_CODE_STRING_SCHEMA: Incomplete
|
|
82
83
|
|
|
83
|
-
async def _async_get_entry(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry_id: str) -> tuple[
|
|
84
|
-
def async_get_entry(orig_func: Callable[[HomeAssistant, ActiveConnection, dict[str, Any],
|
|
84
|
+
async def _async_get_entry(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry_id: str) -> tuple[ZwaveJSConfigEntry, Client, Driver] | tuple[None, None, None]: ...
|
|
85
|
+
def async_get_entry(orig_func: Callable[[HomeAssistant, ActiveConnection, dict[str, Any], ZwaveJSConfigEntry, Client, Driver], Coroutine[Any, Any, None]]) -> Callable[[HomeAssistant, ActiveConnection, dict[str, Any]], Coroutine[Any, Any, None]]: ...
|
|
85
86
|
async def _async_get_node(hass: HomeAssistant, connection: ActiveConnection, msg: dict, device_id: str) -> Node | None: ...
|
|
86
87
|
def async_get_node(orig_func: Callable[[HomeAssistant, ActiveConnection, dict[str, Any], Node], Coroutine[Any, Any, None]]) -> Callable[[HomeAssistant, ActiveConnection, dict[str, Any]], Coroutine[Any, Any, None]]: ...
|
|
87
88
|
def async_handle_failed_command[**_P](orig_func: Callable[Concatenate[HomeAssistant, ActiveConnection, dict[str, Any], _P], Coroutine[Any, Any, None]]) -> Callable[Concatenate[HomeAssistant, ActiveConnection, dict[str, Any], _P], Coroutine[Any, Any, None]]: ...
|
|
@@ -106,27 +107,27 @@ async def websocket_node_alerts(hass: HomeAssistant, connection: ActiveConnectio
|
|
|
106
107
|
@websocket_api.async_response
|
|
107
108
|
@async_handle_failed_command
|
|
108
109
|
@async_get_entry
|
|
109
|
-
async def websocket_add_node(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
110
|
+
async def websocket_add_node(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
110
111
|
@websocket_api.require_admin
|
|
111
112
|
@websocket_api.async_response
|
|
112
113
|
@async_handle_failed_command
|
|
113
114
|
@async_get_entry
|
|
114
|
-
async def websocket_cancel_secure_bootstrap_s2(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
115
|
+
async def websocket_cancel_secure_bootstrap_s2(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
115
116
|
@websocket_api.require_admin
|
|
116
117
|
@websocket_api.async_response
|
|
117
118
|
@async_handle_failed_command
|
|
118
119
|
@async_get_entry
|
|
119
|
-
async def websocket_subscribe_s2_inclusion(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
120
|
+
async def websocket_subscribe_s2_inclusion(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
120
121
|
@websocket_api.require_admin
|
|
121
122
|
@websocket_api.async_response
|
|
122
123
|
@async_handle_failed_command
|
|
123
124
|
@async_get_entry
|
|
124
|
-
async def websocket_grant_security_classes(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
125
|
+
async def websocket_grant_security_classes(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
125
126
|
@websocket_api.require_admin
|
|
126
127
|
@websocket_api.async_response
|
|
127
128
|
@async_handle_failed_command
|
|
128
129
|
@async_get_entry
|
|
129
|
-
async def websocket_validate_dsk_and_enter_pin(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
130
|
+
async def websocket_validate_dsk_and_enter_pin(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
130
131
|
@websocket_api.require_admin
|
|
131
132
|
@websocket_api.async_response
|
|
132
133
|
async def websocket_subscribe_new_devices(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any]) -> None: ...
|
|
@@ -134,52 +135,52 @@ async def websocket_subscribe_new_devices(hass: HomeAssistant, connection: Activ
|
|
|
134
135
|
@websocket_api.async_response
|
|
135
136
|
@async_handle_failed_command
|
|
136
137
|
@async_get_entry
|
|
137
|
-
async def websocket_provision_smart_start_node(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
138
|
+
async def websocket_provision_smart_start_node(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
138
139
|
@websocket_api.require_admin
|
|
139
140
|
@websocket_api.async_response
|
|
140
141
|
@async_handle_failed_command
|
|
141
142
|
@async_get_entry
|
|
142
|
-
async def websocket_unprovision_smart_start_node(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
143
|
+
async def websocket_unprovision_smart_start_node(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
143
144
|
@websocket_api.require_admin
|
|
144
145
|
@websocket_api.async_response
|
|
145
146
|
@async_handle_failed_command
|
|
146
147
|
@async_get_entry
|
|
147
|
-
async def websocket_get_provisioning_entries(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
148
|
+
async def websocket_get_provisioning_entries(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
148
149
|
@websocket_api.require_admin
|
|
149
150
|
@websocket_api.async_response
|
|
150
151
|
@async_handle_failed_command
|
|
151
152
|
@async_get_entry
|
|
152
|
-
async def websocket_parse_qr_code_string(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
153
|
+
async def websocket_parse_qr_code_string(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
153
154
|
@websocket_api.require_admin
|
|
154
155
|
@websocket_api.async_response
|
|
155
156
|
@async_handle_failed_command
|
|
156
157
|
@async_get_entry
|
|
157
|
-
async def websocket_try_parse_dsk_from_qr_code_string(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
158
|
+
async def websocket_try_parse_dsk_from_qr_code_string(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
158
159
|
@websocket_api.require_admin
|
|
159
160
|
@websocket_api.async_response
|
|
160
161
|
@async_handle_failed_command
|
|
161
162
|
@async_get_entry
|
|
162
|
-
async def websocket_lookup_device(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
163
|
+
async def websocket_lookup_device(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
163
164
|
@websocket_api.require_admin
|
|
164
165
|
@websocket_api.async_response
|
|
165
166
|
@async_handle_failed_command
|
|
166
167
|
@async_get_entry
|
|
167
|
-
async def websocket_supports_feature(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
168
|
+
async def websocket_supports_feature(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
168
169
|
@websocket_api.require_admin
|
|
169
170
|
@websocket_api.async_response
|
|
170
171
|
@async_handle_failed_command
|
|
171
172
|
@async_get_entry
|
|
172
|
-
async def websocket_stop_inclusion(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
173
|
+
async def websocket_stop_inclusion(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
173
174
|
@websocket_api.require_admin
|
|
174
175
|
@websocket_api.async_response
|
|
175
176
|
@async_handle_failed_command
|
|
176
177
|
@async_get_entry
|
|
177
|
-
async def websocket_stop_exclusion(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
178
|
+
async def websocket_stop_exclusion(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
178
179
|
@websocket_api.require_admin
|
|
179
180
|
@websocket_api.async_response
|
|
180
181
|
@async_handle_failed_command
|
|
181
182
|
@async_get_entry
|
|
182
|
-
async def websocket_remove_node(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
183
|
+
async def websocket_remove_node(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
183
184
|
@websocket_api.require_admin
|
|
184
185
|
@websocket_api.async_response
|
|
185
186
|
@async_handle_failed_command
|
|
@@ -194,16 +195,16 @@ async def websocket_remove_failed_node(hass: HomeAssistant, connection: ActiveCo
|
|
|
194
195
|
@websocket_api.async_response
|
|
195
196
|
@async_handle_failed_command
|
|
196
197
|
@async_get_entry
|
|
197
|
-
async def websocket_begin_rebuilding_routes(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
198
|
+
async def websocket_begin_rebuilding_routes(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
198
199
|
@websocket_api.require_admin
|
|
199
200
|
@websocket_api.async_response
|
|
200
201
|
@async_get_entry
|
|
201
|
-
async def websocket_subscribe_rebuild_routes_progress(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
202
|
+
async def websocket_subscribe_rebuild_routes_progress(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
202
203
|
@websocket_api.require_admin
|
|
203
204
|
@websocket_api.async_response
|
|
204
205
|
@async_handle_failed_command
|
|
205
206
|
@async_get_entry
|
|
206
|
-
async def websocket_stop_rebuilding_routes(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
207
|
+
async def websocket_stop_rebuilding_routes(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
207
208
|
@websocket_api.require_admin
|
|
208
209
|
@websocket_api.async_response
|
|
209
210
|
@async_handle_failed_command
|
|
@@ -248,26 +249,26 @@ def filename_is_present_if_logging_to_file(obj: dict) -> dict: ...
|
|
|
248
249
|
@websocket_api.async_response
|
|
249
250
|
@async_handle_failed_command
|
|
250
251
|
@async_get_entry
|
|
251
|
-
async def websocket_subscribe_log_updates(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
252
|
+
async def websocket_subscribe_log_updates(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
252
253
|
@websocket_api.require_admin
|
|
253
254
|
@websocket_api.async_response
|
|
254
255
|
@async_handle_failed_command
|
|
255
256
|
@async_get_entry
|
|
256
|
-
async def websocket_update_log_config(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
257
|
+
async def websocket_update_log_config(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
257
258
|
@websocket_api.require_admin
|
|
258
259
|
@websocket_api.async_response
|
|
259
260
|
@async_get_entry
|
|
260
|
-
async def websocket_get_log_config(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
261
|
+
async def websocket_get_log_config(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
261
262
|
@websocket_api.require_admin
|
|
262
263
|
@websocket_api.async_response
|
|
263
264
|
@async_handle_failed_command
|
|
264
265
|
@async_get_entry
|
|
265
|
-
async def websocket_update_data_collection_preference(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
266
|
+
async def websocket_update_data_collection_preference(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
266
267
|
@websocket_api.require_admin
|
|
267
268
|
@websocket_api.async_response
|
|
268
269
|
@async_handle_failed_command
|
|
269
270
|
@async_get_entry
|
|
270
|
-
async def websocket_data_collection_status(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
271
|
+
async def websocket_data_collection_status(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
271
272
|
@websocket_api.require_admin
|
|
272
273
|
@websocket_api.async_response
|
|
273
274
|
@async_handle_failed_command
|
|
@@ -293,7 +294,7 @@ async def websocket_get_node_firmware_update_capabilities(hass: HomeAssistant, c
|
|
|
293
294
|
@websocket_api.async_response
|
|
294
295
|
@async_handle_failed_command
|
|
295
296
|
@async_get_entry
|
|
296
|
-
async def websocket_is_any_ota_firmware_update_in_progress(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
297
|
+
async def websocket_is_any_ota_firmware_update_in_progress(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
297
298
|
|
|
298
299
|
class FirmwareUploadView(HomeAssistantView):
|
|
299
300
|
url: str
|
|
@@ -307,17 +308,17 @@ class FirmwareUploadView(HomeAssistantView):
|
|
|
307
308
|
@websocket_api.async_response
|
|
308
309
|
@async_handle_failed_command
|
|
309
310
|
@async_get_entry
|
|
310
|
-
async def websocket_check_for_config_updates(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
311
|
+
async def websocket_check_for_config_updates(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
311
312
|
@websocket_api.require_admin
|
|
312
313
|
@websocket_api.async_response
|
|
313
314
|
@async_handle_failed_command
|
|
314
315
|
@async_get_entry
|
|
315
|
-
async def websocket_install_config_update(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
316
|
+
async def websocket_install_config_update(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
316
317
|
def _get_controller_statistics_dict(statistics: ControllerStatistics) -> dict[str, int]: ...
|
|
317
318
|
@websocket_api.require_admin
|
|
318
319
|
@websocket_api.async_response
|
|
319
320
|
@async_get_entry
|
|
320
|
-
async def websocket_subscribe_controller_statistics(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
321
|
+
async def websocket_subscribe_controller_statistics(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
321
322
|
def _get_node_statistics_dict(hass: HomeAssistant, statistics: NodeStatistics) -> dict[str, Any]: ...
|
|
322
323
|
@websocket_api.require_admin
|
|
323
324
|
@websocket_api.async_response
|
|
@@ -327,7 +328,7 @@ async def websocket_subscribe_node_statistics(hass: HomeAssistant, connection: A
|
|
|
327
328
|
@websocket_api.async_response
|
|
328
329
|
@async_handle_failed_command
|
|
329
330
|
@async_get_entry
|
|
330
|
-
async def websocket_hard_reset_controller(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
331
|
+
async def websocket_hard_reset_controller(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
331
332
|
@websocket_api.async_response
|
|
332
333
|
@async_handle_failed_command
|
|
333
334
|
@async_get_node
|
|
@@ -344,9 +345,9 @@ def websocket_get_integration_settings(hass: HomeAssistant, connection: ActiveCo
|
|
|
344
345
|
@websocket_api.async_response
|
|
345
346
|
@async_handle_failed_command
|
|
346
347
|
@async_get_entry
|
|
347
|
-
async def websocket_backup_nvm(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
348
|
+
async def websocket_backup_nvm(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
348
349
|
@websocket_api.require_admin
|
|
349
350
|
@websocket_api.async_response
|
|
350
351
|
@async_handle_failed_command
|
|
351
352
|
@async_get_entry
|
|
352
|
-
async def websocket_restore_nvm(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry:
|
|
353
|
+
async def websocket_restore_nvm(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any], entry: ZwaveJSConfigEntry, client: Client, driver: Driver) -> None: ...
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
from .const import
|
|
1
|
+
from .const import DOMAIN as DOMAIN
|
|
2
2
|
from .discovery import ZwaveDiscoveryInfo as ZwaveDiscoveryInfo
|
|
3
3
|
from .entity import ZWaveBaseEntity as ZWaveBaseEntity
|
|
4
|
+
from .models import ZwaveJSConfigEntry as ZwaveJSConfigEntry
|
|
4
5
|
from _typeshed import Incomplete
|
|
5
6
|
from dataclasses import dataclass
|
|
6
7
|
from homeassistant.components.binary_sensor import BinarySensorDeviceClass as BinarySensorDeviceClass, BinarySensorEntity as BinarySensorEntity, BinarySensorEntityDescription as BinarySensorEntityDescription
|
|
7
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
8
8
|
from homeassistant.const import EntityCategory as EntityCategory
|
|
9
9
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
10
10
|
from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
|
|
@@ -46,12 +46,12 @@ BOOLEAN_SENSOR_MAPPINGS: dict[tuple[int, int | str], BinarySensorEntityDescripti
|
|
|
46
46
|
|
|
47
47
|
@callback
|
|
48
48
|
def is_valid_notification_binary_sensor(info: ZwaveDiscoveryInfo) -> bool | NotificationZWaveJSEntityDescription: ...
|
|
49
|
-
async def async_setup_entry(hass: HomeAssistant, config_entry:
|
|
49
|
+
async def async_setup_entry(hass: HomeAssistant, config_entry: ZwaveJSConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
50
50
|
|
|
51
51
|
class ZWaveBooleanBinarySensor(ZWaveBaseEntity, BinarySensorEntity):
|
|
52
52
|
_attr_name: Incomplete
|
|
53
53
|
entity_description: Incomplete
|
|
54
|
-
def __init__(self, config_entry:
|
|
54
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
55
55
|
@property
|
|
56
56
|
def is_on(self) -> bool | None: ...
|
|
57
57
|
|
|
@@ -60,18 +60,18 @@ class ZWaveNotificationBinarySensor(ZWaveBaseEntity, BinarySensorEntity):
|
|
|
60
60
|
entity_description: Incomplete
|
|
61
61
|
_attr_name: Incomplete
|
|
62
62
|
_attr_unique_id: Incomplete
|
|
63
|
-
def __init__(self, config_entry:
|
|
63
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo, state_key: str, description: NotificationZWaveJSEntityDescription | None = None) -> None: ...
|
|
64
64
|
@property
|
|
65
65
|
def is_on(self) -> bool | None: ...
|
|
66
66
|
|
|
67
67
|
class ZWavePropertyBinarySensor(ZWaveBaseEntity, BinarySensorEntity):
|
|
68
68
|
entity_description: PropertyZWaveJSEntityDescription
|
|
69
69
|
_attr_name: Incomplete
|
|
70
|
-
def __init__(self, config_entry:
|
|
70
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo, description: PropertyZWaveJSEntityDescription) -> None: ...
|
|
71
71
|
@property
|
|
72
72
|
def is_on(self) -> bool | None: ...
|
|
73
73
|
|
|
74
74
|
class ZWaveConfigParameterBinarySensor(ZWaveBooleanBinarySensor):
|
|
75
75
|
_attr_entity_category: Incomplete
|
|
76
76
|
_attr_name: Incomplete
|
|
77
|
-
def __init__(self, config_entry:
|
|
77
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
from .const import
|
|
1
|
+
from .const import DOMAIN as DOMAIN, LOGGER as LOGGER
|
|
2
2
|
from .discovery import ZwaveDiscoveryInfo as ZwaveDiscoveryInfo
|
|
3
3
|
from .entity import ZWaveBaseEntity as ZWaveBaseEntity
|
|
4
4
|
from .helpers import get_device_info as get_device_info, get_valueless_base_unique_id as get_valueless_base_unique_id
|
|
5
|
+
from .models import ZwaveJSConfigEntry as ZwaveJSConfigEntry
|
|
5
6
|
from _typeshed import Incomplete
|
|
6
7
|
from homeassistant.components.button import ButtonEntity as ButtonEntity
|
|
7
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
8
8
|
from homeassistant.const import EntityCategory as EntityCategory
|
|
9
9
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
10
10
|
from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
|
|
@@ -14,11 +14,11 @@ from zwave_js_server.model.node import Node as ZwaveNode
|
|
|
14
14
|
|
|
15
15
|
PARALLEL_UPDATES: int
|
|
16
16
|
|
|
17
|
-
async def async_setup_entry(hass: HomeAssistant, config_entry:
|
|
17
|
+
async def async_setup_entry(hass: HomeAssistant, config_entry: ZwaveJSConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
18
18
|
|
|
19
19
|
class ZwaveBooleanNodeButton(ZWaveBaseEntity, ButtonEntity):
|
|
20
20
|
_attr_name: Incomplete
|
|
21
|
-
def __init__(self, config_entry:
|
|
21
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
22
22
|
async def async_press(self) -> None: ...
|
|
23
23
|
|
|
24
24
|
class ZWaveNodePingButton(ButtonEntity):
|
|
@@ -39,5 +39,5 @@ class ZWaveNotificationIdleButton(ZWaveBaseEntity, ButtonEntity):
|
|
|
39
39
|
_attr_entity_category: Incomplete
|
|
40
40
|
_attr_name: Incomplete
|
|
41
41
|
_attr_unique_id: Incomplete
|
|
42
|
-
def __init__(self, config_entry:
|
|
42
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
43
43
|
async def async_press(self) -> None: ...
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
from .const import
|
|
1
|
+
from .const import DOMAIN as DOMAIN
|
|
2
2
|
from .discovery import ZwaveDiscoveryInfo as ZwaveDiscoveryInfo
|
|
3
3
|
from .discovery_data_template import DynamicCurrentTempClimateDataTemplate as DynamicCurrentTempClimateDataTemplate
|
|
4
4
|
from .entity import ZWaveBaseEntity as ZWaveBaseEntity
|
|
5
5
|
from .helpers import get_value_of_zwave_value as get_value_of_zwave_value
|
|
6
|
+
from .models import ZwaveJSConfigEntry as ZwaveJSConfigEntry
|
|
6
7
|
from _typeshed import Incomplete
|
|
7
8
|
from homeassistant.components.climate import ATTR_HVAC_MODE as ATTR_HVAC_MODE, ATTR_TARGET_TEMP_HIGH as ATTR_TARGET_TEMP_HIGH, ATTR_TARGET_TEMP_LOW as ATTR_TARGET_TEMP_LOW, ClimateEntity as ClimateEntity, ClimateEntityFeature as ClimateEntityFeature, HVACAction as HVACAction, HVACMode as HVACMode, PRESET_NONE as PRESET_NONE
|
|
8
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
9
9
|
from homeassistant.const import ATTR_TEMPERATURE as ATTR_TEMPERATURE, PRECISION_TENTHS as PRECISION_TENTHS, UnitOfTemperature as UnitOfTemperature
|
|
10
10
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
11
11
|
from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
|
|
@@ -22,7 +22,7 @@ ZW_HVAC_MODE_MAP: dict[int, HVACMode]
|
|
|
22
22
|
HVAC_CURRENT_MAP: dict[int, HVACAction]
|
|
23
23
|
ATTR_FAN_STATE: str
|
|
24
24
|
|
|
25
|
-
async def async_setup_entry(hass: HomeAssistant, config_entry:
|
|
25
|
+
async def async_setup_entry(hass: HomeAssistant, config_entry: ZwaveJSConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
26
26
|
|
|
27
27
|
class ZWaveClimate(ZWaveBaseEntity, ClimateEntity):
|
|
28
28
|
_attr_precision = PRECISION_TENTHS
|
|
@@ -38,7 +38,7 @@ class ZWaveClimate(ZWaveBaseEntity, ClimateEntity):
|
|
|
38
38
|
_current_humidity: Incomplete
|
|
39
39
|
_fan_mode: Incomplete
|
|
40
40
|
_fan_state: Incomplete
|
|
41
|
-
def __init__(self, config_entry:
|
|
41
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
42
42
|
def _setpoint_value_or_raise(self, setpoint_type: ThermostatSetpointType) -> ZwaveValue: ...
|
|
43
43
|
def _setpoint_temperature(self, setpoint_type: ThermostatSetpointType) -> float | None: ...
|
|
44
44
|
def _set_modes_and_presets(self) -> None: ...
|
|
@@ -85,6 +85,6 @@ class ZWaveClimate(ZWaveBaseEntity, ClimateEntity):
|
|
|
85
85
|
|
|
86
86
|
class DynamicCurrentTempClimate(ZWaveClimate):
|
|
87
87
|
data_template: Incomplete
|
|
88
|
-
def __init__(self, config_entry:
|
|
88
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
89
89
|
@property
|
|
90
90
|
def current_temperature(self) -> float | None: ...
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import asyncio
|
|
2
2
|
import voluptuous as vol
|
|
3
3
|
from .addon import get_addon_manager as get_addon_manager
|
|
4
|
-
from .const import ADDON_SLUG as ADDON_SLUG, CONF_ADDON_DEVICE as CONF_ADDON_DEVICE, CONF_ADDON_LR_S2_ACCESS_CONTROL_KEY as CONF_ADDON_LR_S2_ACCESS_CONTROL_KEY, CONF_ADDON_LR_S2_AUTHENTICATED_KEY as CONF_ADDON_LR_S2_AUTHENTICATED_KEY, CONF_ADDON_NETWORK_KEY as CONF_ADDON_NETWORK_KEY, CONF_ADDON_S0_LEGACY_KEY as CONF_ADDON_S0_LEGACY_KEY, CONF_ADDON_S2_ACCESS_CONTROL_KEY as CONF_ADDON_S2_ACCESS_CONTROL_KEY, CONF_ADDON_S2_AUTHENTICATED_KEY as CONF_ADDON_S2_AUTHENTICATED_KEY, CONF_ADDON_S2_UNAUTHENTICATED_KEY as CONF_ADDON_S2_UNAUTHENTICATED_KEY, CONF_INTEGRATION_CREATED_ADDON as CONF_INTEGRATION_CREATED_ADDON, CONF_KEEP_OLD_DEVICES as CONF_KEEP_OLD_DEVICES, CONF_LR_S2_ACCESS_CONTROL_KEY as CONF_LR_S2_ACCESS_CONTROL_KEY, CONF_LR_S2_AUTHENTICATED_KEY as CONF_LR_S2_AUTHENTICATED_KEY, CONF_S0_LEGACY_KEY as CONF_S0_LEGACY_KEY, CONF_S2_ACCESS_CONTROL_KEY as CONF_S2_ACCESS_CONTROL_KEY, CONF_S2_AUTHENTICATED_KEY as CONF_S2_AUTHENTICATED_KEY, CONF_S2_UNAUTHENTICATED_KEY as CONF_S2_UNAUTHENTICATED_KEY, CONF_USB_PATH as CONF_USB_PATH, CONF_USE_ADDON as CONF_USE_ADDON,
|
|
4
|
+
from .const import ADDON_SLUG as ADDON_SLUG, CONF_ADDON_DEVICE as CONF_ADDON_DEVICE, CONF_ADDON_LR_S2_ACCESS_CONTROL_KEY as CONF_ADDON_LR_S2_ACCESS_CONTROL_KEY, CONF_ADDON_LR_S2_AUTHENTICATED_KEY as CONF_ADDON_LR_S2_AUTHENTICATED_KEY, CONF_ADDON_NETWORK_KEY as CONF_ADDON_NETWORK_KEY, CONF_ADDON_S0_LEGACY_KEY as CONF_ADDON_S0_LEGACY_KEY, CONF_ADDON_S2_ACCESS_CONTROL_KEY as CONF_ADDON_S2_ACCESS_CONTROL_KEY, CONF_ADDON_S2_AUTHENTICATED_KEY as CONF_ADDON_S2_AUTHENTICATED_KEY, CONF_ADDON_S2_UNAUTHENTICATED_KEY as CONF_ADDON_S2_UNAUTHENTICATED_KEY, CONF_INTEGRATION_CREATED_ADDON as CONF_INTEGRATION_CREATED_ADDON, CONF_KEEP_OLD_DEVICES as CONF_KEEP_OLD_DEVICES, CONF_LR_S2_ACCESS_CONTROL_KEY as CONF_LR_S2_ACCESS_CONTROL_KEY, CONF_LR_S2_AUTHENTICATED_KEY as CONF_LR_S2_AUTHENTICATED_KEY, CONF_S0_LEGACY_KEY as CONF_S0_LEGACY_KEY, CONF_S2_ACCESS_CONTROL_KEY as CONF_S2_ACCESS_CONTROL_KEY, CONF_S2_AUTHENTICATED_KEY as CONF_S2_AUTHENTICATED_KEY, CONF_S2_UNAUTHENTICATED_KEY as CONF_S2_UNAUTHENTICATED_KEY, CONF_USB_PATH as CONF_USB_PATH, CONF_USE_ADDON as CONF_USE_ADDON, DOMAIN as DOMAIN, DRIVER_READY_TIMEOUT as DRIVER_READY_TIMEOUT
|
|
5
5
|
from .helpers import CannotConnect as CannotConnect, async_get_version_info as async_get_version_info
|
|
6
|
+
from .models import ZwaveJSConfigEntry as ZwaveJSConfigEntry
|
|
6
7
|
from _typeshed import Incomplete
|
|
7
8
|
from homeassistant.components import usb as usb
|
|
8
9
|
from homeassistant.components.hassio import AddonError as AddonError, AddonInfo as AddonInfo, AddonManager as AddonManager, AddonState as AddonState
|
|
9
|
-
from homeassistant.config_entries import
|
|
10
|
+
from homeassistant.config_entries import ConfigEntryState as ConfigEntryState, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, SOURCE_USB as SOURCE_USB
|
|
10
11
|
from homeassistant.const import CONF_NAME as CONF_NAME, CONF_URL as CONF_URL
|
|
11
12
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
12
13
|
from homeassistant.data_entry_flow import AbortFlow as AbortFlow
|
|
@@ -61,7 +62,7 @@ class ZWaveJSConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
|
61
62
|
backup_filepath: Path | None
|
|
62
63
|
use_addon: bool
|
|
63
64
|
_migrating: bool
|
|
64
|
-
_reconfigure_config_entry:
|
|
65
|
+
_reconfigure_config_entry: ZwaveJSConfigEntry | None
|
|
65
66
|
_usb_discovery: bool
|
|
66
67
|
_recommended_install: bool
|
|
67
68
|
def __init__(self) -> None: ...
|
|
@@ -82,6 +83,7 @@ class ZWaveJSConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
|
82
83
|
async def async_step_zeroconf(self, discovery_info: ZeroconfServiceInfo) -> ConfigFlowResult: ...
|
|
83
84
|
async def async_step_zeroconf_confirm(self, user_input: dict | None = None) -> ConfigFlowResult: ...
|
|
84
85
|
async def async_step_usb(self, discovery_info: UsbServiceInfo) -> ConfigFlowResult: ...
|
|
86
|
+
async def async_step_confirm_usb_migration(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
85
87
|
async def async_step_manual(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
86
88
|
async def async_step_hassio(self, discovery_info: HassioServiceInfo) -> ConfigFlowResult: ...
|
|
87
89
|
async def async_step_hassio_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
from .const import COVER_POSITION_PROPERTY_KEYS as COVER_POSITION_PROPERTY_KEYS, COVER_TILT_PROPERTY_KEYS as COVER_TILT_PROPERTY_KEYS,
|
|
1
|
+
from .const import COVER_POSITION_PROPERTY_KEYS as COVER_POSITION_PROPERTY_KEYS, COVER_TILT_PROPERTY_KEYS as COVER_TILT_PROPERTY_KEYS, DOMAIN as DOMAIN
|
|
2
2
|
from .discovery import ZwaveDiscoveryInfo as ZwaveDiscoveryInfo
|
|
3
3
|
from .discovery_data_template import CoverTiltDataTemplate as CoverTiltDataTemplate
|
|
4
4
|
from .entity import ZWaveBaseEntity as ZWaveBaseEntity
|
|
5
|
+
from .models import ZwaveJSConfigEntry as ZwaveJSConfigEntry
|
|
5
6
|
from _typeshed import Incomplete
|
|
6
7
|
from homeassistant.components.cover import ATTR_POSITION as ATTR_POSITION, ATTR_TILT_POSITION as ATTR_TILT_POSITION, CoverDeviceClass as CoverDeviceClass, CoverEntity as CoverEntity, CoverEntityFeature as CoverEntityFeature
|
|
7
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
8
8
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
9
9
|
from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
|
|
10
10
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
@@ -14,7 +14,7 @@ from zwave_js_server.model.value import Value as ZwaveValue
|
|
|
14
14
|
|
|
15
15
|
PARALLEL_UPDATES: int
|
|
16
16
|
|
|
17
|
-
async def async_setup_entry(hass: HomeAssistant, config_entry:
|
|
17
|
+
async def async_setup_entry(hass: HomeAssistant, config_entry: ZwaveJSConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
18
18
|
|
|
19
19
|
class CoverPositionMixin(ZWaveBaseEntity, CoverEntity):
|
|
20
20
|
_current_position_value: ZwaveValue | None
|
|
@@ -62,17 +62,17 @@ class CoverTiltMixin(ZWaveBaseEntity, CoverEntity):
|
|
|
62
62
|
|
|
63
63
|
class ZWaveMultilevelSwitchCover(CoverPositionMixin):
|
|
64
64
|
_attr_device_class: Incomplete
|
|
65
|
-
def __init__(self, config_entry:
|
|
65
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
66
66
|
|
|
67
67
|
class ZWaveTiltCover(ZWaveMultilevelSwitchCover, CoverTiltMixin):
|
|
68
|
-
def __init__(self, config_entry:
|
|
68
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
69
69
|
|
|
70
70
|
class ZWaveWindowCovering(CoverPositionMixin, CoverTiltMixin):
|
|
71
71
|
_up_value: Incomplete
|
|
72
72
|
_down_value: Incomplete
|
|
73
73
|
_attr_name: Incomplete
|
|
74
74
|
_attr_device_class: Incomplete
|
|
75
|
-
def __init__(self, config_entry:
|
|
75
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
76
76
|
@property
|
|
77
77
|
def _fully_open_tilt(self) -> int: ...
|
|
78
78
|
@property
|
|
@@ -87,7 +87,7 @@ class ZwaveMotorizedBarrier(ZWaveBaseEntity, CoverEntity):
|
|
|
87
87
|
_attr_supported_features: Incomplete
|
|
88
88
|
_attr_device_class: Incomplete
|
|
89
89
|
_target_state: Incomplete
|
|
90
|
-
def __init__(self, config_entry:
|
|
90
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
91
91
|
@property
|
|
92
92
|
def is_opening(self) -> bool | None: ...
|
|
93
93
|
@property
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from .const import
|
|
1
|
+
from .const import DOMAIN as DOMAIN
|
|
2
2
|
from _typeshed import Incomplete
|
|
3
3
|
from homeassistant.config_entries import ConfigEntryState as ConfigEntryState
|
|
4
4
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
from .const import
|
|
1
|
+
from .const import USER_AGENT as USER_AGENT
|
|
2
2
|
from .helpers import ZwaveValueMatcher as ZwaveValueMatcher, get_home_and_node_id_from_device_entry as get_home_and_node_id_from_device_entry, get_state_key_from_unique_id as get_state_key_from_unique_id, get_value_id_from_unique_id as get_value_id_from_unique_id, value_matches_matcher as value_matches_matcher
|
|
3
|
+
from .models import ZwaveJSConfigEntry as ZwaveJSConfigEntry
|
|
3
4
|
from _typeshed import Incomplete
|
|
4
5
|
from homeassistant.components.diagnostics import REDACTED as REDACTED, async_redact_data as async_redact_data
|
|
5
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
6
6
|
from homeassistant.const import CONF_URL as CONF_URL
|
|
7
7
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
8
8
|
from homeassistant.helpers import device_registry as dr
|
|
@@ -18,6 +18,6 @@ VALUES_TO_REDACT: Incomplete
|
|
|
18
18
|
def _redacted_value(zwave_value: ValueDataType) -> ValueDataType: ...
|
|
19
19
|
def optionally_redact_value_of_zwave_value(zwave_value: ValueDataType) -> ValueDataType: ...
|
|
20
20
|
def redact_node_state(node_state: dict) -> dict: ...
|
|
21
|
-
def get_device_entities(hass: HomeAssistant, node: Node, config_entry:
|
|
22
|
-
async def async_get_config_entry_diagnostics(hass: HomeAssistant, config_entry:
|
|
23
|
-
async def async_get_device_diagnostics(hass: HomeAssistant, config_entry:
|
|
21
|
+
def get_device_entities(hass: HomeAssistant, node: Node, config_entry: ZwaveJSConfigEntry, device: dr.DeviceEntry) -> list[dict[str, Any]]: ...
|
|
22
|
+
async def async_get_config_entry_diagnostics(hass: HomeAssistant, config_entry: ZwaveJSConfigEntry) -> dict[str, Any]: ...
|
|
23
|
+
async def async_get_device_diagnostics(hass: HomeAssistant, config_entry: ZwaveJSConfigEntry, device: dr.DeviceEntry) -> dict[str, Any]: ...
|
|
@@ -15,8 +15,6 @@ from zwave_js_server.model.driver import Driver as Driver
|
|
|
15
15
|
from zwave_js_server.model.value import SetValueResult as SetValueResult, Value as ZwaveValue
|
|
16
16
|
|
|
17
17
|
EVENT_VALUE_REMOVED: str
|
|
18
|
-
EVENT_DEAD: str
|
|
19
|
-
EVENT_ALIVE: str
|
|
20
18
|
|
|
21
19
|
class ZWaveBaseEntity(Entity):
|
|
22
20
|
_attr_should_poll: bool
|
|
@@ -41,8 +39,6 @@ class ZWaveBaseEntity(Entity):
|
|
|
41
39
|
@property
|
|
42
40
|
def available(self) -> bool: ...
|
|
43
41
|
@callback
|
|
44
|
-
def _node_status_alive_or_dead(self, event_data: dict) -> None: ...
|
|
45
|
-
@callback
|
|
46
42
|
def _value_changed(self, event_data: dict) -> None: ...
|
|
47
43
|
@callback
|
|
48
44
|
def _value_removed(self, event_data: dict) -> None: ...
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
from .const import ATTR_VALUE as ATTR_VALUE,
|
|
1
|
+
from .const import ATTR_VALUE as ATTR_VALUE, DOMAIN as DOMAIN
|
|
2
2
|
from .discovery import ZwaveDiscoveryInfo as ZwaveDiscoveryInfo
|
|
3
3
|
from .entity import ZWaveBaseEntity as ZWaveBaseEntity
|
|
4
|
+
from .models import ZwaveJSConfigEntry as ZwaveJSConfigEntry
|
|
4
5
|
from _typeshed import Incomplete
|
|
5
6
|
from homeassistant.components.event import EventEntity as EventEntity
|
|
6
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
7
7
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
8
8
|
from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
|
|
9
9
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
@@ -12,14 +12,14 @@ from zwave_js_server.model.value import Value as Value, ValueNotification as Val
|
|
|
12
12
|
|
|
13
13
|
PARALLEL_UPDATES: int
|
|
14
14
|
|
|
15
|
-
async def async_setup_entry(hass: HomeAssistant, config_entry:
|
|
15
|
+
async def async_setup_entry(hass: HomeAssistant, config_entry: ZwaveJSConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
16
16
|
def _cc_and_label(value: Value) -> str: ...
|
|
17
17
|
|
|
18
18
|
class ZwaveEventEntity(ZWaveBaseEntity, EventEntity):
|
|
19
19
|
states: dict[int, str]
|
|
20
20
|
_attr_event_types: Incomplete
|
|
21
21
|
_attr_name: Incomplete
|
|
22
|
-
def __init__(self, config_entry:
|
|
22
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
23
23
|
@callback
|
|
24
24
|
def _async_handle_event(self, value_notification: ValueNotification) -> None: ...
|
|
25
25
|
async def async_added_to_hass(self) -> None: ...
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
from .const import
|
|
1
|
+
from .const import DOMAIN as DOMAIN
|
|
2
2
|
from .discovery import ZwaveDiscoveryInfo as ZwaveDiscoveryInfo
|
|
3
3
|
from .discovery_data_template import FanValueMapping as FanValueMapping, FanValueMappingDataTemplate as FanValueMappingDataTemplate
|
|
4
4
|
from .entity import ZWaveBaseEntity as ZWaveBaseEntity
|
|
5
5
|
from .helpers import get_value_of_zwave_value as get_value_of_zwave_value
|
|
6
|
+
from .models import ZwaveJSConfigEntry as ZwaveJSConfigEntry
|
|
6
7
|
from _typeshed import Incomplete
|
|
7
8
|
from homeassistant.components.fan import FanEntity as FanEntity, FanEntityFeature as FanEntityFeature
|
|
8
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
9
9
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
10
10
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
11
11
|
from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
|
|
@@ -19,13 +19,13 @@ PARALLEL_UPDATES: int
|
|
|
19
19
|
DEFAULT_SPEED_RANGE: Incomplete
|
|
20
20
|
ATTR_FAN_STATE: str
|
|
21
21
|
|
|
22
|
-
async def async_setup_entry(hass: HomeAssistant, config_entry:
|
|
22
|
+
async def async_setup_entry(hass: HomeAssistant, config_entry: ZwaveJSConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
23
23
|
|
|
24
24
|
class ZwaveFan(ZWaveBaseEntity, FanEntity):
|
|
25
25
|
_attr_supported_features: Incomplete
|
|
26
26
|
_target_value: Incomplete
|
|
27
27
|
_use_optimistic_state: bool
|
|
28
|
-
def __init__(self, config_entry:
|
|
28
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
29
29
|
async def async_set_percentage(self, percentage: int) -> None: ...
|
|
30
30
|
async def async_turn_on(self, percentage: int | None = None, preset_mode: str | None = None, **kwargs: Any) -> None: ...
|
|
31
31
|
async def async_turn_off(self, **kwargs: Any) -> None: ...
|
|
@@ -38,7 +38,7 @@ class ZwaveFan(ZWaveBaseEntity, FanEntity):
|
|
|
38
38
|
|
|
39
39
|
class ValueMappingZwaveFan(ZwaveFan):
|
|
40
40
|
data_template: Incomplete
|
|
41
|
-
def __init__(self, config_entry:
|
|
41
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
42
42
|
async def async_set_percentage(self, percentage: int) -> None: ...
|
|
43
43
|
async def async_set_preset_mode(self, preset_mode: str) -> None: ...
|
|
44
44
|
@property
|
|
@@ -66,7 +66,7 @@ class ZwaveThermostatFan(ZWaveBaseEntity, FanEntity):
|
|
|
66
66
|
_fan_mode: ZwaveValue
|
|
67
67
|
_fan_off: ZwaveValue | None
|
|
68
68
|
_fan_state: ZwaveValue | None
|
|
69
|
-
def __init__(self, config_entry:
|
|
69
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
70
70
|
async def async_turn_on(self, percentage: int | None = None, preset_mode: str | None = None, **kwargs: Any) -> None: ...
|
|
71
71
|
async def async_turn_off(self, **kwargs: Any) -> None: ...
|
|
72
72
|
@property
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import logging
|
|
2
2
|
import voluptuous as vol
|
|
3
|
-
from .const import ATTR_COMMAND_CLASS as ATTR_COMMAND_CLASS, ATTR_ENDPOINT as ATTR_ENDPOINT, ATTR_PROPERTY as ATTR_PROPERTY, ATTR_PROPERTY_KEY as ATTR_PROPERTY_KEY,
|
|
3
|
+
from .const import ATTR_COMMAND_CLASS as ATTR_COMMAND_CLASS, ATTR_ENDPOINT as ATTR_ENDPOINT, ATTR_PROPERTY as ATTR_PROPERTY, ATTR_PROPERTY_KEY as ATTR_PROPERTY_KEY, DOMAIN as DOMAIN, LIB_LOGGER as LIB_LOGGER, LOGGER as LOGGER
|
|
4
|
+
from .models import ZwaveJSConfigEntry as ZwaveJSConfigEntry
|
|
4
5
|
from collections.abc import Callable as Callable
|
|
5
6
|
from dataclasses import dataclass
|
|
6
|
-
from homeassistant.config_entries import
|
|
7
|
+
from homeassistant.config_entries import ConfigEntryState as ConfigEntryState
|
|
7
8
|
from homeassistant.const import ATTR_AREA_ID as ATTR_AREA_ID, ATTR_DEVICE_ID as ATTR_DEVICE_ID, ATTR_ENTITY_ID as ATTR_ENTITY_ID, CONF_TYPE as CONF_TYPE
|
|
8
9
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
9
10
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
@@ -41,8 +42,8 @@ def get_value_id_from_unique_id(unique_id: str) -> str | None: ...
|
|
|
41
42
|
def get_state_key_from_unique_id(unique_id: str) -> int | None: ...
|
|
42
43
|
def get_value_of_zwave_value(value: ZwaveValue | None) -> Any | None: ...
|
|
43
44
|
async def async_enable_statistics(driver: Driver) -> None: ...
|
|
44
|
-
async def async_enable_server_logging_if_needed(hass: HomeAssistant, entry:
|
|
45
|
-
async def async_disable_server_logging_if_needed(hass: HomeAssistant, entry:
|
|
45
|
+
async def async_enable_server_logging_if_needed(hass: HomeAssistant, entry: ZwaveJSConfigEntry, driver: Driver) -> None: ...
|
|
46
|
+
async def async_disable_server_logging_if_needed(hass: HomeAssistant, entry: ZwaveJSConfigEntry, driver: Driver) -> None: ...
|
|
46
47
|
def get_valueless_base_unique_id(driver: Driver, node: ZwaveNode) -> str: ...
|
|
47
48
|
def get_unique_id(driver: Driver, value_id: str) -> str: ...
|
|
48
49
|
def get_device_id(driver: Driver, node: ZwaveNode) -> tuple[str, str]: ...
|
|
@@ -66,7 +67,7 @@ def check_type_schema_map(schema_map: dict[str, vol.Schema]) -> Callable[[Config
|
|
|
66
67
|
def copy_available_params(input_dict: dict[str, Any], output_dict: dict[str, Any], params: list[str]) -> None: ...
|
|
67
68
|
def get_value_state_schema(value: ZwaveValue) -> VolSchemaType | vol.Coerce | vol.In | None: ...
|
|
68
69
|
def get_device_info(driver: Driver, node: ZwaveNode) -> DeviceInfo: ...
|
|
69
|
-
def get_network_identifier_for_notification(hass: HomeAssistant, config_entry:
|
|
70
|
+
def get_network_identifier_for_notification(hass: HomeAssistant, config_entry: ZwaveJSConfigEntry, controller: Controller) -> str: ...
|
|
70
71
|
async def async_get_version_info(hass: HomeAssistant, ws_address: str) -> VersionInfo: ...
|
|
71
72
|
|
|
72
73
|
class CannotConnect(HomeAssistantError): ...
|