homeassistant-stubs 2025.5.3__py3-none-any.whl → 2025.6.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- homeassistant-stubs/components/airthings/sensor.pyi +1 -1
- homeassistant-stubs/components/alexa_devices/__init__.pyi +9 -0
- homeassistant-stubs/components/alexa_devices/binary_sensor.pyi +26 -0
- homeassistant-stubs/components/alexa_devices/config_flow.pyi +8 -0
- homeassistant-stubs/components/alexa_devices/const.pyi +5 -0
- homeassistant-stubs/components/alexa_devices/coordinator.pyi +17 -0
- homeassistant-stubs/components/alexa_devices/diagnostics.pyi +14 -0
- homeassistant-stubs/components/alexa_devices/entity.pyi +19 -0
- homeassistant-stubs/components/alexa_devices/notify.pyi +25 -0
- homeassistant-stubs/components/alexa_devices/switch.pyi +30 -0
- homeassistant-stubs/components/apcupsd/config_flow.pyi +1 -0
- homeassistant-stubs/components/assist_pipeline/pipeline.pyi +3 -1
- homeassistant-stubs/components/axis/config_flow.pyi +2 -2
- homeassistant-stubs/components/axis/entity.pyi +1 -0
- homeassistant-stubs/components/backup/__init__.pyi +2 -2
- homeassistant-stubs/components/backup/coordinator.pyi +3 -0
- homeassistant-stubs/components/backup/entity.pyi +5 -2
- homeassistant-stubs/components/backup/event.pyi +23 -0
- homeassistant-stubs/components/backup/manager.pyi +22 -3
- homeassistant-stubs/components/backup/models.pyi +2 -2
- homeassistant-stubs/components/blue_current/button.pyi +25 -0
- homeassistant-stubs/components/blue_current/entity.pyi +3 -6
- homeassistant-stubs/components/bluesound/button.pyi +35 -0
- homeassistant-stubs/components/bluesound/media_player.pyi +1 -0
- homeassistant-stubs/components/bmw_connected_drive/button.pyi +1 -1
- homeassistant-stubs/components/bmw_connected_drive/coordinator.pyi +1 -1
- homeassistant-stubs/components/bmw_connected_drive/lock.pyi +1 -1
- homeassistant-stubs/components/bmw_connected_drive/notify.pyi +1 -1
- homeassistant-stubs/components/bmw_connected_drive/number.pyi +1 -1
- homeassistant-stubs/components/bmw_connected_drive/select.pyi +1 -1
- homeassistant-stubs/components/bmw_connected_drive/switch.pyi +1 -1
- homeassistant-stubs/components/bosch_alarm/__init__.pyi +8 -4
- homeassistant-stubs/components/bosch_alarm/alarm_control_panel.pyi +3 -1
- homeassistant-stubs/components/bosch_alarm/binary_sensor.pyi +45 -0
- homeassistant-stubs/components/bosch_alarm/config_flow.pyi +9 -3
- homeassistant-stubs/components/bosch_alarm/const.pyi +4 -1
- homeassistant-stubs/components/bosch_alarm/diagnostics.pyi +1 -1
- homeassistant-stubs/components/bosch_alarm/entity.pyi +30 -1
- homeassistant-stubs/components/bosch_alarm/sensor.pyi +6 -2
- homeassistant-stubs/components/bosch_alarm/services.pyi +15 -0
- homeassistant-stubs/components/bosch_alarm/switch.pyi +43 -0
- homeassistant-stubs/components/bosch_alarm/types.pyi +4 -0
- homeassistant-stubs/components/bring/__init__.pyi +1 -1
- homeassistant-stubs/components/bring/coordinator.pyi +21 -3
- homeassistant-stubs/components/bring/entity.pyi +3 -3
- homeassistant-stubs/components/bring/event.pyi +3 -2
- homeassistant-stubs/components/bring/sensor.pyi +1 -0
- homeassistant-stubs/components/bring/todo.pyi +1 -0
- homeassistant-stubs/components/camera/__init__.pyi +2 -10
- homeassistant-stubs/components/camera/webrtc.pyi +1 -22
- homeassistant-stubs/components/climate/__init__.pyi +3 -13
- homeassistant-stubs/components/climate/const.pyi +0 -3
- homeassistant-stubs/components/climate/significant_change.pyi +1 -1
- homeassistant-stubs/components/cloud/__init__.pyi +1 -1
- homeassistant-stubs/components/cloud/alexa_config.pyi +1 -1
- homeassistant-stubs/components/cloud/client.pyi +2 -1
- homeassistant-stubs/components/cloud/const.pyi +0 -1
- homeassistant-stubs/components/cloud/google_config.pyi +1 -1
- homeassistant-stubs/components/cloud/http_api.pyi +0 -2
- homeassistant-stubs/components/comelit/climate.pyi +14 -5
- homeassistant-stubs/components/comelit/config_flow.pyi +3 -4
- homeassistant-stubs/components/comelit/const.pyi +3 -0
- homeassistant-stubs/components/comelit/cover.pyi +3 -1
- homeassistant-stubs/components/comelit/humidifier.pyi +6 -1
- homeassistant-stubs/components/comelit/light.pyi +2 -0
- homeassistant-stubs/components/comelit/switch.pyi +2 -0
- homeassistant-stubs/components/comelit/utils.pyi +11 -0
- homeassistant-stubs/components/command_line/notify.pyi +3 -1
- homeassistant-stubs/components/config/entity_registry.pyi +6 -0
- homeassistant-stubs/components/deconz/entity.pyi +1 -0
- homeassistant-stubs/components/deconz/hub/hub.pyi +1 -1
- homeassistant-stubs/components/deconz/light.pyi +1 -1
- homeassistant-stubs/components/demo/media_player.pyi +2 -1
- homeassistant-stubs/components/derivative/__init__.pyi +2 -1
- homeassistant-stubs/components/device_automation/trigger.pyi +5 -2
- homeassistant-stubs/components/devolo_home_network/__init__.pyi +3 -18
- homeassistant-stubs/components/devolo_home_network/binary_sensor.pyi +1 -2
- homeassistant-stubs/components/devolo_home_network/button.pyi +1 -1
- homeassistant-stubs/components/devolo_home_network/config_flow.pyi +1 -1
- homeassistant-stubs/components/devolo_home_network/coordinator.pyi +56 -6
- homeassistant-stubs/components/devolo_home_network/device_tracker.pyi +1 -2
- homeassistant-stubs/components/devolo_home_network/diagnostics.pyi +1 -1
- homeassistant-stubs/components/devolo_home_network/entity.pyi +1 -2
- homeassistant-stubs/components/devolo_home_network/image.pyi +1 -2
- homeassistant-stubs/components/devolo_home_network/sensor.pyi +1 -2
- homeassistant-stubs/components/devolo_home_network/switch.pyi +1 -2
- homeassistant-stubs/components/devolo_home_network/update.pyi +1 -2
- homeassistant-stubs/components/dhcp/__init__.pyi +2 -0
- homeassistant-stubs/components/downloader/__init__.pyi +3 -4
- homeassistant-stubs/components/downloader/services.pyi +7 -0
- homeassistant-stubs/components/ecovacs/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/ecovacs/button.pyi +2 -2
- homeassistant-stubs/components/ecovacs/number.pyi +1 -1
- homeassistant-stubs/components/ecovacs/select.pyi +1 -1
- homeassistant-stubs/components/ecovacs/sensor.pyi +1 -1
- homeassistant-stubs/components/ecovacs/switch.pyi +1 -1
- homeassistant-stubs/components/ecovacs/util.pyi +1 -1
- homeassistant-stubs/components/eheimdigital/climate.pyi +4 -2
- homeassistant-stubs/components/eheimdigital/diagnostics.pyi +9 -0
- homeassistant-stubs/components/eheimdigital/entity.pyi +5 -0
- homeassistant-stubs/components/eheimdigital/light.pyi +3 -2
- homeassistant-stubs/components/eheimdigital/number.pyi +3 -1
- homeassistant-stubs/components/eheimdigital/select.pyi +34 -0
- homeassistant-stubs/components/eheimdigital/switch.pyi +3 -1
- homeassistant-stubs/components/eheimdigital/time.pyi +2 -1
- homeassistant-stubs/components/elkm1/climate.pyi +0 -6
- homeassistant-stubs/components/esphome/entity.pyi +2 -0
- homeassistant-stubs/components/esphome/entry_data.pyi +0 -12
- homeassistant-stubs/components/esphome/light.pyi +4 -4
- homeassistant-stubs/components/esphome/manager.pyi +0 -1
- homeassistant-stubs/components/esphome/update.pyi +8 -4
- homeassistant-stubs/components/feedreader/event.pyi +1 -2
- homeassistant-stubs/components/fritz/__init__.pyi +1 -1
- homeassistant-stubs/components/fritz/config_flow.pyi +2 -1
- homeassistant-stubs/components/fritz/const.pyi +2 -0
- homeassistant-stubs/components/fritz/coordinator.pyi +5 -3
- homeassistant-stubs/components/frontend/storage.pyi +25 -9
- homeassistant-stubs/components/fyta/image.pyi +18 -4
- homeassistant-stubs/components/generic_hygrostat/__init__.pyi +4 -2
- homeassistant-stubs/components/generic_thermostat/__init__.pyi +5 -3
- homeassistant-stubs/components/geocaching/__init__.pyi +3 -5
- homeassistant-stubs/components/geocaching/coordinator.pyi +3 -2
- homeassistant-stubs/components/geocaching/sensor.pyi +2 -3
- homeassistant-stubs/components/google/__init__.pyi +7 -8
- homeassistant-stubs/components/google/api.pyi +2 -2
- homeassistant-stubs/components/google/calendar.pyi +5 -5
- homeassistant-stubs/components/google/config_flow.pyi +3 -2
- homeassistant-stubs/components/google/const.pyi +0 -2
- homeassistant-stubs/components/google/coordinator.pyi +5 -5
- homeassistant-stubs/components/google/diagnostics.pyi +2 -3
- homeassistant-stubs/components/google/store.pyi +9 -0
- homeassistant-stubs/components/google_assistant_sdk/__init__.pyi +5 -6
- homeassistant-stubs/components/google_assistant_sdk/config_flow.pyi +3 -3
- homeassistant-stubs/components/google_assistant_sdk/const.pyi +0 -2
- homeassistant-stubs/components/google_assistant_sdk/diagnostics.pyi +2 -2
- homeassistant-stubs/components/google_assistant_sdk/helpers.pyi +8 -1
- homeassistant-stubs/components/google_assistant_sdk/notify.pyi +1 -2
- homeassistant-stubs/components/greeneye_monitor/const.pyi +4 -1
- homeassistant-stubs/components/guardian/__init__.pyi +11 -18
- homeassistant-stubs/components/guardian/binary_sensor.pyi +5 -6
- homeassistant-stubs/components/guardian/button.pyi +4 -5
- homeassistant-stubs/components/guardian/coordinator.pyi +3 -3
- homeassistant-stubs/components/guardian/diagnostics.pyi +3 -4
- homeassistant-stubs/components/guardian/entity.pyi +3 -3
- homeassistant-stubs/components/guardian/sensor.pyi +3 -4
- homeassistant-stubs/components/guardian/services.pyi +28 -0
- homeassistant-stubs/components/guardian/switch.pyi +4 -5
- homeassistant-stubs/components/guardian/util.pyi +2 -2
- homeassistant-stubs/components/guardian/valve.pyi +4 -5
- homeassistant-stubs/components/habitica/const.pyi +1 -6
- homeassistant-stubs/components/habitica/coordinator.pyi +2 -2
- homeassistant-stubs/components/habitica/sensor.pyi +3 -1
- homeassistant-stubs/components/habitica/services.pyi +2 -4
- homeassistant-stubs/components/habitica/util.pyi +2 -0
- homeassistant-stubs/components/hardware/__init__.pyi +3 -1
- homeassistant-stubs/components/hardware/const.pyi +4 -0
- homeassistant-stubs/components/hardware/hardware.pyi +1 -1
- homeassistant-stubs/components/hardware/models.pyi +14 -1
- homeassistant-stubs/components/hardware/websocket_api.pyi +2 -12
- homeassistant-stubs/components/heos/media_player.pyi +1 -0
- homeassistant-stubs/components/here_travel_time/__init__.pyi +4 -6
- homeassistant-stubs/components/here_travel_time/coordinator.pyi +9 -10
- homeassistant-stubs/components/here_travel_time/model.pyi +6 -10
- homeassistant-stubs/components/here_travel_time/sensor.pyi +4 -5
- homeassistant-stubs/components/history_stats/__init__.pyi +2 -1
- homeassistant-stubs/components/history_stats/config_flow.pyi +2 -2
- homeassistant-stubs/components/home_connect/application_credentials.pyi +1 -0
- homeassistant-stubs/components/home_connect/config_flow.pyi +2 -0
- homeassistant-stubs/components/home_connect/diagnostics.pyi +1 -2
- homeassistant-stubs/components/home_connect/entity.pyi +0 -1
- homeassistant-stubs/components/home_connect/light.pyi +2 -2
- homeassistant-stubs/components/home_connect/number.pyi +1 -0
- homeassistant-stubs/components/home_connect/sensor.pyi +4 -5
- homeassistant-stubs/components/home_connect/switch.pyi +1 -19
- homeassistant-stubs/components/homeassistant/__init__.pyi +5 -0
- homeassistant-stubs/components/homee/alarm_control_panel.pyi +39 -0
- homeassistant-stubs/components/homee/const.pyi +2 -0
- homeassistant-stubs/components/homee/event.pyi +19 -0
- homeassistant-stubs/components/homee/fan.pyi +38 -0
- homeassistant-stubs/components/homee/sensor.pyi +5 -1
- homeassistant-stubs/components/homekit/const.pyi +1 -0
- homeassistant-stubs/components/homekit/util.pyi +1 -1
- homeassistant-stubs/components/homeworks/__init__.pyi +5 -5
- homeassistant-stubs/components/homeworks/binary_sensor.pyi +2 -3
- homeassistant-stubs/components/homeworks/button.pyi +2 -3
- homeassistant-stubs/components/homeworks/light.pyi +2 -3
- homeassistant-stubs/components/http/decorators.pyi +1 -1
- homeassistant-stubs/components/huawei_lte/__init__.pyi +0 -1
- homeassistant-stubs/components/husqvarna_automower/binary_sensor.pyi +0 -7
- homeassistant-stubs/components/hydrawise/__init__.pyi +4 -5
- homeassistant-stubs/components/hydrawise/binary_sensor.pyi +3 -4
- homeassistant-stubs/components/hydrawise/coordinator.pyi +4 -3
- homeassistant-stubs/components/hydrawise/sensor.pyi +2 -4
- homeassistant-stubs/components/hydrawise/switch.pyi +3 -4
- homeassistant-stubs/components/hydrawise/valve.pyi +2 -4
- homeassistant-stubs/components/immich/__init__.pyi +10 -0
- homeassistant-stubs/components/immich/config_flow.pyi +27 -0
- homeassistant-stubs/components/immich/const.pyi +4 -0
- homeassistant-stubs/components/immich/coordinator.pyi +27 -0
- homeassistant-stubs/components/immich/diagnostics.pyi +10 -0
- homeassistant-stubs/components/immich/entity.pyi +10 -0
- homeassistant-stubs/components/immich/media_source.pyi +38 -0
- homeassistant-stubs/components/immich/sensor.pyi +28 -0
- homeassistant-stubs/components/integration/__init__.pyi +2 -1
- homeassistant-stubs/components/iqvia/__init__.pyi +4 -7
- homeassistant-stubs/components/iqvia/coordinator.pyi +16 -0
- homeassistant-stubs/components/iqvia/diagnostics.pyi +3 -4
- homeassistant-stubs/components/iqvia/entity.pyi +5 -6
- homeassistant-stubs/components/iqvia/sensor.pyi +3 -3
- homeassistant-stubs/components/isy994/__init__.pyi +6 -7
- homeassistant-stubs/components/isy994/binary_sensor.pyi +3 -4
- homeassistant-stubs/components/isy994/button.pyi +2 -3
- homeassistant-stubs/components/isy994/climate.pyi +3 -4
- homeassistant-stubs/components/isy994/config_flow.pyi +4 -3
- homeassistant-stubs/components/isy994/cover.pyi +3 -5
- homeassistant-stubs/components/isy994/fan.pyi +3 -5
- homeassistant-stubs/components/isy994/light.pyi +3 -4
- homeassistant-stubs/components/isy994/lock.pyi +2 -5
- homeassistant-stubs/components/isy994/models.pyi +2 -0
- homeassistant-stubs/components/isy994/number.pyi +3 -4
- homeassistant-stubs/components/isy994/select.pyi +3 -4
- homeassistant-stubs/components/isy994/sensor.pyi +3 -4
- homeassistant-stubs/components/isy994/services.pyi +1 -1
- homeassistant-stubs/components/isy994/switch.pyi +2 -4
- homeassistant-stubs/components/isy994/system_health.pyi +1 -3
- homeassistant-stubs/components/isy994/util.pyi +3 -2
- homeassistant-stubs/components/jellyfin/__init__.pyi +1 -1
- homeassistant-stubs/components/jellyfin/entity.pyi +2 -2
- homeassistant-stubs/components/jewish_calendar/binary_sensor.pyi +3 -2
- homeassistant-stubs/components/jewish_calendar/config_flow.pyi +3 -2
- homeassistant-stubs/components/jewish_calendar/const.pyi +1 -0
- homeassistant-stubs/components/jewish_calendar/diagnostics.pyi +11 -0
- homeassistant-stubs/components/jewish_calendar/entity.pyi +12 -5
- homeassistant-stubs/components/jewish_calendar/sensor.pyi +34 -15
- homeassistant-stubs/components/jewish_calendar/service.pyi +1 -0
- homeassistant-stubs/components/kaleidescape/entity.pyi +1 -0
- homeassistant-stubs/components/kaleidescape/media_player.pyi +1 -0
- homeassistant-stubs/components/kaleidescape/remote.pyi +1 -0
- homeassistant-stubs/components/kaleidescape/sensor.pyi +1 -0
- homeassistant-stubs/components/knocki/config_flow.pyi +2 -0
- homeassistant-stubs/components/knx/const.pyi +7 -0
- homeassistant-stubs/components/knx/cover.pyi +20 -9
- homeassistant-stubs/components/knx/schema.pyi +1 -6
- homeassistant-stubs/components/knx/storage/const.pyi +6 -0
- homeassistant-stubs/components/knx/storage/entity_store_schema.pyi +4 -3
- homeassistant-stubs/components/lcn/config_flow.pyi +0 -2
- homeassistant-stubs/components/lcn/const.pyi +3 -1
- homeassistant-stubs/components/lcn/cover.pyi +7 -2
- homeassistant-stubs/components/lcn/entity.pyi +1 -0
- homeassistant-stubs/components/lcn/helpers.pyi +0 -1
- homeassistant-stubs/components/lcn/schemas.pyi +1 -1
- homeassistant-stubs/components/lcn/services.pyi +2 -3
- homeassistant-stubs/components/litterrobot/entity.pyi +1 -1
- homeassistant-stubs/components/matter/select.pyi +2 -0
- homeassistant-stubs/components/matter/sensor.pyi +3 -1
- homeassistant-stubs/components/media_player/intent.pyi +11 -1
- homeassistant-stubs/components/metoffice/__init__.pyi +3 -5
- homeassistant-stubs/components/metoffice/config_flow.pyi +4 -2
- homeassistant-stubs/components/metoffice/const.pyi +7 -6
- homeassistant-stubs/components/metoffice/helpers.pyi +5 -6
- homeassistant-stubs/components/metoffice/sensor.pyi +15 -13
- homeassistant-stubs/components/metoffice/weather.pyi +23 -11
- homeassistant-stubs/components/miele/__init__.pyi +15 -0
- homeassistant-stubs/components/miele/api.pyi +9 -0
- homeassistant-stubs/components/miele/application_credentials.pyi +5 -0
- homeassistant-stubs/components/miele/binary_sensor.pyi +34 -0
- homeassistant-stubs/components/miele/button.pyi +32 -0
- homeassistant-stubs/components/miele/climate.pyi +55 -0
- homeassistant-stubs/components/miele/config_flow.pyi +17 -0
- homeassistant-stubs/components/miele/const.pyi +127 -0
- homeassistant-stubs/components/miele/coordinator.pyi +29 -0
- homeassistant-stubs/components/miele/diagnostics.pyi +13 -0
- homeassistant-stubs/components/miele/entity.pyi +24 -0
- homeassistant-stubs/components/miele/fan.pyi +39 -0
- homeassistant-stubs/components/miele/light.pyi +39 -0
- homeassistant-stubs/components/miele/sensor.pyi +72 -0
- homeassistant-stubs/components/miele/switch.pyi +52 -0
- homeassistant-stubs/components/miele/vacuum.pyi +84 -0
- homeassistant-stubs/components/minecraft_server/api.pyi +1 -1
- homeassistant-stubs/components/modbus/__init__.pyi +1 -1
- homeassistant-stubs/components/modbus/const.pyi +9 -0
- homeassistant-stubs/components/modbus/light.pyi +24 -1
- homeassistant-stubs/components/modbus/sensor.pyi +5 -3
- homeassistant-stubs/components/mqtt/binary_sensor.pyi +1 -2
- homeassistant-stubs/components/mqtt/button.pyi +1 -3
- homeassistant-stubs/components/mqtt/config_flow.pyi +26 -9
- homeassistant-stubs/components/mqtt/const.pyi +57 -0
- homeassistant-stubs/components/mqtt/cover.pyi +1 -25
- homeassistant-stubs/components/mqtt/fan.pyi +1 -31
- homeassistant-stubs/components/mqtt/sensor.pyi +1 -1
- homeassistant-stubs/components/mqtt/switch.pyi +1 -5
- homeassistant-stubs/components/music_assistant/media_player.pyi +6 -2
- homeassistant-stubs/components/number/const.pyi +3 -2
- homeassistant-stubs/components/nut/__init__.pyi +1 -1
- homeassistant-stubs/components/openai_conversation/conversation.pyi +2 -0
- homeassistant-stubs/components/openuv/binary_sensor.pyi +2 -1
- homeassistant-stubs/components/openuv/entity.pyi +1 -0
- homeassistant-stubs/components/pandora/__init__.pyi +1 -0
- homeassistant-stubs/components/pandora/media_player.pyi +14 -13
- homeassistant-stubs/components/paperless_ngx/__init__.pyi +13 -0
- homeassistant-stubs/components/paperless_ngx/config_flow.pyi +16 -0
- homeassistant-stubs/components/paperless_ngx/const.pyi +4 -0
- homeassistant-stubs/components/paperless_ngx/coordinator.pyi +39 -0
- homeassistant-stubs/components/{rtsp_to_webrtc → paperless_ngx}/diagnostics.pyi +2 -2
- homeassistant-stubs/components/paperless_ngx/entity.pyi +16 -0
- homeassistant-stubs/components/paperless_ngx/sensor.pyi +27 -0
- homeassistant-stubs/components/plugwise/coordinator.pyi +2 -2
- homeassistant-stubs/components/qbus/climate.pyi +1 -0
- homeassistant-stubs/components/qbus/entity.pyi +3 -3
- homeassistant-stubs/components/qbus/light.pyi +1 -0
- homeassistant-stubs/components/qbus/scene.pyi +21 -0
- homeassistant-stubs/components/qbus/switch.pyi +1 -0
- homeassistant-stubs/components/recorder/services.pyi +7 -1
- homeassistant-stubs/components/recorder/statistics.pyi +1 -1
- homeassistant-stubs/components/recorder/websocket_api.pyi +1 -1
- homeassistant-stubs/components/reolink/__init__.pyi +3 -1
- homeassistant-stubs/components/reolink/const.pyi +5 -0
- homeassistant-stubs/components/reolink/host.pyi +3 -3
- homeassistant-stubs/components/reolink/media_source.pyi +2 -1
- homeassistant-stubs/components/reolink/views.pyi +1 -0
- homeassistant-stubs/components/repairs/websocket_api.pyi +0 -1
- homeassistant-stubs/components/samsungtv/__init__.pyi +5 -5
- homeassistant-stubs/components/samsungtv/bridge.pyi +2 -1
- homeassistant-stubs/components/samsungtv/config_flow.pyi +4 -4
- homeassistant-stubs/components/samsungtv/entity.pyi +1 -1
- homeassistant-stubs/components/samsungtv/media_player.pyi +2 -1
- homeassistant-stubs/components/sensor/__init__.pyi +1 -0
- homeassistant-stubs/components/sensor/const.pyi +5 -2
- homeassistant-stubs/components/sensor/device_condition.pyi +1 -0
- homeassistant-stubs/components/sensor/device_trigger.pyi +1 -0
- homeassistant-stubs/components/shelly/__init__.pyi +1 -1
- homeassistant-stubs/components/shelly/binary_sensor.pyi +3 -2
- homeassistant-stubs/components/shelly/button.pyi +5 -4
- homeassistant-stubs/components/shelly/climate.pyi +5 -5
- homeassistant-stubs/components/shelly/const.pyi +2 -0
- homeassistant-stubs/components/shelly/cover.pyi +2 -0
- homeassistant-stubs/components/shelly/entity.pyi +4 -2
- homeassistant-stubs/components/shelly/event.pyi +4 -2
- homeassistant-stubs/components/shelly/light.pyi +2 -0
- homeassistant-stubs/components/shelly/number.pyi +3 -2
- homeassistant-stubs/components/shelly/select.pyi +2 -0
- homeassistant-stubs/components/shelly/sensor.pyi +9 -2
- homeassistant-stubs/components/shelly/switch.pyi +2 -2
- homeassistant-stubs/components/shelly/text.pyi +2 -0
- homeassistant-stubs/components/shelly/update.pyi +1 -0
- homeassistant-stubs/components/shelly/utils.pyi +14 -7
- homeassistant-stubs/components/shelly/valve.pyi +2 -0
- homeassistant-stubs/components/smlight/button.pyi +3 -2
- homeassistant-stubs/components/squeezebox/__init__.pyi +1 -1
- homeassistant-stubs/components/squeezebox/binary_sensor.pyi +1 -0
- homeassistant-stubs/components/squeezebox/browse_media.pyi +1 -1
- homeassistant-stubs/components/squeezebox/button.pyi +3 -0
- homeassistant-stubs/components/squeezebox/const.pyi +12 -2
- homeassistant-stubs/components/squeezebox/coordinator.pyi +7 -3
- homeassistant-stubs/components/squeezebox/media_player.pyi +3 -1
- homeassistant-stubs/components/squeezebox/sensor.pyi +1 -0
- homeassistant-stubs/components/squeezebox/switch.pyi +47 -0
- homeassistant-stubs/components/squeezebox/update.pyi +50 -0
- homeassistant-stubs/components/statistics/__init__.pyi +2 -1
- homeassistant-stubs/components/suez_water/coordinator.pyi +19 -4
- homeassistant-stubs/components/suez_water/sensor.pyi +2 -0
- homeassistant-stubs/components/sun/condition.pyi +13 -0
- homeassistant-stubs/components/switch_as_x/__init__.pyi +16 -3
- homeassistant-stubs/components/switchbot_cloud/__init__.pyi +15 -9
- homeassistant-stubs/components/switchbot_cloud/binary_sensor.pyi +29 -0
- homeassistant-stubs/components/switchbot_cloud/coordinator.pyi +6 -1
- homeassistant-stubs/components/threshold/__init__.pyi +2 -1
- homeassistant-stubs/components/tibber/coordinator.pyi +1 -0
- homeassistant-stubs/components/tibber/notify.pyi +2 -2
- homeassistant-stubs/components/tibber/sensor.pyi +1 -1
- homeassistant-stubs/components/trend/__init__.pyi +2 -1
- homeassistant-stubs/components/tts/__init__.pyi +4 -1
- homeassistant-stubs/components/tts/const.pyi +1 -0
- homeassistant-stubs/components/tts/entity.pyi +4 -0
- homeassistant-stubs/components/tts/legacy.pyi +3 -1
- homeassistant-stubs/components/tts/media_source.pyi +5 -2
- homeassistant-stubs/components/unifi/__init__.pyi +1 -1
- homeassistant-stubs/components/unifi/config_flow.pyi +2 -2
- homeassistant-stubs/components/unifi/device_tracker.pyi +1 -0
- homeassistant-stubs/components/unifi/services.pyi +1 -0
- homeassistant-stubs/components/uptimerobot/coordinator.pyi +0 -1
- homeassistant-stubs/components/uptimerobot/switch.pyi +2 -1
- homeassistant-stubs/components/wallbox/const.pyi +10 -0
- homeassistant-stubs/components/wallbox/coordinator.pyi +4 -1
- homeassistant-stubs/components/wallbox/select.pyi +29 -0
- homeassistant-stubs/components/wallbox/sensor.pyi +1 -1
- homeassistant-stubs/components/wemo/device_trigger.pyi +1 -1
- homeassistant-stubs/components/wemo/light.pyi +1 -0
- homeassistant-stubs/components/whois/const.pyi +1 -0
- homeassistant-stubs/components/whois/sensor.pyi +2 -1
- homeassistant-stubs/components/withings/application_credentials.pyi +2 -0
- homeassistant-stubs/components/youtube/sensor.pyi +1 -1
- homeassistant-stubs/components/zwave_js/__init__.pyi +1 -2
- homeassistant-stubs/components/zwave_js/config_flow.pyi +7 -7
- homeassistant-stubs/components/zwave_js/const.pyi +1 -2
- homeassistant-stubs/config_entries.pyi +0 -1
- homeassistant-stubs/const.pyi +5 -0
- homeassistant-stubs/core_config.pyi +0 -2
- homeassistant-stubs/helpers/condition.pyi +1 -6
- homeassistant-stubs/helpers/config_entry_oauth2_flow.pyi +10 -0
- homeassistant-stubs/helpers/config_validation.pyi +7 -2
- homeassistant-stubs/helpers/device.pyi +1 -1
- homeassistant-stubs/helpers/device_registry.pyi +4 -4
- homeassistant-stubs/helpers/entity_component.pyi +5 -2
- homeassistant-stubs/helpers/entity_platform.pyi +4 -1
- homeassistant-stubs/helpers/entity_registry.pyi +7 -6
- homeassistant-stubs/helpers/helper_integration.pyi +6 -0
- homeassistant-stubs/helpers/selector.pyi +55 -50
- homeassistant-stubs/helpers/service.pyi +3 -3
- homeassistant-stubs/helpers/template.pyi +4 -1
- homeassistant-stubs/util/aiohttp.pyi +5 -0
- homeassistant-stubs/util/unit_conversion.pyi +11 -1
- {homeassistant_stubs-2025.5.3.dist-info → homeassistant_stubs-2025.6.0.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2025.5.3.dist-info → homeassistant_stubs-2025.6.0.dist-info}/RECORD +416 -357
- homeassistant-stubs/components/metoffice/data.pyi +0 -10
- homeassistant-stubs/components/rtsp_to_webrtc/__init__.pyi +0 -19
- homeassistant-stubs/components/rtsp_to_webrtc/config_flow.pyi +0 -24
- {homeassistant_stubs-2025.5.3.dist-info → homeassistant_stubs-2025.6.0.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2025.5.3.dist-info → homeassistant_stubs-2025.6.0.dist-info}/licenses/LICENSE +0 -0
@@ -1,4 +1,3 @@
|
|
1
|
-
import voluptuous as vol
|
2
1
|
from .const import DEFAULT_PORT as DEFAULT_PORT, DEVICE_TYPE_LIST as DEVICE_TYPE_LIST, DOMAIN as DOMAIN, _LOGGER as _LOGGER
|
3
2
|
from .utils import async_client_session as async_client_session
|
4
3
|
from _typeshed import Incomplete
|
@@ -12,10 +11,9 @@ from typing import Any
|
|
12
11
|
|
13
12
|
DEFAULT_HOST: str
|
14
13
|
DEFAULT_PIN: int
|
15
|
-
|
16
|
-
def user_form_schema(user_input: dict[str, Any] | None) -> vol.Schema: ...
|
17
|
-
|
14
|
+
USER_SCHEMA: Incomplete
|
18
15
|
STEP_REAUTH_DATA_SCHEMA: Incomplete
|
16
|
+
STEP_RECONFIGURE: Incomplete
|
19
17
|
|
20
18
|
async def validate_input(hass: HomeAssistant, data: dict[str, Any]) -> dict[str, str]: ...
|
21
19
|
|
@@ -24,6 +22,7 @@ class ComelitConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
24
22
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
25
23
|
async def async_step_reauth(self, entry_data: Mapping[str, Any]) -> ConfigFlowResult: ...
|
26
24
|
async def async_step_reauth_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
25
|
+
async def async_step_reconfigure(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
27
26
|
|
28
27
|
class CannotConnect(HomeAssistantError): ...
|
29
28
|
class InvalidAuth(HomeAssistantError): ...
|
@@ -1,8 +1,9 @@
|
|
1
1
|
from .coordinator import ComelitConfigEntry as ComelitConfigEntry, ComelitSerialBridge as ComelitSerialBridge
|
2
2
|
from .entity import ComelitBridgeBaseEntity as ComelitBridgeBaseEntity
|
3
|
+
from .utils import bridge_api_call as bridge_api_call
|
3
4
|
from _typeshed import Incomplete
|
4
5
|
from aiocomelit import ComelitSerialBridgeObject as ComelitSerialBridgeObject
|
5
|
-
from homeassistant.components.cover import CoverDeviceClass as CoverDeviceClass, CoverEntity as CoverEntity
|
6
|
+
from homeassistant.components.cover import CoverDeviceClass as CoverDeviceClass, CoverEntity as CoverEntity
|
6
7
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
8
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
8
9
|
from homeassistant.helpers.restore_state import RestoreEntity as RestoreEntity
|
@@ -27,6 +28,7 @@ class ComelitCoverEntity(ComelitBridgeBaseEntity, RestoreEntity, CoverEntity):
|
|
27
28
|
def is_closing(self) -> bool: ...
|
28
29
|
@property
|
29
30
|
def is_opening(self) -> bool: ...
|
31
|
+
@bridge_api_call
|
30
32
|
async def _cover_set_state(self, action: int, state: int) -> None: ...
|
31
33
|
async def async_close_cover(self, **kwargs: Any) -> None: ...
|
32
34
|
async def async_open_cover(self, **kwargs: Any) -> None: ...
|
@@ -1,12 +1,13 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
2
2
|
from .coordinator import ComelitConfigEntry as ComelitConfigEntry, ComelitSerialBridge as ComelitSerialBridge
|
3
3
|
from .entity import ComelitBridgeBaseEntity as ComelitBridgeBaseEntity
|
4
|
+
from .utils import bridge_api_call as bridge_api_call, cleanup_stale_entity as cleanup_stale_entity, load_api_data as load_api_data
|
4
5
|
from _typeshed import Incomplete
|
5
6
|
from aiocomelit import ComelitSerialBridgeObject as ComelitSerialBridgeObject
|
6
7
|
from enum import StrEnum
|
7
8
|
from homeassistant.components.humidifier import HumidifierAction as HumidifierAction, HumidifierDeviceClass as HumidifierDeviceClass, HumidifierEntity as HumidifierEntity, HumidifierEntityFeature as HumidifierEntityFeature, MODE_AUTO as MODE_AUTO, MODE_NORMAL as MODE_NORMAL
|
8
9
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
9
|
-
from homeassistant.exceptions import
|
10
|
+
from homeassistant.exceptions import ServiceValidationError as ServiceValidationError
|
10
11
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
11
12
|
from typing import Any
|
12
13
|
|
@@ -51,7 +52,11 @@ class ComelitHumidifierEntity(ComelitBridgeBaseEntity, HumidifierEntity):
|
|
51
52
|
def _update_attributes(self) -> None: ...
|
52
53
|
@callback
|
53
54
|
def _handle_coordinator_update(self) -> None: ...
|
55
|
+
@bridge_api_call
|
54
56
|
async def async_set_humidity(self, humidity: int) -> None: ...
|
57
|
+
@bridge_api_call
|
55
58
|
async def async_set_mode(self, mode: str) -> None: ...
|
59
|
+
@bridge_api_call
|
56
60
|
async def async_turn_on(self, **kwargs: Any) -> None: ...
|
61
|
+
@bridge_api_call
|
57
62
|
async def async_turn_off(self, **kwargs: Any) -> None: ...
|
@@ -1,5 +1,6 @@
|
|
1
1
|
from .coordinator import ComelitConfigEntry as ComelitConfigEntry, ComelitSerialBridge as ComelitSerialBridge
|
2
2
|
from .entity import ComelitBridgeBaseEntity as ComelitBridgeBaseEntity
|
3
|
+
from .utils import bridge_api_call as bridge_api_call
|
3
4
|
from _typeshed import Incomplete
|
4
5
|
from homeassistant.components.light import ColorMode as ColorMode, LightEntity as LightEntity
|
5
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
@@ -14,6 +15,7 @@ class ComelitLightEntity(ComelitBridgeBaseEntity, LightEntity):
|
|
14
15
|
_attr_color_mode: Incomplete
|
15
16
|
_attr_name: Incomplete
|
16
17
|
_attr_supported_color_modes: Incomplete
|
18
|
+
@bridge_api_call
|
17
19
|
async def _light_set_state(self, state: int) -> None: ...
|
18
20
|
async def async_turn_on(self, **kwargs: Any) -> None: ...
|
19
21
|
async def async_turn_off(self, **kwargs: Any) -> None: ...
|
@@ -1,5 +1,6 @@
|
|
1
1
|
from .coordinator import ComelitConfigEntry as ComelitConfigEntry, ComelitSerialBridge as ComelitSerialBridge
|
2
2
|
from .entity import ComelitBridgeBaseEntity as ComelitBridgeBaseEntity
|
3
|
+
from .utils import bridge_api_call as bridge_api_call
|
3
4
|
from _typeshed import Incomplete
|
4
5
|
from aiocomelit import ComelitSerialBridgeObject as ComelitSerialBridgeObject
|
5
6
|
from homeassistant.components.switch import SwitchDeviceClass as SwitchDeviceClass, SwitchEntity as SwitchEntity
|
@@ -16,6 +17,7 @@ class ComelitSwitchEntity(ComelitBridgeBaseEntity, SwitchEntity):
|
|
16
17
|
_attr_unique_id: Incomplete
|
17
18
|
_attr_device_class: Incomplete
|
18
19
|
def __init__(self, coordinator: ComelitSerialBridge, device: ComelitSerialBridgeObject, config_entry_entry_id: str) -> None: ...
|
20
|
+
@bridge_api_call
|
19
21
|
async def _switch_set_state(self, state: int) -> None: ...
|
20
22
|
async def async_turn_on(self, **kwargs: Any) -> None: ...
|
21
23
|
async def async_turn_off(self, **kwargs: Any) -> None: ...
|
@@ -1,5 +1,16 @@
|
|
1
|
+
from .const import DOMAIN as DOMAIN, _LOGGER as _LOGGER
|
2
|
+
from .entity import ComelitBridgeBaseEntity as ComelitBridgeBaseEntity
|
3
|
+
from aiocomelit import ComelitSerialBridgeObject as ComelitSerialBridgeObject
|
1
4
|
from aiohttp import ClientSession as ClientSession
|
5
|
+
from collections.abc import Awaitable, Callable as Callable, Coroutine
|
6
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
2
7
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
8
|
+
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
3
9
|
from homeassistant.helpers import aiohttp_client as aiohttp_client
|
10
|
+
from typing import Any, Concatenate
|
4
11
|
|
5
12
|
async def async_client_session(hass: HomeAssistant) -> ClientSession: ...
|
13
|
+
def load_api_data(device: ComelitSerialBridgeObject, domain: str) -> list[Any]: ...
|
14
|
+
async def cleanup_stale_entity(hass: HomeAssistant, config_entry: ConfigEntry, entry_unique_id: str, device: ComelitSerialBridgeObject) -> None: ...
|
15
|
+
def _async_remove_state_config_entry_from_devices(hass: HomeAssistant, identifiers: list[str], config_entry: ConfigEntry) -> None: ...
|
16
|
+
def bridge_api_call[_T: ComelitBridgeBaseEntity, **_P](func: Callable[Concatenate[_T, _P], Awaitable[None]]) -> Callable[Concatenate[_T, _P], Coroutine[Any, Any, None]]: ...
|
@@ -1,8 +1,10 @@
|
|
1
|
-
from .const import CONF_COMMAND_TIMEOUT as CONF_COMMAND_TIMEOUT
|
1
|
+
from .const import CONF_COMMAND_TIMEOUT as CONF_COMMAND_TIMEOUT, LOGGER as LOGGER
|
2
2
|
from _typeshed import Incomplete
|
3
3
|
from homeassistant.components.notify import BaseNotificationService as BaseNotificationService
|
4
4
|
from homeassistant.const import CONF_COMMAND as CONF_COMMAND
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
|
+
from homeassistant.exceptions import TemplateError as TemplateError
|
7
|
+
from homeassistant.helpers.template import Template as Template
|
6
8
|
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType
|
7
9
|
from homeassistant.util.process import kill_subprocess as kill_subprocess
|
8
10
|
from typing import Any
|
@@ -3,9 +3,13 @@ from homeassistant import config_entries as config_entries
|
|
3
3
|
from homeassistant.components import websocket_api as websocket_api
|
4
4
|
from homeassistant.components.websocket_api import ERR_NOT_FOUND as ERR_NOT_FOUND, require_admin as require_admin
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
6
|
+
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
7
|
+
from homeassistant.helpers.entity_component import async_get_entity_suggested_object_id as async_get_entity_suggested_object_id
|
6
8
|
from homeassistant.helpers.json import json_dumps as json_dumps
|
7
9
|
from typing import Any
|
8
10
|
|
11
|
+
_LOGGER: Incomplete
|
12
|
+
|
9
13
|
@callback
|
10
14
|
def async_setup(hass: HomeAssistant) -> bool: ...
|
11
15
|
@callback
|
@@ -25,3 +29,5 @@ def websocket_update_entity(hass: HomeAssistant, connection: websocket_api.Activ
|
|
25
29
|
@require_admin
|
26
30
|
@callback
|
27
31
|
def websocket_remove_entity(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict[str, Any]) -> None: ...
|
32
|
+
@callback
|
33
|
+
def websocket_get_automatic_entity_ids(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict[str, Any]) -> None: ...
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from .. import DeconzConfigEntry as DeconzConfigEntry
|
2
|
-
from ..const import CONF_MASTER_GATEWAY as CONF_MASTER_GATEWAY, HASSIO_CONFIGURATION_URL as HASSIO_CONFIGURATION_URL, PLATFORMS as PLATFORMS
|
2
|
+
from ..const import CONF_MASTER_GATEWAY as CONF_MASTER_GATEWAY, DOMAIN as DOMAIN, HASSIO_CONFIGURATION_URL as HASSIO_CONFIGURATION_URL, PLATFORMS as PLATFORMS
|
3
3
|
from ..deconz_event import DeconzAlarmEvent as DeconzAlarmEvent, DeconzEvent as DeconzEvent, DeconzPresenceEvent as DeconzPresenceEvent, DeconzRelativeRotaryEvent as DeconzRelativeRotaryEvent
|
4
4
|
from .config import DeconzConfig as DeconzConfig
|
5
5
|
from _typeshed import Incomplete
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from . import DeconzConfigEntry as DeconzConfigEntry
|
2
|
-
from .const import POWER_PLUGS as POWER_PLUGS
|
2
|
+
from .const import DOMAIN as DOMAIN, POWER_PLUGS as POWER_PLUGS
|
3
3
|
from .entity import DeconzDevice as DeconzDevice
|
4
4
|
from .hub import DeconzHub as DeconzHub
|
5
5
|
from _typeshed import Incomplete
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from _typeshed import Incomplete
|
2
2
|
from datetime import datetime
|
3
|
-
from homeassistant.components.media_player import MediaPlayerDeviceClass as MediaPlayerDeviceClass, MediaPlayerEntity as MediaPlayerEntity, MediaPlayerEntityFeature as MediaPlayerEntityFeature, MediaPlayerState as MediaPlayerState, MediaType as MediaType, RepeatMode as RepeatMode
|
3
|
+
from homeassistant.components.media_player import BrowseMedia as BrowseMedia, MediaClass as MediaClass, MediaPlayerDeviceClass as MediaPlayerDeviceClass, MediaPlayerEntity as MediaPlayerEntity, MediaPlayerEntityFeature as MediaPlayerEntityFeature, MediaPlayerState as MediaPlayerState, MediaType as MediaType, RepeatMode as RepeatMode, SearchMedia as SearchMedia, SearchMediaQuery as SearchMediaQuery
|
4
4
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
6
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
@@ -114,3 +114,4 @@ class DemoGroupPlayer(AbstractDemoPlayer):
|
|
114
114
|
|
115
115
|
class DemoSearchPlayer(AbstractDemoPlayer):
|
116
116
|
_attr_supported_features = SEARCH_PLAYER_SUPPORT
|
117
|
+
async def async_search_media(self, query: SearchMediaQuery) -> SearchMedia: ...
|
@@ -1,7 +1,8 @@
|
|
1
1
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
2
2
|
from homeassistant.const import CONF_SOURCE as CONF_SOURCE, Platform as Platform
|
3
3
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
4
|
-
from homeassistant.helpers.device import async_remove_stale_devices_links_keep_entity_device as async_remove_stale_devices_links_keep_entity_device
|
4
|
+
from homeassistant.helpers.device import async_entity_id_to_device_id as async_entity_id_to_device_id, async_remove_stale_devices_links_keep_entity_device as async_remove_stale_devices_links_keep_entity_device
|
5
|
+
from homeassistant.helpers.helper_integration import async_handle_source_entity_changes as async_handle_source_entity_changes
|
5
6
|
|
6
7
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
7
8
|
async def config_entry_update_listener(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
|
@@ -4,13 +4,16 @@ from .helpers import async_validate_device_automation_config as async_validate_d
|
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from homeassistant.const import CONF_DOMAIN as CONF_DOMAIN
|
6
6
|
from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, HomeAssistant as HomeAssistant
|
7
|
-
from homeassistant.helpers.trigger import TriggerActionType as TriggerActionType, TriggerInfo as TriggerInfo
|
7
|
+
from homeassistant.helpers.trigger import TriggerActionType as TriggerActionType, TriggerInfo as TriggerInfo
|
8
8
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
9
9
|
from typing import Any, Protocol
|
10
10
|
|
11
11
|
TRIGGER_SCHEMA: Incomplete
|
12
12
|
|
13
|
-
class DeviceAutomationTriggerProtocol(
|
13
|
+
class DeviceAutomationTriggerProtocol(Protocol):
|
14
|
+
TRIGGER_SCHEMA: vol.Schema
|
15
|
+
async def async_validate_trigger_config(self, hass: HomeAssistant, config: ConfigType) -> ConfigType: ...
|
16
|
+
async def async_attach_trigger(self, hass: HomeAssistant, config: ConfigType, action: TriggerActionType, trigger_info: TriggerInfo) -> CALLBACK_TYPE: ...
|
14
17
|
async def async_get_trigger_capabilities(self, hass: HomeAssistant, config: ConfigType) -> dict[str, vol.Schema]: ...
|
15
18
|
async def async_get_triggers(self, hass: HomeAssistant, device_id: str) -> list[dict[str, Any]]: ...
|
16
19
|
|
@@ -1,31 +1,16 @@
|
|
1
|
-
from .const import CONNECTED_PLC_DEVICES as CONNECTED_PLC_DEVICES, CONNECTED_WIFI_CLIENTS as CONNECTED_WIFI_CLIENTS, DOMAIN as DOMAIN,
|
2
|
-
from .coordinator import DevoloDataUpdateCoordinator as DevoloDataUpdateCoordinator
|
1
|
+
from .const import CONNECTED_PLC_DEVICES as CONNECTED_PLC_DEVICES, CONNECTED_WIFI_CLIENTS as CONNECTED_WIFI_CLIENTS, DOMAIN as DOMAIN, LAST_RESTART as LAST_RESTART, NEIGHBORING_WIFI_NETWORKS as NEIGHBORING_WIFI_NETWORKS, REGULAR_FIRMWARE as REGULAR_FIRMWARE, SWITCH_GUEST_WIFI as SWITCH_GUEST_WIFI, SWITCH_LEDS as SWITCH_LEDS
|
2
|
+
from .coordinator import DevoloDataUpdateCoordinator as DevoloDataUpdateCoordinator, DevoloFirmwareUpdateCoordinator as DevoloFirmwareUpdateCoordinator, DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry, DevoloHomeNetworkData as DevoloHomeNetworkData, DevoloLedSettingsGetCoordinator as DevoloLedSettingsGetCoordinator, DevoloLogicalNetworkCoordinator as DevoloLogicalNetworkCoordinator, DevoloUptimeGetCoordinator as DevoloUptimeGetCoordinator, DevoloWifiConnectedStationsGetCoordinator as DevoloWifiConnectedStationsGetCoordinator, DevoloWifiGuestAccessGetCoordinator as DevoloWifiGuestAccessGetCoordinator, DevoloWifiNeighborAPsGetCoordinator as DevoloWifiNeighborAPsGetCoordinator
|
3
3
|
from _typeshed import Incomplete
|
4
|
-
from dataclasses import dataclass
|
5
4
|
from devolo_plc_api import Device
|
6
|
-
from devolo_plc_api.device_api import ConnectedStationInfo as ConnectedStationInfo, NeighborAPInfo as NeighborAPInfo, UpdateFirmwareCheck as UpdateFirmwareCheck, WifiGuestAccessGet as WifiGuestAccessGet
|
7
|
-
from devolo_plc_api.plcnet_api import LogicalNetwork as LogicalNetwork
|
8
5
|
from homeassistant.components import zeroconf as zeroconf
|
9
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
10
6
|
from homeassistant.const import CONF_IP_ADDRESS as CONF_IP_ADDRESS, CONF_PASSWORD as CONF_PASSWORD, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP, Platform as Platform
|
11
7
|
from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant, callback as callback
|
12
|
-
from homeassistant.exceptions import
|
13
|
-
from homeassistant.helpers import device_registry as dr
|
8
|
+
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
14
9
|
from homeassistant.helpers.httpx_client import get_async_client as get_async_client
|
15
|
-
from homeassistant.helpers.update_coordinator import UpdateFailed as UpdateFailed
|
16
|
-
from typing import Any
|
17
10
|
|
18
11
|
_LOGGER: Incomplete
|
19
|
-
type DevoloHomeNetworkConfigEntry = ConfigEntry[DevoloHomeNetworkData]
|
20
|
-
|
21
|
-
@dataclass
|
22
|
-
class DevoloHomeNetworkData:
|
23
|
-
device: Device
|
24
|
-
coordinators: dict[str, DevoloDataUpdateCoordinator[Any]]
|
25
12
|
|
26
13
|
async def async_setup_entry(hass: HomeAssistant, entry: DevoloHomeNetworkConfigEntry) -> bool: ...
|
27
14
|
async def async_unload_entry(hass: HomeAssistant, entry: DevoloHomeNetworkConfigEntry) -> bool: ...
|
28
15
|
@callback
|
29
16
|
def platforms(device: Device) -> set[Platform]: ...
|
30
|
-
@callback
|
31
|
-
def update_sw_version(device_registry: dr.DeviceRegistry, device: Device) -> None: ...
|
@@ -1,6 +1,5 @@
|
|
1
|
-
from . import DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
|
2
1
|
from .const import CONNECTED_PLC_DEVICES as CONNECTED_PLC_DEVICES, CONNECTED_TO_ROUTER as CONNECTED_TO_ROUTER
|
3
|
-
from .coordinator import DevoloDataUpdateCoordinator as DevoloDataUpdateCoordinator
|
2
|
+
from .coordinator import DevoloDataUpdateCoordinator as DevoloDataUpdateCoordinator, DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
|
4
3
|
from .entity import DevoloCoordinatorEntity as DevoloCoordinatorEntity
|
5
4
|
from collections.abc import Callable as Callable
|
6
5
|
from dataclasses import dataclass
|
@@ -1,5 +1,5 @@
|
|
1
|
-
from . import DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
|
2
1
|
from .const import DOMAIN as DOMAIN, IDENTIFY as IDENTIFY, PAIRING as PAIRING, RESTART as RESTART, START_WPS as START_WPS
|
2
|
+
from .coordinator import DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
|
3
3
|
from .entity import DevoloEntity as DevoloEntity
|
4
4
|
from collections.abc import Awaitable, Callable as Callable
|
5
5
|
from dataclasses import dataclass
|
@@ -1,5 +1,5 @@
|
|
1
|
-
from . import DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
|
2
1
|
from .const import DOMAIN as DOMAIN, PRODUCT as PRODUCT, SERIAL_NUMBER as SERIAL_NUMBER, TITLE as TITLE
|
2
|
+
from .coordinator import DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from collections.abc import Mapping
|
5
5
|
from homeassistant.components import zeroconf as zeroconf
|
@@ -1,13 +1,63 @@
|
|
1
|
+
from .const import CONNECTED_PLC_DEVICES as CONNECTED_PLC_DEVICES, CONNECTED_WIFI_CLIENTS as CONNECTED_WIFI_CLIENTS, DOMAIN as DOMAIN, FIRMWARE_UPDATE_INTERVAL as FIRMWARE_UPDATE_INTERVAL, LAST_RESTART as LAST_RESTART, LONG_UPDATE_INTERVAL as LONG_UPDATE_INTERVAL, NEIGHBORING_WIFI_NETWORKS as NEIGHBORING_WIFI_NETWORKS, REGULAR_FIRMWARE as REGULAR_FIRMWARE, SHORT_UPDATE_INTERVAL as SHORT_UPDATE_INTERVAL, SWITCH_GUEST_WIFI as SWITCH_GUEST_WIFI, SWITCH_LEDS as SWITCH_LEDS
|
1
2
|
from _typeshed import Incomplete
|
2
|
-
from
|
3
|
-
from collections.abc import Awaitable, Callable as Callable
|
3
|
+
from dataclasses import dataclass
|
4
4
|
from datetime import timedelta
|
5
|
+
from devolo_plc_api import Device as Device
|
6
|
+
from devolo_plc_api.device_api import ConnectedStationInfo, NeighborAPInfo, UpdateFirmwareCheck, WifiGuestAccessGet
|
7
|
+
from devolo_plc_api.plcnet_api import LogicalNetwork
|
5
8
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
|
-
from homeassistant.
|
9
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
10
|
+
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed
|
11
|
+
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
8
12
|
from logging import Logger
|
13
|
+
from typing import Any
|
14
|
+
|
15
|
+
SEMAPHORE: Incomplete
|
16
|
+
type DevoloHomeNetworkConfigEntry = ConfigEntry[DevoloHomeNetworkData]
|
9
17
|
|
10
18
|
class DevoloDataUpdateCoordinator[_DataT](DataUpdateCoordinator[_DataT]):
|
11
|
-
|
12
|
-
def __init__(self, hass: HomeAssistant, logger: Logger, *, config_entry:
|
19
|
+
device: Incomplete
|
20
|
+
def __init__(self, hass: HomeAssistant, logger: Logger, *, config_entry: DevoloHomeNetworkConfigEntry, name: str, update_interval: timedelta | None = None) -> None: ...
|
13
21
|
async def _async_update_data(self) -> _DataT: ...
|
22
|
+
@callback
|
23
|
+
def update_sw_version(self) -> None: ...
|
24
|
+
|
25
|
+
class DevoloFirmwareUpdateCoordinator(DevoloDataUpdateCoordinator[UpdateFirmwareCheck]):
|
26
|
+
update_method: Incomplete
|
27
|
+
def __init__(self, hass: HomeAssistant, logger: Logger, *, config_entry: ConfigEntry, name: str = ..., update_interval: timedelta | None = ...) -> None: ...
|
28
|
+
async def async_update_firmware_available(self) -> UpdateFirmwareCheck: ...
|
29
|
+
|
30
|
+
class DevoloLedSettingsGetCoordinator(DevoloDataUpdateCoordinator[bool]):
|
31
|
+
update_method: Incomplete
|
32
|
+
def __init__(self, hass: HomeAssistant, logger: Logger, *, config_entry: ConfigEntry, name: str = ..., update_interval: timedelta | None = ...) -> None: ...
|
33
|
+
async def async_update_led_status(self) -> bool: ...
|
34
|
+
|
35
|
+
class DevoloLogicalNetworkCoordinator(DevoloDataUpdateCoordinator[LogicalNetwork]):
|
36
|
+
update_method: Incomplete
|
37
|
+
def __init__(self, hass: HomeAssistant, logger: Logger, *, config_entry: ConfigEntry, name: str = ..., update_interval: timedelta | None = ...) -> None: ...
|
38
|
+
async def async_update_connected_plc_devices(self) -> LogicalNetwork: ...
|
39
|
+
|
40
|
+
class DevoloUptimeGetCoordinator(DevoloDataUpdateCoordinator[int]):
|
41
|
+
update_method: Incomplete
|
42
|
+
def __init__(self, hass: HomeAssistant, logger: Logger, *, config_entry: ConfigEntry, name: str = ..., update_interval: timedelta | None = ...) -> None: ...
|
43
|
+
async def async_update_last_restart(self) -> int: ...
|
44
|
+
|
45
|
+
class DevoloWifiConnectedStationsGetCoordinator(DevoloDataUpdateCoordinator[list[ConnectedStationInfo]]):
|
46
|
+
update_method: Incomplete
|
47
|
+
def __init__(self, hass: HomeAssistant, logger: Logger, *, config_entry: ConfigEntry, name: str = ..., update_interval: timedelta | None = ...) -> None: ...
|
48
|
+
async def async_get_wifi_connected_station(self) -> list[ConnectedStationInfo]: ...
|
49
|
+
|
50
|
+
class DevoloWifiGuestAccessGetCoordinator(DevoloDataUpdateCoordinator[WifiGuestAccessGet]):
|
51
|
+
update_method: Incomplete
|
52
|
+
def __init__(self, hass: HomeAssistant, logger: Logger, *, config_entry: ConfigEntry, name: str = ..., update_interval: timedelta | None = ...) -> None: ...
|
53
|
+
async def async_update_guest_wifi_status(self) -> WifiGuestAccessGet: ...
|
54
|
+
|
55
|
+
class DevoloWifiNeighborAPsGetCoordinator(DevoloDataUpdateCoordinator[list[NeighborAPInfo]]):
|
56
|
+
update_method: Incomplete
|
57
|
+
def __init__(self, hass: HomeAssistant, logger: Logger, *, config_entry: ConfigEntry, name: str = ..., update_interval: timedelta | None = ...) -> None: ...
|
58
|
+
async def async_update_wifi_neighbor_access_points(self) -> list[NeighborAPInfo]: ...
|
59
|
+
|
60
|
+
@dataclass
|
61
|
+
class DevoloHomeNetworkData:
|
62
|
+
device: Device
|
63
|
+
coordinators: dict[str, DevoloDataUpdateCoordinator[Any]]
|
@@ -1,6 +1,5 @@
|
|
1
|
-
from . import DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
|
2
1
|
from .const import CONNECTED_WIFI_CLIENTS as CONNECTED_WIFI_CLIENTS, DOMAIN as DOMAIN, WIFI_APTYPE as WIFI_APTYPE, WIFI_BANDS as WIFI_BANDS
|
3
|
-
from .coordinator import DevoloDataUpdateCoordinator as DevoloDataUpdateCoordinator
|
2
|
+
from .coordinator import DevoloDataUpdateCoordinator as DevoloDataUpdateCoordinator, DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
|
4
3
|
from _typeshed import Incomplete
|
5
4
|
from devolo_plc_api.device import Device as Device
|
6
5
|
from devolo_plc_api.device_api import ConnectedStationInfo
|
@@ -1,4 +1,4 @@
|
|
1
|
-
from . import DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
|
1
|
+
from .coordinator import DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
|
2
2
|
from _typeshed import Incomplete
|
3
3
|
from homeassistant.components.diagnostics import async_redact_data as async_redact_data
|
4
4
|
from homeassistant.const import CONF_PASSWORD as CONF_PASSWORD
|
@@ -1,6 +1,5 @@
|
|
1
|
-
from . import DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
|
2
1
|
from .const import DOMAIN as DOMAIN
|
3
|
-
from .coordinator import DevoloDataUpdateCoordinator as DevoloDataUpdateCoordinator
|
2
|
+
from .coordinator import DevoloDataUpdateCoordinator as DevoloDataUpdateCoordinator, DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
|
4
3
|
from _typeshed import Incomplete
|
5
4
|
from devolo_plc_api.device_api import ConnectedStationInfo, NeighborAPInfo, WifiGuestAccessGet
|
6
5
|
from devolo_plc_api.plcnet_api import DataRate, LogicalNetwork
|
@@ -1,6 +1,5 @@
|
|
1
|
-
from . import DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
|
2
1
|
from .const import IMAGE_GUEST_WIFI as IMAGE_GUEST_WIFI, SWITCH_GUEST_WIFI as SWITCH_GUEST_WIFI
|
3
|
-
from .coordinator import DevoloDataUpdateCoordinator as DevoloDataUpdateCoordinator
|
2
|
+
from .coordinator import DevoloDataUpdateCoordinator as DevoloDataUpdateCoordinator, DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
|
4
3
|
from .entity import DevoloCoordinatorEntity as DevoloCoordinatorEntity
|
5
4
|
from _typeshed import Incomplete
|
6
5
|
from collections.abc import Callable as Callable
|
@@ -1,6 +1,5 @@
|
|
1
|
-
from . import DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
|
2
1
|
from .const import CONNECTED_PLC_DEVICES as CONNECTED_PLC_DEVICES, CONNECTED_WIFI_CLIENTS as CONNECTED_WIFI_CLIENTS, LAST_RESTART as LAST_RESTART, NEIGHBORING_WIFI_NETWORKS as NEIGHBORING_WIFI_NETWORKS, PLC_RX_RATE as PLC_RX_RATE, PLC_TX_RATE as PLC_TX_RATE
|
3
|
-
from .coordinator import DevoloDataUpdateCoordinator as DevoloDataUpdateCoordinator
|
2
|
+
from .coordinator import DevoloDataUpdateCoordinator as DevoloDataUpdateCoordinator, DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
|
4
3
|
from .entity import DevoloCoordinatorEntity as DevoloCoordinatorEntity
|
5
4
|
from _typeshed import Incomplete
|
6
5
|
from collections.abc import Callable as Callable
|
@@ -1,6 +1,5 @@
|
|
1
|
-
from . import DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
|
2
1
|
from .const import DOMAIN as DOMAIN, SWITCH_GUEST_WIFI as SWITCH_GUEST_WIFI, SWITCH_LEDS as SWITCH_LEDS
|
3
|
-
from .coordinator import DevoloDataUpdateCoordinator as DevoloDataUpdateCoordinator
|
2
|
+
from .coordinator import DevoloDataUpdateCoordinator as DevoloDataUpdateCoordinator, DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
|
4
3
|
from .entity import DevoloCoordinatorEntity as DevoloCoordinatorEntity
|
5
4
|
from collections.abc import Awaitable, Callable as Callable
|
6
5
|
from dataclasses import dataclass
|
@@ -1,6 +1,5 @@
|
|
1
|
-
from . import DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
|
2
1
|
from .const import DOMAIN as DOMAIN, REGULAR_FIRMWARE as REGULAR_FIRMWARE
|
3
|
-
from .coordinator import DevoloDataUpdateCoordinator as DevoloDataUpdateCoordinator
|
2
|
+
from .coordinator import DevoloDataUpdateCoordinator as DevoloDataUpdateCoordinator, DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
|
4
3
|
from .entity import DevoloCoordinatorEntity as DevoloCoordinatorEntity
|
5
4
|
from _typeshed import Incomplete
|
6
5
|
from collections.abc import Awaitable, Callable as Callable
|
@@ -8,6 +8,7 @@ from _typeshed import Incomplete
|
|
8
8
|
from aiodiscover import DiscoverHosts
|
9
9
|
from collections.abc import Callable as Callable
|
10
10
|
from homeassistant import config_entries as config_entries
|
11
|
+
from homeassistant.components import network as network
|
11
12
|
from homeassistant.components.device_tracker import ATTR_HOST_NAME as ATTR_HOST_NAME, ATTR_IP as ATTR_IP, ATTR_MAC as ATTR_MAC, ATTR_SOURCE_TYPE as ATTR_SOURCE_TYPE, CONNECTED_DEVICE_REGISTERED as CONNECTED_DEVICE_REGISTERED, SourceType as SourceType
|
12
13
|
from homeassistant.const import EVENT_HOMEASSISTANT_STARTED as EVENT_HOMEASSISTANT_STARTED, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP, STATE_HOME as STATE_HOME
|
13
14
|
from homeassistant.core import Event as Event, EventStateChangedData as EventStateChangedData, HomeAssistant as HomeAssistant, State as State, callback as callback
|
@@ -74,6 +75,7 @@ class DeviceTrackerRegisteredWatcher(WatcherBase):
|
|
74
75
|
class DHCPWatcher(WatcherBase):
|
75
76
|
@callback
|
76
77
|
def _async_process_dhcp_request(self, response: aiodhcpwatcher.DHCPRequest) -> None: ...
|
78
|
+
async def async_get_adapter_indexes(self) -> list[int] | None: ...
|
77
79
|
_unsub: Incomplete
|
78
80
|
async def async_start(self) -> None: ...
|
79
81
|
|
@@ -1,7 +1,6 @@
|
|
1
|
-
from .const import
|
1
|
+
from .const import CONF_DOWNLOAD_DIR as CONF_DOWNLOAD_DIR, _LOGGER as _LOGGER
|
2
|
+
from .services import register_services as register_services
|
2
3
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
3
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
4
|
-
from homeassistant.helpers.service import async_register_admin_service as async_register_admin_service
|
5
|
-
from homeassistant.util import raise_if_invalid_filename as raise_if_invalid_filename, raise_if_invalid_path as raise_if_invalid_path
|
4
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
5
|
|
7
6
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
@@ -0,0 +1,7 @@
|
|
1
|
+
from .const import ATTR_FILENAME as ATTR_FILENAME, ATTR_OVERWRITE as ATTR_OVERWRITE, ATTR_SUBDIR as ATTR_SUBDIR, ATTR_URL as ATTR_URL, CONF_DOWNLOAD_DIR as CONF_DOWNLOAD_DIR, DOMAIN as DOMAIN, DOWNLOAD_COMPLETED_EVENT as DOWNLOAD_COMPLETED_EVENT, DOWNLOAD_FAILED_EVENT as DOWNLOAD_FAILED_EVENT, SERVICE_DOWNLOAD_FILE as SERVICE_DOWNLOAD_FILE, _LOGGER as _LOGGER
|
2
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, ServiceCall as ServiceCall
|
3
|
+
from homeassistant.helpers.service import async_register_admin_service as async_register_admin_service
|
4
|
+
from homeassistant.util import raise_if_invalid_filename as raise_if_invalid_filename, raise_if_invalid_path as raise_if_invalid_path
|
5
|
+
|
6
|
+
def download_file(service: ServiceCall) -> None: ...
|
7
|
+
def register_services(hass: HomeAssistant) -> None: ...
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from . import EcovacsConfigEntry as EcovacsConfigEntry
|
2
2
|
from .entity import EcovacsCapabilityEntityDescription as EcovacsCapabilityEntityDescription, EcovacsDescriptionEntity as EcovacsDescriptionEntity, EventT as EventT
|
3
|
-
from .util import
|
3
|
+
from .util import get_supported_entities as get_supported_entities
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from collections.abc import Callable as Callable
|
6
6
|
from dataclasses import dataclass
|
@@ -1,7 +1,7 @@
|
|
1
1
|
from . import EcovacsConfigEntry as EcovacsConfigEntry
|
2
|
-
from .const import SUPPORTED_LIFESPANS as SUPPORTED_LIFESPANS
|
2
|
+
from .const import SUPPORTED_LIFESPANS as SUPPORTED_LIFESPANS
|
3
3
|
from .entity import EcovacsCapabilityEntityDescription as EcovacsCapabilityEntityDescription, EcovacsDescriptionEntity as EcovacsDescriptionEntity, EcovacsEntity as EcovacsEntity
|
4
|
-
from .util import
|
4
|
+
from .util import get_supported_entities as get_supported_entities
|
5
5
|
from _typeshed import Incomplete
|
6
6
|
from dataclasses import dataclass
|
7
7
|
from deebot_client.capabilities import CapabilityExecute, CapabilityExecuteTypes, CapabilityLifeSpan
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from . import EcovacsConfigEntry as EcovacsConfigEntry
|
2
2
|
from .entity import EcovacsCapabilityEntityDescription as EcovacsCapabilityEntityDescription, EcovacsDescriptionEntity as EcovacsDescriptionEntity, EcovacsEntity as EcovacsEntity, EventT as EventT
|
3
|
-
from .util import
|
3
|
+
from .util import get_supported_entities as get_supported_entities
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from collections.abc import Callable as Callable
|
6
6
|
from dataclasses import dataclass
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from . import EcovacsConfigEntry as EcovacsConfigEntry
|
2
2
|
from .entity import EcovacsCapabilityEntityDescription as EcovacsCapabilityEntityDescription, EcovacsDescriptionEntity as EcovacsDescriptionEntity, EventT as EventT
|
3
|
-
from .util import get_name_key as get_name_key,
|
3
|
+
from .util import get_name_key as get_name_key, get_supported_entities as get_supported_entities
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from collections.abc import Callable as Callable
|
6
6
|
from dataclasses import dataclass
|
@@ -1,7 +1,7 @@
|
|
1
1
|
from . import EcovacsConfigEntry as EcovacsConfigEntry
|
2
2
|
from .const import LEGACY_SUPPORTED_LIFESPANS as LEGACY_SUPPORTED_LIFESPANS, SUPPORTED_LIFESPANS as SUPPORTED_LIFESPANS
|
3
3
|
from .entity import EcovacsCapabilityEntityDescription as EcovacsCapabilityEntityDescription, EcovacsDescriptionEntity as EcovacsDescriptionEntity, EcovacsEntity as EcovacsEntity, EcovacsLegacyEntity as EcovacsLegacyEntity, EventT as EventT
|
4
|
-
from .util import get_name_key as get_name_key, get_options as get_options,
|
4
|
+
from .util import get_name_key as get_name_key, get_options as get_options, get_supported_entities as get_supported_entities
|
5
5
|
from _typeshed import Incomplete
|
6
6
|
from collections.abc import Callable as Callable
|
7
7
|
from dataclasses import dataclass
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from . import EcovacsConfigEntry as EcovacsConfigEntry
|
2
2
|
from .entity import EcovacsCapabilityEntityDescription as EcovacsCapabilityEntityDescription, EcovacsDescriptionEntity as EcovacsDescriptionEntity, EcovacsEntity as EcovacsEntity
|
3
|
-
from .util import
|
3
|
+
from .util import get_supported_entities as get_supported_entities
|
4
4
|
from dataclasses import dataclass
|
5
5
|
from deebot_client.capabilities import CapabilitySetEnable
|
6
6
|
from deebot_client.events import EnableEvent as EnableEvent
|
@@ -5,7 +5,7 @@ from homeassistant.core import HomeAssistant as HomeAssistant, callback as callb
|
|
5
5
|
from homeassistant.util import slugify as slugify
|
6
6
|
|
7
7
|
def get_client_device_id(hass: HomeAssistant, self_hosted: bool) -> str: ...
|
8
|
-
def
|
8
|
+
def get_supported_entities(controller: EcovacsController, entity_class: type[EcovacsDescriptionEntity], descriptions: tuple[EcovacsCapabilityEntityDescription, ...]) -> list[EcovacsEntity]: ...
|
9
9
|
@callback
|
10
10
|
def get_name_key(enum: Enum) -> str: ...
|
11
11
|
@callback
|
@@ -1,13 +1,12 @@
|
|
1
1
|
from .const import HEATER_BIO_MODE as HEATER_BIO_MODE, HEATER_PRESET_TO_HEATER_MODE as HEATER_PRESET_TO_HEATER_MODE, HEATER_SMART_MODE as HEATER_SMART_MODE
|
2
2
|
from .coordinator import EheimDigitalConfigEntry as EheimDigitalConfigEntry, EheimDigitalUpdateCoordinator as EheimDigitalUpdateCoordinator
|
3
|
-
from .entity import EheimDigitalEntity as EheimDigitalEntity
|
3
|
+
from .entity import EheimDigitalEntity as EheimDigitalEntity, exception_handler as exception_handler
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from eheimdigital.device import EheimDigitalDevice as EheimDigitalDevice
|
6
6
|
from eheimdigital.heater import EheimDigitalHeater
|
7
7
|
from homeassistant.components.climate import ClimateEntity as ClimateEntity, ClimateEntityFeature as ClimateEntityFeature, HVACAction as HVACAction, HVACMode as HVACMode, PRESET_NONE as PRESET_NONE
|
8
8
|
from homeassistant.const import ATTR_TEMPERATURE as ATTR_TEMPERATURE, PRECISION_HALVES as PRECISION_HALVES, PRECISION_TENTHS as PRECISION_TENTHS, UnitOfTemperature as UnitOfTemperature
|
9
9
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
10
|
-
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
11
10
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
12
11
|
from typing import Any
|
13
12
|
|
@@ -28,8 +27,11 @@ class EheimDigitalHeaterClimate(EheimDigitalEntity[EheimDigitalHeater], ClimateE
|
|
28
27
|
_attr_name: Incomplete
|
29
28
|
_attr_unique_id: Incomplete
|
30
29
|
def __init__(self, coordinator: EheimDigitalUpdateCoordinator, device: EheimDigitalHeater) -> None: ...
|
30
|
+
@exception_handler
|
31
31
|
async def async_set_preset_mode(self, preset_mode: str) -> None: ...
|
32
|
+
@exception_handler
|
32
33
|
async def async_set_temperature(self, **kwargs: Any) -> None: ...
|
34
|
+
@exception_handler
|
33
35
|
async def async_set_hvac_mode(self, hvac_mode: HVACMode) -> None: ...
|
34
36
|
_attr_min_temp: int
|
35
37
|
_attr_max_temp: int
|
@@ -0,0 +1,9 @@
|
|
1
|
+
from .coordinator import EheimDigitalConfigEntry as EheimDigitalConfigEntry
|
2
|
+
from _typeshed import Incomplete
|
3
|
+
from homeassistant.components.diagnostics import async_redact_data as async_redact_data
|
4
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
5
|
+
from typing import Any
|
6
|
+
|
7
|
+
TO_REDACT: Incomplete
|
8
|
+
|
9
|
+
async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry: EheimDigitalConfigEntry) -> dict[str, Any]: ...
|
@@ -3,11 +3,14 @@ from .const import DOMAIN as DOMAIN
|
|
3
3
|
from .coordinator import EheimDigitalUpdateCoordinator as EheimDigitalUpdateCoordinator
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from abc import ABC, abstractmethod
|
6
|
+
from collections.abc import Callable as Callable, Coroutine
|
6
7
|
from eheimdigital.device import EheimDigitalDevice
|
7
8
|
from homeassistant.const import CONF_HOST as CONF_HOST
|
8
9
|
from homeassistant.core import callback as callback
|
10
|
+
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
9
11
|
from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC as CONNECTION_NETWORK_MAC, DeviceInfo as DeviceInfo
|
10
12
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
13
|
+
from typing import Any, Concatenate
|
11
14
|
|
12
15
|
class EheimDigitalEntity[_DeviceT: EheimDigitalDevice](CoordinatorEntity[EheimDigitalUpdateCoordinator], ABC, metaclass=abc.ABCMeta):
|
13
16
|
_attr_has_entity_name: bool
|
@@ -19,3 +22,5 @@ class EheimDigitalEntity[_DeviceT: EheimDigitalDevice](CoordinatorEntity[EheimDi
|
|
19
22
|
def _async_update_attrs(self) -> None: ...
|
20
23
|
@callback
|
21
24
|
def _handle_coordinator_update(self) -> None: ...
|
25
|
+
|
26
|
+
def exception_handler[_EntityT: EheimDigitalEntity[EheimDigitalDevice], **_P](func: Callable[Concatenate[_EntityT, _P], Coroutine[Any, Any, Any]]) -> Callable[Concatenate[_EntityT, _P], Coroutine[Any, Any, None]]: ...
|