homeassistant-stubs 2025.7.4__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/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/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 -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/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 +4 -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/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.4.dist-info → homeassistant_stubs-2025.8.0b0.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2025.7.4.dist-info → homeassistant_stubs-2025.8.0b0.dist-info}/RECORD +477 -409
- 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.0b0.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2025.7.4.dist-info → homeassistant_stubs-2025.8.0b0.dist-info}/licenses/LICENSE +0 -0
|
@@ -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: ...
|
|
@@ -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]: ...
|
|
@@ -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): ...
|
|
@@ -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.humidifier import DEFAULT_MAX_HUMIDITY as DEFAULT_MAX_HUMIDITY, DEFAULT_MIN_HUMIDITY as DEFAULT_MIN_HUMIDITY, HumidifierDeviceClass as HumidifierDeviceClass, HumidifierEntity as HumidifierEntity, HumidifierEntityDescription as HumidifierEntityDescription
|
|
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
|
|
@@ -24,7 +24,7 @@ class ZwaveHumidifierEntityDescription(HumidifierEntityDescription):
|
|
|
24
24
|
HUMIDIFIER_ENTITY_DESCRIPTION: Incomplete
|
|
25
25
|
DEHUMIDIFIER_ENTITY_DESCRIPTION: Incomplete
|
|
26
26
|
|
|
27
|
-
async def async_setup_entry(hass: HomeAssistant, config_entry:
|
|
27
|
+
async def async_setup_entry(hass: HomeAssistant, config_entry: ZwaveJSConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
28
28
|
|
|
29
29
|
class ZWaveHumidifier(ZWaveBaseEntity, HumidifierEntity):
|
|
30
30
|
entity_description: ZwaveHumidifierEntityDescription
|
|
@@ -32,7 +32,7 @@ class ZWaveHumidifier(ZWaveBaseEntity, HumidifierEntity):
|
|
|
32
32
|
_setpoint: ZwaveValue | None
|
|
33
33
|
_attr_name: Incomplete
|
|
34
34
|
_attr_unique_id: Incomplete
|
|
35
|
-
def __init__(self, config_entry:
|
|
35
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo, description: ZwaveHumidifierEntityDescription) -> None: ...
|
|
36
36
|
@property
|
|
37
37
|
def is_on(self) -> bool | None: ...
|
|
38
38
|
def _supports_inverse_mode(self) -> bool: ...
|
|
@@ -1,9 +1,9 @@
|
|
|
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 homeassistant.components.light import ATTR_BRIGHTNESS as ATTR_BRIGHTNESS, ATTR_COLOR_TEMP_KELVIN as ATTR_COLOR_TEMP_KELVIN, ATTR_HS_COLOR as ATTR_HS_COLOR, ATTR_RGBW_COLOR as ATTR_RGBW_COLOR, ATTR_TRANSITION as ATTR_TRANSITION, ColorMode as ColorMode, LightEntity as LightEntity, LightEntityFeature as LightEntityFeature
|
|
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
|
|
@@ -17,7 +17,7 @@ MULTI_COLOR_MAP: Incomplete
|
|
|
17
17
|
MIN_MIREDS: int
|
|
18
18
|
MAX_MIREDS: int
|
|
19
19
|
|
|
20
|
-
async def async_setup_entry(hass: HomeAssistant, config_entry:
|
|
20
|
+
async def async_setup_entry(hass: HomeAssistant, config_entry: ZwaveJSConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
21
21
|
def byte_to_zwave_brightness(value: int) -> int: ...
|
|
22
22
|
|
|
23
23
|
class ZwaveLight(ZWaveBaseEntity, LightEntity):
|
|
@@ -41,7 +41,7 @@ class ZwaveLight(ZWaveBaseEntity, LightEntity):
|
|
|
41
41
|
supports_brightness_transition: Incomplete
|
|
42
42
|
supports_color_transition: Incomplete
|
|
43
43
|
_set_optimistic_state: bool
|
|
44
|
-
def __init__(self, config_entry:
|
|
44
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
45
45
|
@callback
|
|
46
46
|
def on_value_update(self) -> None: ...
|
|
47
47
|
@property
|
|
@@ -73,8 +73,18 @@ class ZwaveLight(ZWaveBaseEntity, LightEntity):
|
|
|
73
73
|
class ZwaveColorOnOffLight(ZwaveLight):
|
|
74
74
|
_last_on_color: dict[ColorComponent, int] | None
|
|
75
75
|
_last_brightness: int | None
|
|
76
|
-
def __init__(self, config_entry:
|
|
76
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
77
77
|
@property
|
|
78
78
|
def brightness(self) -> int | None: ...
|
|
79
79
|
async def async_turn_on(self, **kwargs: Any) -> None: ...
|
|
80
80
|
async def async_turn_off(self, **kwargs: Any) -> None: ...
|
|
81
|
+
|
|
82
|
+
class ZWA2LEDColorLight(ZwaveColorOnOffLight):
|
|
83
|
+
_attr_has_entity_name: bool
|
|
84
|
+
_attr_name: str
|
|
85
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
86
|
+
|
|
87
|
+
class ZWA2LEDOnOffLight(ZwaveLight):
|
|
88
|
+
_attr_has_entity_name: bool
|
|
89
|
+
_attr_name: str
|
|
90
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
from .const import ATTR_AUTO_RELOCK_TIME as ATTR_AUTO_RELOCK_TIME, ATTR_BLOCK_TO_BLOCK as ATTR_BLOCK_TO_BLOCK, ATTR_HOLD_AND_RELEASE_TIME as ATTR_HOLD_AND_RELEASE_TIME, ATTR_LOCK_TIMEOUT as ATTR_LOCK_TIMEOUT, ATTR_OPERATION_TYPE as ATTR_OPERATION_TYPE, ATTR_TWIST_ASSIST as ATTR_TWIST_ASSIST,
|
|
1
|
+
from .const import ATTR_AUTO_RELOCK_TIME as ATTR_AUTO_RELOCK_TIME, ATTR_BLOCK_TO_BLOCK as ATTR_BLOCK_TO_BLOCK, ATTR_HOLD_AND_RELEASE_TIME as ATTR_HOLD_AND_RELEASE_TIME, ATTR_LOCK_TIMEOUT as ATTR_LOCK_TIMEOUT, ATTR_OPERATION_TYPE as ATTR_OPERATION_TYPE, ATTR_TWIST_ASSIST as ATTR_TWIST_ASSIST, DOMAIN as DOMAIN, LOGGER as LOGGER, SERVICE_CLEAR_LOCK_USERCODE as SERVICE_CLEAR_LOCK_USERCODE, SERVICE_SET_LOCK_CONFIGURATION as SERVICE_SET_LOCK_CONFIGURATION, SERVICE_SET_LOCK_USERCODE as SERVICE_SET_LOCK_USERCODE
|
|
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.lock import LockEntity as LockEntity, LockState as LockState
|
|
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.exceptions import HomeAssistantError as HomeAssistantError
|
|
9
9
|
from homeassistant.helpers import entity_platform as entity_platform
|
|
@@ -16,7 +16,7 @@ PARALLEL_UPDATES: int
|
|
|
16
16
|
STATE_TO_ZWAVE_MAP: dict[int, dict[str, int | bool]]
|
|
17
17
|
UNIT16_SCHEMA: Incomplete
|
|
18
18
|
|
|
19
|
-
async def async_setup_entry(hass: HomeAssistant, config_entry:
|
|
19
|
+
async def async_setup_entry(hass: HomeAssistant, config_entry: ZwaveJSConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
20
20
|
|
|
21
21
|
class ZWaveLock(ZWaveBaseEntity, LockEntity):
|
|
22
22
|
@property
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from . import DriverEvents as DriverEvents
|
|
2
|
+
from dataclasses import dataclass
|
|
3
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
4
|
+
from zwave_js_server.client import Client as ZwaveClient
|
|
5
|
+
from zwave_js_server.const import LogLevel as LogLevel
|
|
6
|
+
|
|
7
|
+
@dataclass
|
|
8
|
+
class ZwaveJSData:
|
|
9
|
+
client: ZwaveClient
|
|
10
|
+
driver_events: DriverEvents
|
|
11
|
+
old_server_log_level: LogLevel | None = ...
|
|
12
|
+
type ZwaveJSConfigEntry = ConfigEntry[ZwaveJSData]
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
from .const import ATTR_RESERVED_VALUES as ATTR_RESERVED_VALUES,
|
|
1
|
+
from .const import ATTR_RESERVED_VALUES as ATTR_RESERVED_VALUES, 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 collections.abc import Mapping
|
|
6
7
|
from homeassistant.components.number import NumberEntity as NumberEntity
|
|
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.exceptions import HomeAssistantError as HomeAssistantError
|
|
@@ -16,12 +16,12 @@ from zwave_js_server.model.value import Value as Value
|
|
|
16
16
|
|
|
17
17
|
PARALLEL_UPDATES: int
|
|
18
18
|
|
|
19
|
-
async def async_setup_entry(hass: HomeAssistant, config_entry:
|
|
19
|
+
async def async_setup_entry(hass: HomeAssistant, config_entry: ZwaveJSConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
20
20
|
|
|
21
21
|
class ZwaveNumberEntity(ZWaveBaseEntity, NumberEntity):
|
|
22
22
|
_target_value: Value | None
|
|
23
23
|
_attr_name: Incomplete
|
|
24
|
-
def __init__(self, config_entry:
|
|
24
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
25
25
|
@property
|
|
26
26
|
def native_min_value(self) -> float: ...
|
|
27
27
|
@property
|
|
@@ -35,7 +35,7 @@ class ZwaveNumberEntity(ZWaveBaseEntity, NumberEntity):
|
|
|
35
35
|
class ZWaveConfigParameterNumberEntity(ZwaveNumberEntity):
|
|
36
36
|
_attr_entity_category: Incomplete
|
|
37
37
|
_attr_name: Incomplete
|
|
38
|
-
def __init__(self, config_entry:
|
|
38
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
39
39
|
@property
|
|
40
40
|
def extra_state_attributes(self) -> Mapping[str, Any] | None: ...
|
|
41
41
|
|
|
@@ -45,7 +45,7 @@ class ZwaveVolumeNumberEntity(ZWaveBaseEntity, NumberEntity):
|
|
|
45
45
|
_attr_native_max_value: int
|
|
46
46
|
_attr_native_step: float
|
|
47
47
|
_attr_name: Incomplete
|
|
48
|
-
def __init__(self, config_entry:
|
|
48
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
49
49
|
@property
|
|
50
50
|
def native_value(self) -> float | None: ...
|
|
51
51
|
async def async_set_native_value(self, value: float) -> None: ...
|
|
@@ -1,9 +1,9 @@
|
|
|
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 homeassistant.components.select import SelectEntity as SelectEntity
|
|
6
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
7
7
|
from homeassistant.const import EntityCategory as EntityCategory
|
|
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
|
|
@@ -12,32 +12,32 @@ from zwave_js_server.model.driver import Driver as Driver
|
|
|
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
|
|
|
17
17
|
class ZwaveSelectEntity(ZWaveBaseEntity, SelectEntity):
|
|
18
18
|
_attr_entity_category: Incomplete
|
|
19
19
|
_attr_name: Incomplete
|
|
20
20
|
_attr_options: Incomplete
|
|
21
|
-
def __init__(self, config_entry:
|
|
21
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
22
22
|
@property
|
|
23
23
|
def current_option(self) -> str | None: ...
|
|
24
24
|
async def async_select_option(self, option: str) -> None: ...
|
|
25
25
|
|
|
26
26
|
class ZWaveDoorLockSelectEntity(ZwaveSelectEntity):
|
|
27
27
|
_target_value: Incomplete
|
|
28
|
-
def __init__(self, config_entry:
|
|
28
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
29
29
|
async def async_select_option(self, option: str) -> None: ...
|
|
30
30
|
|
|
31
31
|
class ZWaveConfigParameterSelectEntity(ZwaveSelectEntity):
|
|
32
32
|
_attr_entity_category: Incomplete
|
|
33
33
|
_attr_name: Incomplete
|
|
34
|
-
def __init__(self, config_entry:
|
|
34
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
35
35
|
|
|
36
36
|
class ZwaveDefaultToneSelectEntity(ZWaveBaseEntity, SelectEntity):
|
|
37
37
|
_attr_entity_category: Incomplete
|
|
38
38
|
_tones_value: Incomplete
|
|
39
39
|
_attr_name: Incomplete
|
|
40
|
-
def __init__(self, config_entry:
|
|
40
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
41
41
|
@property
|
|
42
42
|
def options(self) -> list[str]: ...
|
|
43
43
|
@property
|
|
@@ -48,7 +48,7 @@ class ZwaveMultilevelSwitchSelectEntity(ZWaveBaseEntity, SelectEntity):
|
|
|
48
48
|
_target_value: Incomplete
|
|
49
49
|
_lookup_map: Incomplete
|
|
50
50
|
_attr_options: Incomplete
|
|
51
|
-
def __init__(self, config_entry:
|
|
51
|
+
def __init__(self, config_entry: ZwaveJSConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
|
52
52
|
@property
|
|
53
53
|
def current_option(self) -> str | None: ...
|
|
54
54
|
async def async_select_option(self, option: str) -> None: ...
|