homeassistant-stubs 2023.8.3__py3-none-any.whl → 2023.9.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/__main__.pyi +0 -1
- homeassistant-stubs/components/abode/__init__.pyi +2 -1
- homeassistant-stubs/components/abode/sensor.pyi +18 -6
- homeassistant-stubs/components/accuweather/__init__.pyi +1 -2
- homeassistant-stubs/components/accuweather/const.pyi +2 -0
- homeassistant-stubs/components/accuweather/sensor.pyi +4 -6
- homeassistant-stubs/components/accuweather/weather.pyi +6 -5
- homeassistant-stubs/components/actiontec/model.pyi +0 -1
- homeassistant-stubs/components/adguard/entity.pyi +2 -2
- homeassistant-stubs/components/adguard/sensor.pyi +0 -2
- homeassistant-stubs/components/adguard/switch.pyi +0 -2
- homeassistant-stubs/components/airly/sensor.pyi +1 -3
- homeassistant-stubs/components/airzone/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/airzone/entity.pyi +7 -1
- homeassistant-stubs/components/airzone/select.pyi +0 -2
- homeassistant-stubs/components/airzone/sensor.pyi +9 -1
- homeassistant-stubs/components/airzone_cloud/binary_sensor.pyi +8 -2
- homeassistant-stubs/components/airzone_cloud/entity.pyi +7 -1
- homeassistant-stubs/components/aladdin_connect/cover.pyi +1 -1
- homeassistant-stubs/components/aladdin_connect/sensor.pyi +1 -3
- homeassistant-stubs/components/alarm_control_panel/__init__.pyi +0 -1
- homeassistant-stubs/components/alexa/__init__.pyi +16 -0
- homeassistant-stubs/components/alexa/auth.pyi +31 -0
- homeassistant-stubs/components/alexa/capabilities.pyi +281 -0
- homeassistant-stubs/components/alexa/config.pyi +57 -0
- homeassistant-stubs/components/alexa/const.pyi +51 -0
- homeassistant-stubs/components/alexa/entities.pyi +176 -0
- homeassistant-stubs/components/alexa/errors.pyi +69 -0
- homeassistant-stubs/components/alexa/flash_briefings.pyi +22 -0
- homeassistant-stubs/components/alexa/handlers.pyi +64 -0
- homeassistant-stubs/components/alexa/intent.pyi +53 -0
- homeassistant-stubs/components/alexa/logbook.pyi +6 -0
- homeassistant-stubs/components/alexa/resources.pyi +114 -0
- homeassistant-stubs/components/alexa/smart_home.pyi +51 -0
- homeassistant-stubs/components/alexa/state_report.pyi +53 -0
- homeassistant-stubs/components/ambient_station/__init__.pyi +1 -15
- homeassistant-stubs/components/ambient_station/binary_sensor.pyi +1 -3
- homeassistant-stubs/components/ambient_station/entity.pyi +21 -0
- homeassistant-stubs/components/ambient_station/sensor.pyi +2 -1
- homeassistant-stubs/components/amcrest/__init__.pyi +0 -1
- homeassistant-stubs/components/amcrest/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/analytics/analytics.pyi +0 -1
- homeassistant-stubs/components/anova/__init__.pyi +1 -1
- homeassistant-stubs/components/anova/config_flow.pyi +4 -4
- homeassistant-stubs/components/anova/coordinator.pyi +2 -2
- homeassistant-stubs/components/anova/entity.pyi +2 -2
- homeassistant-stubs/components/anova/models.pyi +0 -1
- homeassistant-stubs/components/anova/sensor.pyi +0 -2
- homeassistant-stubs/components/anthemav/__init__.pyi +1 -1
- homeassistant-stubs/components/anthemav/const.pyi +1 -1
- homeassistant-stubs/components/anthemav/media_player.pyi +2 -2
- homeassistant-stubs/components/apcupsd/__init__.pyi +1 -1
- homeassistant-stubs/components/aqualogic/sensor.pyi +0 -1
- homeassistant-stubs/components/aseko_pool_live/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/aseko_pool_live/entity.pyi +2 -1
- homeassistant-stubs/components/aseko_pool_live/sensor.pyi +1 -0
- homeassistant-stubs/components/assist_pipeline/__init__.pyi +2 -2
- homeassistant-stubs/components/assist_pipeline/const.pyi +3 -0
- homeassistant-stubs/components/assist_pipeline/error.pyi +2 -0
- homeassistant-stubs/components/assist_pipeline/pipeline.pyi +35 -14
- homeassistant-stubs/components/assist_pipeline/ring_buffer.pyi +15 -0
- homeassistant-stubs/components/assist_pipeline/vad.pyi +41 -6
- homeassistant-stubs/components/assist_pipeline/websocket_api.pyi +2 -2
- homeassistant-stubs/components/asuswrt/router.pyi +1 -2
- homeassistant-stubs/components/asuswrt/sensor.pyi +0 -1
- homeassistant-stubs/components/auth/__init__.pyi +2 -1
- homeassistant-stubs/components/automation/__init__.pyi +0 -1
- homeassistant-stubs/components/awair/__init__.pyi +0 -1
- homeassistant-stubs/components/awair/sensor.pyi +1 -3
- homeassistant-stubs/components/backup/manager.pyi +0 -1
- homeassistant-stubs/components/baf/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/baf/entity.pyi +2 -2
- homeassistant-stubs/components/baf/light.pyi +1 -2
- homeassistant-stubs/components/baf/models.pyi +0 -2
- homeassistant-stubs/components/baf/number.pyi +0 -2
- homeassistant-stubs/components/baf/sensor.pyi +0 -2
- homeassistant-stubs/components/baf/switch.pyi +0 -2
- homeassistant-stubs/components/bayesian/helpers.pyi +0 -1
- homeassistant-stubs/components/binary_sensor/__init__.pyi +0 -1
- homeassistant-stubs/components/bluetooth/base_scanner.pyi +0 -1
- homeassistant-stubs/components/bluetooth/match.pyi +0 -1
- homeassistant-stubs/components/bluetooth/models.pyi +0 -1
- homeassistant-stubs/components/bluetooth/passive_update_processor.pyi +59 -20
- homeassistant-stubs/components/bluetooth/update_coordinator.pyi +6 -3
- homeassistant-stubs/components/bluetooth/wrappers.pyi +1 -2
- homeassistant-stubs/components/bmw_connected_drive/__init__.pyi +1 -1
- homeassistant-stubs/components/bmw_connected_drive/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/bmw_connected_drive/button.pyi +6 -5
- homeassistant-stubs/components/bmw_connected_drive/number.pyi +0 -2
- homeassistant-stubs/components/bmw_connected_drive/select.pyi +0 -2
- homeassistant-stubs/components/bmw_connected_drive/sensor.pyi +0 -1
- homeassistant-stubs/components/bmw_connected_drive/switch.pyi +0 -2
- homeassistant-stubs/components/bond/button.pyi +0 -2
- homeassistant-stubs/components/bond/entity.pyi +2 -1
- homeassistant-stubs/components/bond/models.pyi +0 -1
- homeassistant-stubs/components/braviatv/button.pyi +0 -2
- homeassistant-stubs/components/braviatv/coordinator.pyi +2 -2
- homeassistant-stubs/components/braviatv/entity.pyi +1 -1
- homeassistant-stubs/components/brother/sensor.pyi +1 -3
- homeassistant-stubs/components/button/__init__.pyi +0 -1
- homeassistant-stubs/components/calendar/__init__.pyi +5 -3
- homeassistant-stubs/components/calendar/trigger.pyi +0 -2
- homeassistant-stubs/components/camera/__init__.pyi +3 -1
- homeassistant-stubs/components/camera/prefs.pyi +0 -1
- homeassistant-stubs/components/canary/camera.pyi +1 -1
- homeassistant-stubs/components/canary/sensor.pyi +1 -1
- homeassistant-stubs/components/cloud/alexa_config.pyi +3 -2
- homeassistant-stubs/components/cloud/http_api.pyi +3 -3
- homeassistant-stubs/components/cover/__init__.pyi +2 -3
- homeassistant-stubs/components/cpuspeed/sensor.pyi +1 -1
- homeassistant-stubs/components/crownstone/devices.pyi +2 -1
- homeassistant-stubs/components/deconz/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/deconz/button.pyi +0 -2
- homeassistant-stubs/components/deconz/deconz_device.pyi +2 -2
- homeassistant-stubs/components/deconz/device_trigger.pyi +1 -0
- homeassistant-stubs/components/deconz/light.pyi +1 -1
- homeassistant-stubs/components/deconz/number.pyi +0 -2
- homeassistant-stubs/components/deconz/sensor.pyi +0 -2
- homeassistant-stubs/components/demo/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/demo/button.pyi +1 -1
- homeassistant-stubs/components/demo/calendar.pyi +2 -2
- homeassistant-stubs/components/demo/climate.pyi +1 -1
- homeassistant-stubs/components/demo/cover.pyi +1 -1
- homeassistant-stubs/components/demo/date.pyi +1 -1
- homeassistant-stubs/components/demo/datetime.pyi +1 -1
- homeassistant-stubs/components/demo/event.pyi +1 -1
- homeassistant-stubs/components/demo/light.pyi +1 -1
- homeassistant-stubs/components/demo/number.pyi +1 -1
- homeassistant-stubs/components/demo/select.pyi +1 -1
- homeassistant-stubs/components/demo/sensor.pyi +1 -1
- homeassistant-stubs/components/demo/switch.pyi +1 -1
- homeassistant-stubs/components/demo/text.pyi +1 -1
- homeassistant-stubs/components/demo/time.pyi +1 -1
- homeassistant-stubs/components/demo/update.pyi +1 -1
- homeassistant-stubs/components/demo/weather.pyi +1 -0
- homeassistant-stubs/components/derivative/sensor.pyi +1 -1
- homeassistant-stubs/components/device_automation/__init__.pyi +0 -1
- homeassistant-stubs/components/device_tracker/config_entry.pyi +2 -1
- homeassistant-stubs/components/devolo_home_control/devolo_device.pyi +2 -1
- homeassistant-stubs/components/devolo_home_network/__init__.pyi +2 -2
- homeassistant-stubs/components/devolo_home_network/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/devolo_home_network/button.pyi +0 -2
- homeassistant-stubs/components/devolo_home_network/const.pyi +2 -0
- homeassistant-stubs/components/devolo_home_network/entity.pyi +2 -1
- homeassistant-stubs/components/devolo_home_network/image.pyi +32 -0
- homeassistant-stubs/components/devolo_home_network/sensor.pyi +0 -2
- homeassistant-stubs/components/devolo_home_network/switch.pyi +0 -2
- homeassistant-stubs/components/devolo_home_network/update.pyi +40 -0
- homeassistant-stubs/components/dhcp/__init__.pyi +0 -1
- homeassistant-stubs/components/diagnostics/__init__.pyi +0 -2
- homeassistant-stubs/components/dlna_dmr/media_player.pyi +2 -2
- homeassistant-stubs/components/dnsip/sensor.pyi +1 -2
- homeassistant-stubs/components/doorbird/__init__.pyi +25 -0
- homeassistant-stubs/components/doorbird/button.pyi +32 -0
- homeassistant-stubs/components/doorbird/camera.pyi +33 -0
- homeassistant-stubs/components/doorbird/config_flow.pyi +37 -0
- homeassistant-stubs/components/doorbird/const.pyi +19 -0
- homeassistant-stubs/components/doorbird/device.pyi +40 -0
- homeassistant-stubs/components/doorbird/entity.pyi +14 -0
- homeassistant-stubs/components/doorbird/logbook.pyi +8 -0
- homeassistant-stubs/components/doorbird/models.pyi +8 -0
- homeassistant-stubs/components/doorbird/util.pyi +8 -0
- homeassistant-stubs/components/doorbird/view.pyi +14 -0
- homeassistant-stubs/components/dormakaba_dkey/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/dormakaba_dkey/entity.pyi +1 -1
- homeassistant-stubs/components/dormakaba_dkey/models.pyi +0 -1
- homeassistant-stubs/components/dsmr/sensor.pyi +1 -3
- homeassistant-stubs/components/dunehd/media_player.pyi +3 -7
- homeassistant-stubs/components/efergy/__init__.pyi +2 -1
- homeassistant-stubs/components/electrasmart/climate.pyi +1 -1
- homeassistant-stubs/components/electric_kiwi/select.pyi +27 -0
- homeassistant-stubs/components/electric_kiwi/sensor.pyi +1 -3
- homeassistant-stubs/components/elgato/button.pyi +0 -2
- homeassistant-stubs/components/elgato/coordinator.pyi +0 -1
- homeassistant-stubs/components/elgato/entity.pyi +1 -2
- homeassistant-stubs/components/elgato/sensor.pyi +0 -2
- homeassistant-stubs/components/elgato/switch.pyi +0 -2
- homeassistant-stubs/components/elkm1/__init__.pyi +2 -2
- homeassistant-stubs/components/elkm1/climate.pyi +6 -15
- homeassistant-stubs/components/elkm1/sensor.pyi +10 -18
- homeassistant-stubs/components/energy/sensor.pyi +0 -1
- homeassistant-stubs/components/energy/validate.pyi +0 -3
- homeassistant-stubs/components/esphome/bluetooth/cache.pyi +0 -1
- homeassistant-stubs/components/esphome/bluetooth/client.pyi +3 -3
- homeassistant-stubs/components/esphome/bluetooth/device.pyi +0 -1
- homeassistant-stubs/components/esphome/bluetooth/scanner.pyi +2 -0
- homeassistant-stubs/components/esphome/domain_data.pyi +0 -1
- homeassistant-stubs/components/esphome/entity.pyi +2 -1
- homeassistant-stubs/components/esphome/entry_data.pyi +0 -1
- homeassistant-stubs/components/esphome/manager.pyi +1 -1
- homeassistant-stubs/components/esphome/update.pyi +1 -1
- homeassistant-stubs/components/esphome/voice_assistant.pyi +5 -7
- homeassistant-stubs/components/event/__init__.pyi +0 -2
- homeassistant-stubs/components/evil_genius_labs/__init__.pyi +1 -1
- homeassistant-stubs/components/evil_genius_labs/util.pyi +3 -2
- homeassistant-stubs/components/fan/__init__.pyi +0 -1
- homeassistant-stubs/components/feedreader/__init__.pyi +21 -18
- homeassistant-stubs/components/file_upload/__init__.pyi +0 -1
- homeassistant-stubs/components/filesize/__init__.pyi +2 -1
- homeassistant-stubs/components/filesize/coordinator.pyi +12 -0
- homeassistant-stubs/components/filesize/sensor.pyi +3 -8
- homeassistant-stubs/components/filter/sensor.pyi +0 -1
- homeassistant-stubs/components/fitbit/sensor.pyi +0 -1
- homeassistant-stubs/components/flux_led/entity.pyi +2 -1
- homeassistant-stubs/components/forecast_solar/__init__.pyi +2 -1
- homeassistant-stubs/components/forecast_solar/config_flow.pyi +1 -1
- homeassistant-stubs/components/forecast_solar/const.pyi +2 -0
- homeassistant-stubs/components/forecast_solar/coordinator.pyi +1 -1
- homeassistant-stubs/components/forecast_solar/sensor.pyi +1 -3
- homeassistant-stubs/components/fritz/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/fritz/button.pyi +1 -4
- homeassistant-stubs/components/fritz/common.pyi +2 -6
- homeassistant-stubs/components/fritz/sensor.pyi +0 -1
- homeassistant-stubs/components/fritz/switch.pyi +2 -2
- homeassistant-stubs/components/fritzbox/__init__.pyi +3 -2
- homeassistant-stubs/components/fritzbox/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/fritzbox/button.pyi +1 -1
- homeassistant-stubs/components/fritzbox/coordinator.pyi +0 -1
- homeassistant-stubs/components/fritzbox/model.pyi +0 -1
- homeassistant-stubs/components/fritzbox/sensor.pyi +5 -3
- homeassistant-stubs/components/fritzbox_callmonitor/sensor.pyi +1 -1
- homeassistant-stubs/components/fronius/__init__.pyi +1 -1
- homeassistant-stubs/components/fronius/const.pyi +1 -1
- homeassistant-stubs/components/fronius/sensor.pyi +1 -2
- homeassistant-stubs/components/fully_kiosk/button.pyi +0 -2
- homeassistant-stubs/components/fully_kiosk/entity.pyi +2 -2
- homeassistant-stubs/components/fully_kiosk/sensor.pyi +0 -1
- homeassistant-stubs/components/fully_kiosk/switch.pyi +0 -2
- homeassistant-stubs/components/geocaching/sensor.pyi +1 -4
- homeassistant-stubs/components/gios/sensor.pyi +1 -4
- homeassistant-stubs/components/goalzero/entity.pyi +2 -1
- homeassistant-stubs/components/google/calendar.pyi +3 -8
- homeassistant-stubs/components/group/__init__.pyi +4 -1
- homeassistant-stubs/components/group/binary_sensor.pyi +4 -4
- homeassistant-stubs/components/group/config_flow.pyi +22 -7
- homeassistant-stubs/components/group/cover.pyi +6 -9
- homeassistant-stubs/components/group/event.pyi +29 -0
- homeassistant-stubs/components/group/fan.pyi +6 -9
- homeassistant-stubs/components/group/light.pyi +3 -4
- homeassistant-stubs/components/group/lock.pyi +2 -3
- homeassistant-stubs/components/group/media_player.pyi +5 -3
- homeassistant-stubs/components/group/sensor.pyi +2 -3
- homeassistant-stubs/components/group/switch.pyi +2 -3
- homeassistant-stubs/components/guardian/__init__.pyi +2 -4
- homeassistant-stubs/components/guardian/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/guardian/button.pyi +0 -2
- homeassistant-stubs/components/guardian/sensor.pyi +0 -1
- homeassistant-stubs/components/guardian/switch.pyi +0 -2
- homeassistant-stubs/components/guardian/util.pyi +0 -1
- homeassistant-stubs/components/hardware/models.pyi +0 -3
- homeassistant-stubs/components/hardware/websocket_api.pyi +0 -1
- homeassistant-stubs/components/here_travel_time/model.pyi +0 -1
- homeassistant-stubs/components/here_travel_time/sensor.pyi +1 -2
- homeassistant-stubs/components/history/websocket_api.pyi +0 -1
- homeassistant-stubs/components/homeassistant/exposed_entities.pyi +0 -2
- homeassistant-stubs/components/homeassistant_alerts/__init__.pyi +0 -1
- homeassistant-stubs/components/homeassistant_green/__init__.pyi +7 -0
- homeassistant-stubs/components/homeassistant_green/config_flow.pyi +8 -0
- homeassistant-stubs/components/homeassistant_green/const.pyi +1 -0
- homeassistant-stubs/components/homeassistant_green/hardware.pyi +11 -0
- homeassistant-stubs/components/homeassistant_hardware/const.pyi +1 -0
- homeassistant-stubs/components/homeassistant_hardware/silabs_multiprotocol_addon.pyi +29 -13
- homeassistant-stubs/components/homeassistant_sky_connect/hardware.pyi +1 -0
- homeassistant-stubs/components/homeassistant_yellow/hardware.pyi +1 -0
- homeassistant-stubs/components/homekit_controller/button.pyi +0 -1
- homeassistant-stubs/components/homewizard/const.pyi +0 -1
- homeassistant-stubs/components/homewizard/entity.pyi +1 -1
- homeassistant-stubs/components/homewizard/helpers.pyi +3 -2
- homeassistant-stubs/components/homewizard/sensor.pyi +0 -2
- homeassistant-stubs/components/homewizard/switch.pyi +0 -2
- homeassistant-stubs/components/http/__init__.pyi +5 -1
- homeassistant-stubs/components/http/ban.pyi +2 -2
- homeassistant-stubs/components/http/data_validator.pyi +2 -2
- homeassistant-stubs/components/http/decorators.pyi +15 -0
- homeassistant-stubs/components/http/headers.pyi +5 -0
- homeassistant-stubs/components/huawei_lte/__init__.pyi +2 -4
- homeassistant-stubs/components/huawei_lte/binary_sensor.pyi +0 -11
- homeassistant-stubs/components/huawei_lte/device_tracker.pyi +0 -1
- homeassistant-stubs/components/huawei_lte/notify.pyi +0 -1
- homeassistant-stubs/components/huawei_lte/sensor.pyi +0 -4
- homeassistant-stubs/components/huawei_lte/switch.pyi +0 -5
- homeassistant-stubs/components/hyperion/camera.pyi +4 -5
- homeassistant-stubs/components/hyperion/const.pyi +0 -2
- homeassistant-stubs/components/hyperion/light.pyi +3 -5
- homeassistant-stubs/components/hyperion/switch.pyi +5 -6
- homeassistant-stubs/components/ibeacon/entity.pyi +2 -1
- homeassistant-stubs/components/ibeacon/sensor.pyi +0 -2
- homeassistant-stubs/components/image/__init__.pyi +0 -2
- homeassistant-stubs/components/image_processing/__init__.pyi +0 -1
- homeassistant-stubs/components/imap/sensor.pyi +1 -2
- homeassistant-stubs/components/integration/sensor.pyi +1 -2
- homeassistant-stubs/components/ipp/__init__.pyi +11 -0
- homeassistant-stubs/components/ipp/config_flow.pyi +22 -0
- homeassistant-stubs/components/ipp/const.pyi +13 -0
- homeassistant-stubs/components/ipp/coordinator.pyi +15 -0
- homeassistant-stubs/components/ipp/entity.pyi +13 -0
- homeassistant-stubs/components/ipp/sensor.pyi +36 -0
- homeassistant-stubs/components/isy994/__init__.pyi +1 -2
- homeassistant-stubs/components/isy994/binary_sensor.pyi +2 -1
- homeassistant-stubs/components/isy994/button.pyi +2 -1
- homeassistant-stubs/components/isy994/climate.pyi +2 -1
- homeassistant-stubs/components/isy994/cover.pyi +2 -1
- homeassistant-stubs/components/isy994/entity.pyi +2 -1
- homeassistant-stubs/components/isy994/fan.pyi +2 -1
- homeassistant-stubs/components/isy994/helpers.pyi +1 -1
- homeassistant-stubs/components/isy994/light.pyi +2 -1
- homeassistant-stubs/components/isy994/lock.pyi +2 -1
- homeassistant-stubs/components/isy994/models.pyi +1 -2
- homeassistant-stubs/components/isy994/number.pyi +2 -1
- homeassistant-stubs/components/isy994/select.pyi +1 -1
- homeassistant-stubs/components/isy994/sensor.pyi +2 -1
- homeassistant-stubs/components/isy994/switch.pyi +1 -2
- homeassistant-stubs/components/jellyfin/entity.pyi +2 -2
- homeassistant-stubs/components/jellyfin/media_player.pyi +1 -1
- homeassistant-stubs/components/jellyfin/models.pyi +0 -1
- homeassistant-stubs/components/jellyfin/sensor.pyi +0 -2
- homeassistant-stubs/components/jewish_calendar/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/jvc_projector/entity.pyi +1 -1
- homeassistant-stubs/components/kaleidescape/__init__.pyi +0 -1
- homeassistant-stubs/components/kaleidescape/entity.pyi +2 -1
- homeassistant-stubs/components/kaleidescape/sensor.pyi +0 -2
- homeassistant-stubs/components/knx/config_flow.pyi +1 -4
- homeassistant-stubs/components/knx/device.pyi +1 -1
- homeassistant-stubs/components/knx/helpers/keyring.pyi +12 -0
- homeassistant-stubs/components/knx/project.pyi +0 -1
- homeassistant-stubs/components/knx/sensor.pyi +0 -1
- homeassistant-stubs/components/kraken/sensor.pyi +3 -5
- homeassistant-stubs/components/lacrosse_view/sensor.pyi +1 -3
- homeassistant-stubs/components/lametric/button.pyi +0 -2
- homeassistant-stubs/components/lametric/entity.pyi +1 -2
- homeassistant-stubs/components/lametric/helpers.pyi +3 -2
- homeassistant-stubs/components/lametric/number.pyi +0 -2
- homeassistant-stubs/components/lametric/select.pyi +0 -2
- homeassistant-stubs/components/lametric/sensor.pyi +0 -2
- homeassistant-stubs/components/lametric/switch.pyi +0 -2
- homeassistant-stubs/components/laundrify/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/lawn_mower/__init__.pyi +35 -0
- homeassistant-stubs/components/lawn_mower/const.pyi +17 -0
- homeassistant-stubs/components/lcn/__init__.pyi +2 -1
- homeassistant-stubs/components/ld2410_ble/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/ld2410_ble/coordinator.pyi +1 -1
- homeassistant-stubs/components/ld2410_ble/models.pyi +0 -1
- homeassistant-stubs/components/ld2410_ble/sensor.pyi +1 -1
- homeassistant-stubs/components/lidarr/__init__.pyi +2 -2
- homeassistant-stubs/components/lidarr/sensor.pyi +0 -2
- homeassistant-stubs/components/lifx/__init__.pyi +1 -1
- homeassistant-stubs/components/lifx/entity.pyi +1 -1
- homeassistant-stubs/components/lifx/light.pyi +1 -2
- homeassistant-stubs/components/light/__init__.pyi +0 -3
- homeassistant-stubs/components/litejet/config_flow.pyi +2 -1
- homeassistant-stubs/components/litejet/light.pyi +1 -1
- homeassistant-stubs/components/litejet/scene.pyi +1 -1
- homeassistant-stubs/components/litejet/switch.pyi +1 -1
- homeassistant-stubs/components/litterrobot/__init__.pyi +2 -0
- homeassistant-stubs/components/litterrobot/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/litterrobot/button.pyi +0 -2
- homeassistant-stubs/components/litterrobot/entity.pyi +2 -1
- homeassistant-stubs/components/litterrobot/select.pyi +0 -2
- homeassistant-stubs/components/litterrobot/sensor.pyi +0 -1
- homeassistant-stubs/components/litterrobot/switch.pyi +0 -2
- homeassistant-stubs/components/litterrobot/time.pyi +0 -2
- homeassistant-stubs/components/lock/__init__.pyi +0 -1
- homeassistant-stubs/components/logbook/models.pyi +0 -2
- homeassistant-stubs/components/logbook/processor.pyi +0 -1
- homeassistant-stubs/components/logbook/websocket_api.pyi +0 -1
- homeassistant-stubs/components/logger/helpers.pyi +0 -2
- homeassistant-stubs/components/lookin/const.pyi +1 -1
- homeassistant-stubs/components/lookin/entity.pyi +1 -1
- homeassistant-stubs/components/lookin/models.pyi +0 -1
- homeassistant-stubs/components/luftdaten/sensor.pyi +1 -1
- homeassistant-stubs/components/matter/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/matter/entity.pyi +2 -2
- homeassistant-stubs/components/matter/helpers.pyi +0 -1
- homeassistant-stubs/components/matter/models.pyi +0 -2
- homeassistant-stubs/components/matter/sensor.pyi +0 -1
- homeassistant-stubs/components/media_extractor/__init__.pyi +31 -0
- homeassistant-stubs/components/media_player/__init__.pyi +0 -1
- homeassistant-stubs/components/media_source/local_source.pyi +1 -1
- homeassistant-stubs/components/media_source/models.pyi +0 -2
- homeassistant-stubs/components/metoffice/__init__.pyi +1 -1
- homeassistant-stubs/components/metoffice/const.pyi +1 -0
- homeassistant-stubs/components/metoffice/data.pyi +0 -1
- homeassistant-stubs/components/metoffice/sensor.pyi +1 -1
- homeassistant-stubs/components/metoffice/weather.pyi +1 -2
- homeassistant-stubs/components/mjpeg/camera.pyi +1 -1
- homeassistant-stubs/components/modbus/__init__.pyi +2 -2
- homeassistant-stubs/components/modbus/base_platform.pyi +4 -3
- homeassistant-stubs/components/modbus/climate.pyi +4 -3
- homeassistant-stubs/components/modbus/const.pyi +3 -11
- homeassistant-stubs/components/modbus/modbus.pyi +6 -6
- homeassistant-stubs/components/modbus/sensor.pyi +4 -1
- homeassistant-stubs/components/modbus/validators.pyi +1 -0
- homeassistant-stubs/components/modem_callerid/button.pyi +4 -1
- homeassistant-stubs/components/modem_callerid/sensor.pyi +5 -2
- homeassistant-stubs/components/moon/sensor.pyi +1 -3
- homeassistant-stubs/components/mqtt/abbreviations.pyi +1 -0
- homeassistant-stubs/components/mqtt/alarm_control_panel.pyi +2 -3
- homeassistant-stubs/components/mqtt/climate.pyi +4 -1
- homeassistant-stubs/components/mqtt/const.pyi +13 -0
- homeassistant-stubs/components/mqtt/device_tracker.pyi +2 -0
- homeassistant-stubs/components/mqtt/discovery.pyi +6 -4
- homeassistant-stubs/components/mqtt/lawn_mower.pyi +64 -0
- homeassistant-stubs/components/mqtt/mixins.pyi +4 -14
- homeassistant-stubs/components/mqtt/models.pyi +7 -1
- homeassistant-stubs/components/mysensors/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/mysensors/device.pyi +2 -1
- homeassistant-stubs/components/nam/__init__.pyi +1 -1
- homeassistant-stubs/components/nam/config_flow.pyi +0 -1
- homeassistant-stubs/components/nam/sensor.pyi +0 -2
- homeassistant-stubs/components/nanoleaf/__init__.pyi +0 -1
- homeassistant-stubs/components/nanoleaf/entity.pyi +1 -1
- homeassistant-stubs/components/neato/__init__.pyi +1 -0
- homeassistant-stubs/components/neato/button.pyi +18 -0
- homeassistant-stubs/components/neato/camera.pyi +4 -9
- homeassistant-stubs/components/neato/entity.pyi +12 -0
- homeassistant-stubs/components/neato/sensor.pyi +3 -9
- homeassistant-stubs/components/neato/switch.pyi +4 -9
- homeassistant-stubs/components/neato/vacuum.pyi +5 -5
- homeassistant-stubs/components/nest/camera.pyi +6 -4
- homeassistant-stubs/components/nest/climate.pyi +5 -11
- homeassistant-stubs/components/nest/device_info.pyi +1 -1
- homeassistant-stubs/components/nest/media_source.pyi +0 -1
- homeassistant-stubs/components/netatmo/__init__.pyi +1 -0
- homeassistant-stubs/components/netatmo/climate.pyi +1 -1
- homeassistant-stubs/components/netatmo/data_handler.pyi +0 -4
- homeassistant-stubs/components/netatmo/helper.pyi +0 -1
- homeassistant-stubs/components/netatmo/netatmo_entity_base.pyi +2 -1
- homeassistant-stubs/components/netatmo/sensor.pyi +0 -2
- homeassistant-stubs/components/nextdns/__init__.pyi +2 -3
- homeassistant-stubs/components/nextdns/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/nextdns/sensor.pyi +0 -2
- homeassistant-stubs/components/nextdns/switch.pyi +0 -2
- homeassistant-stubs/components/notion/__init__.pyi +2 -2
- homeassistant-stubs/components/notion/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/notion/model.pyi +0 -1
- homeassistant-stubs/components/notion/sensor.pyi +0 -1
- homeassistant-stubs/components/number/__init__.pyi +0 -2
- homeassistant-stubs/components/nut/__init__.pyi +0 -1
- homeassistant-stubs/components/nut/sensor.pyi +1 -1
- homeassistant-stubs/components/oncue/entity.pyi +3 -1
- homeassistant-stubs/components/onewire/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/onewire/model.pyi +1 -2
- homeassistant-stubs/components/onewire/onewire_entities.pyi +2 -2
- homeassistant-stubs/components/onewire/onewirehub.pyi +1 -1
- homeassistant-stubs/components/onewire/sensor.pyi +0 -1
- homeassistant-stubs/components/onewire/switch.pyi +0 -1
- homeassistant-stubs/components/open_meteo/weather.pyi +7 -6
- homeassistant-stubs/components/openexchangerates/sensor.pyi +4 -5
- homeassistant-stubs/components/opensky/__init__.pyi +5 -1
- homeassistant-stubs/components/opensky/config_flow.pyi +10 -3
- homeassistant-stubs/components/opensky/const.pyi +3 -1
- homeassistant-stubs/components/opensky/coordinator.pyi +17 -0
- homeassistant-stubs/components/opensky/sensor.pyi +14 -22
- homeassistant-stubs/components/openuv/config_flow.pyi +0 -1
- homeassistant-stubs/components/otbr/util.pyi +6 -4
- homeassistant-stubs/components/otbr/websocket_api.pyi +0 -1
- homeassistant-stubs/components/overkiz/__init__.pyi +0 -1
- homeassistant-stubs/components/overkiz/alarm_control_panel.pyi +0 -2
- homeassistant-stubs/components/overkiz/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/overkiz/button.pyi +0 -1
- homeassistant-stubs/components/overkiz/entity.pyi +2 -1
- homeassistant-stubs/components/overkiz/number.pyi +0 -2
- homeassistant-stubs/components/overkiz/select.pyi +0 -2
- homeassistant-stubs/components/overkiz/sensor.pyi +1 -2
- homeassistant-stubs/components/overkiz/switch.pyi +0 -2
- homeassistant-stubs/components/peco/__init__.pyi +0 -1
- homeassistant-stubs/components/peco/sensor.pyi +3 -3
- homeassistant-stubs/components/pi_hole/__init__.pyi +1 -1
- homeassistant-stubs/components/pi_hole/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/pi_hole/update.pyi +0 -1
- homeassistant-stubs/components/powerwall/binary_sensor.pyi +4 -5
- homeassistant-stubs/components/powerwall/entity.pyi +2 -1
- homeassistant-stubs/components/powerwall/models.pyi +0 -2
- homeassistant-stubs/components/powerwall/sensor.pyi +4 -6
- homeassistant-stubs/components/powerwall/switch.pyi +1 -2
- homeassistant-stubs/components/prusalink/__init__.pyi +1 -1
- homeassistant-stubs/components/prusalink/button.pyi +0 -2
- homeassistant-stubs/components/prusalink/sensor.pyi +0 -2
- homeassistant-stubs/components/pure_energie/sensor.pyi +1 -3
- homeassistant-stubs/components/purpleair/__init__.pyi +1 -1
- homeassistant-stubs/components/purpleair/config_flow.pyi +0 -1
- homeassistant-stubs/components/purpleair/sensor.pyi +0 -2
- homeassistant-stubs/components/pvoutput/sensor.pyi +1 -3
- homeassistant-stubs/components/qnap_qsw/binary_sensor.pyi +2 -1
- homeassistant-stubs/components/qnap_qsw/button.pyi +1 -3
- homeassistant-stubs/components/qnap_qsw/entity.pyi +3 -3
- homeassistant-stubs/components/qnap_qsw/sensor.pyi +2 -1
- homeassistant-stubs/components/qnap_qsw/update.pyi +0 -1
- homeassistant-stubs/components/radarr/__init__.pyi +2 -2
- homeassistant-stubs/components/radarr/sensor.pyi +0 -2
- homeassistant-stubs/components/rainmachine/__init__.pyi +1 -2
- homeassistant-stubs/components/rainmachine/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/rainmachine/button.pyi +0 -2
- homeassistant-stubs/components/rainmachine/model.pyi +0 -4
- homeassistant-stubs/components/rainmachine/select.pyi +0 -4
- homeassistant-stubs/components/rainmachine/sensor.pyi +0 -2
- homeassistant-stubs/components/rainmachine/switch.pyi +2 -5
- homeassistant-stubs/components/rainmachine/util.pyi +0 -1
- homeassistant-stubs/components/rdw/binary_sensor.pyi +1 -4
- homeassistant-stubs/components/rdw/sensor.pyi +1 -4
- homeassistant-stubs/components/recollect_waste/entity.pyi +1 -2
- homeassistant-stubs/components/recorder/migration.pyi +0 -2
- homeassistant-stubs/components/recorder/models/database.pyi +0 -2
- homeassistant-stubs/components/recorder/statistics.pyi +0 -2
- homeassistant-stubs/components/recorder/table_managers/recorder_runs.pyi +0 -1
- homeassistant-stubs/components/recorder/tasks.pyi +0 -30
- homeassistant-stubs/components/recorder/util.pyi +2 -2
- homeassistant-stubs/components/remote/__init__.pyi +0 -1
- homeassistant-stubs/components/renault/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/renault/button.pyi +0 -2
- homeassistant-stubs/components/renault/entity.pyi +0 -2
- homeassistant-stubs/components/renault/renault_hub.pyi +1 -0
- homeassistant-stubs/components/renault/renault_vehicle.pyi +3 -4
- homeassistant-stubs/components/renault/select.pyi +0 -2
- homeassistant-stubs/components/renault/sensor.pyi +0 -2
- homeassistant-stubs/components/repairs/websocket_api.pyi +1 -0
- homeassistant-stubs/components/rest/binary_sensor.pyi +7 -5
- homeassistant-stubs/components/rest/schema.pyi +1 -1
- homeassistant-stubs/components/rest/sensor.pyi +13 -6
- homeassistant-stubs/components/rest/switch.pyi +6 -5
- homeassistant-stubs/components/rest/util.pyi +7 -0
- homeassistant-stubs/components/rfxtrx/__init__.pyi +2 -1
- homeassistant-stubs/components/rfxtrx/sensor.pyi +0 -1
- homeassistant-stubs/components/ridwell/entity.pyi +1 -2
- homeassistant-stubs/components/ridwell/switch.pyi +0 -1
- homeassistant-stubs/components/rituals_perfume_genie/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/rituals_perfume_genie/entity.pyi +2 -1
- homeassistant-stubs/components/rituals_perfume_genie/number.pyi +0 -2
- homeassistant-stubs/components/rituals_perfume_genie/select.pyi +0 -2
- homeassistant-stubs/components/rituals_perfume_genie/sensor.pyi +0 -2
- homeassistant-stubs/components/rituals_perfume_genie/switch.pyi +0 -2
- homeassistant-stubs/components/roku/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/roku/coordinator.pyi +2 -1
- homeassistant-stubs/components/roku/entity.pyi +4 -6
- homeassistant-stubs/components/roku/helpers.pyi +2 -2
- homeassistant-stubs/components/roku/select.pyi +0 -2
- homeassistant-stubs/components/roku/sensor.pyi +0 -2
- homeassistant-stubs/components/ruuvi_gateway/models.pyi +0 -1
- homeassistant-stubs/components/samsungtv/entity.pyi +2 -1
- homeassistant-stubs/components/scrape/__init__.pyi +1 -1
- homeassistant-stubs/components/scrape/config_flow.pyi +1 -1
- homeassistant-stubs/components/scrape/sensor.pyi +9 -6
- homeassistant-stubs/components/select/__init__.pyi +0 -1
- homeassistant-stubs/components/sensibo/binary_sensor.pyi +0 -4
- homeassistant-stubs/components/sensibo/button.pyi +0 -2
- homeassistant-stubs/components/sensibo/climate.pyi +3 -0
- homeassistant-stubs/components/sensibo/entity.pyi +3 -4
- homeassistant-stubs/components/sensibo/number.pyi +0 -2
- homeassistant-stubs/components/sensibo/select.pyi +0 -2
- homeassistant-stubs/components/sensibo/sensor.pyi +0 -4
- homeassistant-stubs/components/sensibo/switch.pyi +0 -2
- homeassistant-stubs/components/sensibo/update.pyi +0 -2
- homeassistant-stubs/components/sensor/__init__.pyi +0 -2
- homeassistant-stubs/components/senz/climate.pyi +1 -1
- homeassistant-stubs/components/sfr_box/binary_sensor.pyi +1 -3
- homeassistant-stubs/components/sfr_box/button.pyi +3 -5
- homeassistant-stubs/components/sfr_box/models.pyi +0 -1
- homeassistant-stubs/components/sfr_box/sensor.pyi +1 -3
- homeassistant-stubs/components/shelly/__init__.pyi +2 -1
- homeassistant-stubs/components/shelly/binary_sensor.pyi +0 -3
- homeassistant-stubs/components/shelly/button.pyi +1 -4
- homeassistant-stubs/components/shelly/climate.pyi +1 -3
- homeassistant-stubs/components/shelly/const.pyi +1 -0
- homeassistant-stubs/components/shelly/coordinator.pyi +4 -4
- homeassistant-stubs/components/shelly/entity.pyi +2 -6
- homeassistant-stubs/components/shelly/number.pyi +0 -1
- homeassistant-stubs/components/shelly/sensor.pyi +0 -3
- homeassistant-stubs/components/shelly/switch.pyi +20 -2
- homeassistant-stubs/components/shelly/update.pyi +0 -4
- homeassistant-stubs/components/simplisafe/__init__.pyi +1 -1
- homeassistant-stubs/components/simplisafe/button.pyi +0 -2
- homeassistant-stubs/components/skybell/entity.pyi +2 -1
- homeassistant-stubs/components/skybell/sensor.pyi +0 -2
- homeassistant-stubs/components/slack/__init__.pyi +2 -2
- homeassistant-stubs/components/sleepiq/button.pyi +0 -2
- homeassistant-stubs/components/sleepiq/coordinator.pyi +0 -1
- homeassistant-stubs/components/sleepiq/entity.pyi +2 -1
- homeassistant-stubs/components/sleepiq/number.pyi +0 -2
- homeassistant-stubs/components/smhi/weather.pyi +11 -6
- homeassistant-stubs/components/snooz/config_flow.pyi +0 -1
- homeassistant-stubs/components/snooz/fan.pyi +4 -1
- homeassistant-stubs/components/snooz/models.pyi +0 -1
- homeassistant-stubs/components/sonarr/entity.pyi +2 -2
- homeassistant-stubs/components/sonarr/sensor.pyi +0 -2
- homeassistant-stubs/components/speedtestdotnet/sensor.pyi +1 -3
- homeassistant-stubs/components/sql/__init__.pyi +1 -1
- homeassistant-stubs/components/sql/models.pyi +0 -1
- homeassistant-stubs/components/sql/sensor.pyi +7 -9
- homeassistant-stubs/components/ssdp/__init__.pyi +0 -1
- homeassistant-stubs/components/starlink/__init__.pyi +11 -0
- homeassistant-stubs/components/starlink/binary_sensor.pyi +26 -0
- homeassistant-stubs/components/starlink/button.pyi +25 -0
- homeassistant-stubs/components/starlink/config_flow.pyi +12 -0
- homeassistant-stubs/components/starlink/const.pyi +1 -0
- homeassistant-stubs/components/starlink/coordinator.pyi +21 -0
- homeassistant-stubs/components/starlink/device_tracker.pyi +31 -0
- homeassistant-stubs/components/starlink/diagnostics.pyi +11 -0
- homeassistant-stubs/components/starlink/entity.pyi +13 -0
- homeassistant-stubs/components/starlink/sensor.pyi +28 -0
- homeassistant-stubs/components/starlink/switch.pyi +30 -0
- homeassistant-stubs/components/steamist/entity.pyi +2 -1
- homeassistant-stubs/components/steamist/sensor.pyi +0 -2
- homeassistant-stubs/components/stookalert/binary_sensor.pyi +1 -2
- homeassistant-stubs/components/stream/__init__.pyi +1 -1
- homeassistant-stubs/components/stream/core.pyi +4 -2
- homeassistant-stubs/components/sun/sensor.pyi +1 -4
- homeassistant-stubs/components/surepetcare/__init__.pyi +1 -0
- homeassistant-stubs/components/surepetcare/entity.pyi +1 -1
- homeassistant-stubs/components/switch/__init__.pyi +0 -1
- homeassistant-stubs/components/switchbee/entity.pyi +1 -1
- homeassistant-stubs/components/switcher_kis/button.pyi +2 -4
- homeassistant-stubs/components/switcher_kis/climate.pyi +3 -2
- homeassistant-stubs/components/switcher_kis/cover.pyi +3 -2
- homeassistant-stubs/components/switcher_kis/sensor.pyi +7 -20
- homeassistant-stubs/components/switcher_kis/switch.pyi +3 -2
- homeassistant-stubs/components/synology_dsm/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/synology_dsm/button.pyi +1 -3
- homeassistant-stubs/components/synology_dsm/camera.pyi +1 -2
- homeassistant-stubs/components/synology_dsm/entity.pyi +2 -3
- homeassistant-stubs/components/synology_dsm/models.pyi +0 -1
- homeassistant-stubs/components/synology_dsm/sensor.pyi +0 -1
- homeassistant-stubs/components/synology_dsm/switch.pyi +1 -2
- homeassistant-stubs/components/synology_dsm/update.pyi +0 -1
- homeassistant-stubs/components/systemmonitor/sensor.pyi +0 -2
- homeassistant-stubs/components/tailscale/__init__.pyi +2 -2
- homeassistant-stubs/components/tailscale/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/tailscale/sensor.pyi +0 -2
- homeassistant-stubs/components/tautulli/__init__.pyi +2 -2
- homeassistant-stubs/components/tautulli/sensor.pyi +0 -4
- homeassistant-stubs/components/text/__init__.pyi +0 -2
- homeassistant-stubs/components/threshold/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/tibber/sensor.pyi +1 -1
- homeassistant-stubs/components/tile/__init__.pyi +0 -1
- homeassistant-stubs/components/tile/device_tracker.pyi +5 -1
- homeassistant-stubs/components/tolo/__init__.pyi +1 -1
- homeassistant-stubs/components/tolo/number.pyi +0 -2
- homeassistant-stubs/components/tolo/sensor.pyi +0 -2
- homeassistant-stubs/components/tplink/diagnostics.pyi +1 -0
- homeassistant-stubs/components/tplink/entity.pyi +3 -3
- homeassistant-stubs/components/tplink/sensor.pyi +0 -1
- homeassistant-stubs/components/tplink_omada/entity.pyi +1 -1
- homeassistant-stubs/components/tplink_omada/update.pyi +2 -2
- homeassistant-stubs/components/tractive/__init__.pyi +3 -2
- homeassistant-stubs/components/tractive/binary_sensor.pyi +5 -8
- homeassistant-stubs/components/tractive/const.pyi +2 -0
- homeassistant-stubs/components/tractive/device_tracker.pyi +2 -3
- homeassistant-stubs/components/tractive/entity.pyi +13 -4
- homeassistant-stubs/components/tractive/sensor.pyi +11 -24
- homeassistant-stubs/components/tractive/switch.pyi +4 -9
- homeassistant-stubs/components/tradfri/base_class.pyi +1 -1
- homeassistant-stubs/components/tradfri/sensor.pyi +0 -2
- homeassistant-stubs/components/trafikverket_camera/__init__.pyi +13 -0
- homeassistant-stubs/components/trafikverket_camera/camera.pyi +28 -0
- homeassistant-stubs/components/trafikverket_camera/config_flow.pyi +15 -0
- homeassistant-stubs/components/trafikverket_camera/const.pyi +9 -0
- homeassistant-stubs/components/trafikverket_camera/coordinator.pyi +24 -0
- homeassistant-stubs/components/trafikverket_camera/recorder.pyi +5 -0
- homeassistant-stubs/components/trafikverket_ferry/sensor.pyi +1 -4
- homeassistant-stubs/components/trafikverket_train/__init__.pyi +2 -1
- homeassistant-stubs/components/trafikverket_train/config_flow.pyi +13 -4
- homeassistant-stubs/components/trafikverket_train/const.pyi +1 -0
- homeassistant-stubs/components/trafikverket_train/coordinator.pyi +7 -7
- homeassistant-stubs/components/trafikverket_train/sensor.pyi +26 -26
- homeassistant-stubs/components/trafikverket_train/util.pyi +4 -1
- homeassistant-stubs/components/trafikverket_weatherstation/sensor.pyi +1 -4
- homeassistant-stubs/components/tts/models.pyi +0 -1
- homeassistant-stubs/components/twentemilieu/entity.pyi +2 -2
- homeassistant-stubs/components/twentemilieu/sensor.pyi +0 -2
- homeassistant-stubs/components/unifi/button.pyi +30 -0
- homeassistant-stubs/components/unifi/config_flow.pyi +2 -2
- homeassistant-stubs/components/unifi/controller.pyi +10 -14
- homeassistant-stubs/components/unifi/device_tracker.pyi +0 -2
- homeassistant-stubs/components/unifi/entity.pyi +7 -7
- homeassistant-stubs/components/unifi/image.pyi +1 -3
- homeassistant-stubs/components/unifi/sensor.pyi +3 -7
- homeassistant-stubs/components/unifi/switch.pyi +12 -13
- homeassistant-stubs/components/unifi/update.pyi +0 -2
- homeassistant-stubs/components/unifiprotect/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/unifiprotect/button.pyi +0 -1
- homeassistant-stubs/components/unifiprotect/entity.pyi +2 -1
- homeassistant-stubs/components/unifiprotect/models.pyi +0 -4
- homeassistant-stubs/components/unifiprotect/number.pyi +0 -2
- homeassistant-stubs/components/unifiprotect/select.pyi +0 -1
- homeassistant-stubs/components/unifiprotect/sensor.pyi +0 -2
- homeassistant-stubs/components/unifiprotect/switch.pyi +0 -1
- homeassistant-stubs/components/unifiprotect/text.pyi +0 -1
- homeassistant-stubs/components/upcloud/__init__.pyi +1 -3
- homeassistant-stubs/components/update/__init__.pyi +1 -1
- homeassistant-stubs/components/uptime/sensor.pyi +1 -2
- homeassistant-stubs/components/uptimerobot/entity.pyi +2 -2
- homeassistant-stubs/components/usb/__init__.pyi +0 -1
- homeassistant-stubs/components/usb/models.pyi +0 -1
- homeassistant-stubs/components/vacuum/__init__.pyi +0 -2
- homeassistant-stubs/components/vallox/__init__.pyi +1 -2
- homeassistant-stubs/components/vallox/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/vallox/number.pyi +0 -2
- homeassistant-stubs/components/vallox/sensor.pyi +0 -1
- homeassistant-stubs/components/vallox/switch.pyi +0 -2
- homeassistant-stubs/components/velbus/button.pyi +1 -1
- homeassistant-stubs/components/velbus/climate.pyi +1 -1
- homeassistant-stubs/components/velbus/cover.pyi +1 -1
- homeassistant-stubs/components/velbus/entity.pyi +9 -1
- homeassistant-stubs/components/velbus/light.pyi +1 -1
- homeassistant-stubs/components/velbus/select.pyi +1 -1
- homeassistant-stubs/components/velbus/switch.pyi +1 -1
- homeassistant-stubs/components/vlc_telnet/media_player.pyi +3 -4
- homeassistant-stubs/components/wallbox/__init__.pyi +1 -1
- homeassistant-stubs/components/wallbox/number.pyi +0 -1
- homeassistant-stubs/components/wallbox/sensor.pyi +0 -1
- homeassistant-stubs/components/water_heater/__init__.pyi +0 -1
- homeassistant-stubs/components/watttime/sensor.pyi +2 -1
- homeassistant-stubs/components/weather/__init__.pyi +60 -34
- homeassistant-stubs/components/weather/websocket_api.pyi +1 -0
- homeassistant-stubs/components/webostv/media_player.pyi +3 -3
- homeassistant-stubs/components/wemo/entity.pyi +1 -1
- homeassistant-stubs/components/wemo/light.pyi +1 -2
- homeassistant-stubs/components/wemo/models.pyi +0 -2
- homeassistant-stubs/components/wemo/sensor.pyi +0 -1
- homeassistant-stubs/components/wemo/wemo_device.pyi +1 -4
- homeassistant-stubs/components/whois/sensor.pyi +1 -4
- homeassistant-stubs/components/wiz/entity.pyi +2 -2
- homeassistant-stubs/components/wiz/models.pyi +0 -1
- homeassistant-stubs/components/wiz/number.pyi +0 -2
- homeassistant-stubs/components/wled/helpers.pyi +3 -2
- homeassistant-stubs/components/wled/models.pyi +1 -2
- homeassistant-stubs/components/wled/number.pyi +0 -2
- homeassistant-stubs/components/wled/sensor.pyi +0 -2
- homeassistant-stubs/components/yale_smart_alarm/__init__.pyi +4 -1
- homeassistant-stubs/components/yale_smart_alarm/config_flow.pyi +1 -1
- homeassistant-stubs/components/yale_smart_alarm/coordinator.pyi +1 -1
- homeassistant-stubs/components/yale_smart_alarm/entity.pyi +2 -2
- homeassistant-stubs/components/yale_smart_alarm/lock.pyi +1 -1
- homeassistant-stubs/components/yalexs_ble/entity.pyi +2 -1
- homeassistant-stubs/components/yalexs_ble/models.pyi +0 -1
- homeassistant-stubs/components/yalexs_ble/sensor.pyi +0 -2
- homeassistant-stubs/components/zeroconf/__init__.pyi +0 -1
- homeassistant-stubs/components/zodiac/sensor.pyi +1 -2
- homeassistant-stubs/components/zwave_js/__init__.pyi +2 -0
- homeassistant-stubs/components/zwave_js/api.pyi +1 -1
- homeassistant-stubs/components/zwave_js/binary_sensor.pyi +0 -3
- homeassistant-stubs/components/zwave_js/device_action.pyi +2 -2
- homeassistant-stubs/components/zwave_js/device_automation_helpers.pyi +1 -4
- homeassistant-stubs/components/zwave_js/device_condition.pyi +2 -2
- homeassistant-stubs/components/zwave_js/diagnostics.pyi +2 -2
- homeassistant-stubs/components/zwave_js/discovery.pyi +0 -5
- homeassistant-stubs/components/zwave_js/discovery_data_template.pyi +0 -12
- homeassistant-stubs/components/zwave_js/entity.pyi +4 -3
- homeassistant-stubs/components/zwave_js/helpers.pyi +1 -4
- homeassistant-stubs/components/zwave_js/humidifier.pyi +0 -2
- homeassistant-stubs/components/zwave_js/migrate.pyi +0 -1
- homeassistant-stubs/components/zwave_js/repairs.pyi +15 -0
- homeassistant-stubs/components/zwave_js/sensor.pyi +21 -2
- homeassistant-stubs/components/zwave_js/services.pyi +0 -1
- homeassistant-stubs/components/zwave_js/update.pyi +0 -1
- homeassistant-stubs/config_entries.pyi +3 -0
- homeassistant-stubs/const.pyi +2 -0
- homeassistant-stubs/core.pyi +6 -5
- homeassistant-stubs/data_entry_flow.pyi +7 -4
- homeassistant-stubs/exceptions.pyi +0 -4
- homeassistant-stubs/helpers/collection.pyi +0 -1
- homeassistant-stubs/helpers/deprecation.pyi +3 -2
- homeassistant-stubs/helpers/device_registry.pyi +18 -2
- homeassistant-stubs/helpers/entity.pyi +4 -22
- homeassistant-stubs/helpers/entity_registry.pyi +1 -2
- homeassistant-stubs/helpers/event.pyi +5 -7
- homeassistant-stubs/helpers/integration_platform.pyi +0 -1
- homeassistant-stubs/helpers/intent.pyi +0 -1
- homeassistant-stubs/helpers/issue_registry.pyi +3 -3
- homeassistant-stubs/helpers/recorder.pyi +0 -1
- homeassistant-stubs/helpers/schema_config_entry_flow.pyi +6 -7
- homeassistant-stubs/helpers/script.pyi +7 -2
- homeassistant-stubs/helpers/selector.pyi +1 -0
- homeassistant-stubs/helpers/sensor.pyi +1 -1
- homeassistant-stubs/helpers/service.pyi +0 -1
- homeassistant-stubs/helpers/service_info/mqtt.pyi +0 -1
- homeassistant-stubs/helpers/storage.pyi +2 -1
- homeassistant-stubs/helpers/template.pyi +9 -15
- homeassistant-stubs/helpers/trigger.pyi +0 -1
- homeassistant-stubs/helpers/trigger_template_entity.pyi +62 -0
- homeassistant-stubs/helpers/update_coordinator.pyi +7 -1
- homeassistant-stubs/loader.pyi +3 -2
- homeassistant-stubs/runner.pyi +0 -2
- homeassistant-stubs/scripts/check_config.pyi +1 -1
- homeassistant-stubs/util/async_.pyi +2 -2
- homeassistant-stubs/util/language.pyi +0 -2
- homeassistant-stubs/util/pil.pyi +1 -1
- homeassistant-stubs/util/variance.pyi +3 -2
- homeassistant-stubs/util/yaml/objects.pyi +0 -1
- {homeassistant_stubs-2023.8.3.dist-info → homeassistant_stubs-2023.9.0.dist-info}/METADATA +3 -3
- {homeassistant_stubs-2023.8.3.dist-info → homeassistant_stubs-2023.9.0.dist-info}/RECORD +792 -721
- homeassistant-stubs/components/nest/binary_sensor.pyi +0 -7
- homeassistant-stubs/helpers/template_entity.pyi +0 -107
- {homeassistant_stubs-2023.8.3.dist-info → homeassistant_stubs-2023.9.0.dist-info}/LICENSE +0 -0
- {homeassistant_stubs-2023.8.3.dist-info → homeassistant_stubs-2023.9.0.dist-info}/WHEEL +0 -0
@@ -1,7 +1,6 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
2
2
|
from .coordinator import WLEDDataUpdateCoordinator as WLEDDataUpdateCoordinator
|
3
|
-
from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC as CONNECTION_NETWORK_MAC
|
4
|
-
from homeassistant.helpers.entity import DeviceInfo as DeviceInfo
|
3
|
+
from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC as CONNECTION_NETWORK_MAC, DeviceInfo as DeviceInfo
|
5
4
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
6
5
|
|
7
6
|
class WLEDEntity(CoordinatorEntity[WLEDDataUpdateCoordinator]):
|
@@ -18,11 +18,9 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_e
|
|
18
18
|
class WLEDNumberDescriptionMixin:
|
19
19
|
value_fn: Callable[[Segment], float | None]
|
20
20
|
def __init__(self, value_fn) -> None: ...
|
21
|
-
def __mypy-replace(*, value_fn) -> None: ...
|
22
21
|
|
23
22
|
class WLEDNumberEntityDescription(NumberEntityDescription, WLEDNumberDescriptionMixin):
|
24
23
|
def __init__(self, value_fn, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, max_value, min_value, mode, native_max_value, native_min_value, native_step, native_unit_of_measurement, step) -> None: ...
|
25
|
-
def __mypy-replace(*, value_fn, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, max_value, min_value, mode, native_max_value, native_min_value, native_step, native_unit_of_measurement, step) -> None: ...
|
26
24
|
|
27
25
|
NUMBERS: Incomplete
|
28
26
|
|
@@ -16,12 +16,10 @@ from wled import Device as WLEDDevice
|
|
16
16
|
class WLEDSensorEntityDescriptionMixin:
|
17
17
|
value_fn: Callable[[WLEDDevice], datetime | StateType]
|
18
18
|
def __init__(self, value_fn) -> None: ...
|
19
|
-
def __mypy-replace(*, value_fn) -> None: ...
|
20
19
|
|
21
20
|
class WLEDSensorEntityDescription(SensorEntityDescription, WLEDSensorEntityDescriptionMixin):
|
22
21
|
exists_fn: Callable[[WLEDDevice], bool]
|
23
22
|
def __init__(self, value_fn, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, last_reset, native_unit_of_measurement, options, state_class, suggested_display_precision, suggested_unit_of_measurement, exists_fn) -> None: ...
|
24
|
-
def __mypy-replace(*, value_fn, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, last_reset, native_unit_of_measurement, options, state_class, suggested_display_precision, suggested_unit_of_measurement, exists_fn) -> None: ...
|
25
23
|
|
26
24
|
SENSORS: tuple[WLEDSensorEntityDescription, ...]
|
27
25
|
|
@@ -1,9 +1,12 @@
|
|
1
|
-
from .const import COORDINATOR as COORDINATOR, DOMAIN as DOMAIN, PLATFORMS as PLATFORMS
|
1
|
+
from .const import COORDINATOR as COORDINATOR, DOMAIN as DOMAIN, LOGGER as LOGGER, PLATFORMS as PLATFORMS
|
2
2
|
from .coordinator import YaleDataUpdateCoordinator as YaleDataUpdateCoordinator
|
3
|
+
from homeassistant.components.lock import CONF_DEFAULT_CODE as CONF_DEFAULT_CODE
|
3
4
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
|
+
from homeassistant.const import CONF_CODE as CONF_CODE
|
4
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
5
7
|
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed
|
6
8
|
|
7
9
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
8
10
|
async def update_listener(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
|
9
11
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
12
|
+
async def async_migrate_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
@@ -2,7 +2,7 @@ from .const import CONF_AREA_ID as CONF_AREA_ID, CONF_LOCK_CODE_DIGITS as CONF_L
|
|
2
2
|
from _typeshed import Incomplete
|
3
3
|
from collections.abc import Mapping
|
4
4
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, OptionsFlow as OptionsFlow
|
5
|
-
from homeassistant.const import
|
5
|
+
from homeassistant.const import CONF_NAME as CONF_NAME, CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME
|
6
6
|
from homeassistant.core import callback as callback
|
7
7
|
from homeassistant.data_entry_flow import FlowResult as FlowResult
|
8
8
|
from typing import Any
|
@@ -7,7 +7,7 @@ from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFai
|
|
7
7
|
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
8
8
|
from typing import Any
|
9
9
|
|
10
|
-
class YaleDataUpdateCoordinator(DataUpdateCoordinator):
|
10
|
+
class YaleDataUpdateCoordinator(DataUpdateCoordinator[dict[str, Any]]):
|
11
11
|
entry: Incomplete
|
12
12
|
yale: Incomplete
|
13
13
|
def __init__(self, hass: HomeAssistant, entry: ConfigEntry) -> None: ...
|
@@ -2,8 +2,8 @@ from .const import DOMAIN as DOMAIN, MANUFACTURER as MANUFACTURER, MODEL as MODE
|
|
2
2
|
from .coordinator import YaleDataUpdateCoordinator as YaleDataUpdateCoordinator
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from homeassistant.const import CONF_NAME as CONF_NAME, CONF_USERNAME as CONF_USERNAME
|
5
|
-
from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC as CONNECTION_NETWORK_MAC
|
6
|
-
from homeassistant.helpers.entity import
|
5
|
+
from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC as CONNECTION_NETWORK_MAC, DeviceInfo as DeviceInfo
|
6
|
+
from homeassistant.helpers.entity import Entity as Entity
|
7
7
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
8
8
|
|
9
9
|
class YaleEntity(CoordinatorEntity[YaleDataUpdateCoordinator], Entity):
|
@@ -4,7 +4,7 @@ from .entity import YaleEntity as YaleEntity
|
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from homeassistant.components.lock import LockEntity as LockEntity
|
6
6
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
7
|
-
from homeassistant.const import ATTR_CODE as ATTR_CODE
|
7
|
+
from homeassistant.const import ATTR_CODE as ATTR_CODE
|
8
8
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
9
9
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
10
10
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
@@ -3,7 +3,8 @@ from .models import YaleXSBLEData as YaleXSBLEData
|
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from homeassistant.components import bluetooth as bluetooth
|
5
5
|
from homeassistant.core import callback as callback
|
6
|
-
from homeassistant.helpers.
|
6
|
+
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
7
|
+
from homeassistant.helpers.entity import Entity as Entity
|
7
8
|
from yalexs_ble import ConnectionInfo as ConnectionInfo, LockInfo as LockInfo, LockState as LockState
|
8
9
|
|
9
10
|
class YALEXSBLEEntity(Entity):
|
@@ -13,11 +13,9 @@ from yalexs_ble import ConnectionInfo as ConnectionInfo, LockInfo as LockInfo, L
|
|
13
13
|
class YaleXSBLERequiredKeysMixin:
|
14
14
|
value_fn: Callable[[LockState, LockInfo, ConnectionInfo], int | float | None]
|
15
15
|
def __init__(self, value_fn) -> None: ...
|
16
|
-
def __mypy-replace(*, value_fn) -> None: ...
|
17
16
|
|
18
17
|
class YaleXSBLESensorEntityDescription(SensorEntityDescription, YaleXSBLERequiredKeysMixin):
|
19
18
|
def __init__(self, value_fn, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, last_reset, native_unit_of_measurement, options, state_class, suggested_display_precision, suggested_unit_of_measurement) -> None: ...
|
20
|
-
def __mypy-replace(*, value_fn, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, last_reset, native_unit_of_measurement, options, state_class, suggested_display_precision, suggested_unit_of_measurement) -> None: ...
|
21
19
|
|
22
20
|
SENSORS: tuple[YaleXSBLESensorEntityDescription, ...]
|
23
21
|
|
@@ -45,7 +45,6 @@ class ZeroconfServiceInfo(BaseServiceInfo):
|
|
45
45
|
name: str
|
46
46
|
properties: dict[str, Any]
|
47
47
|
def __init__(self, host, addresses, port, hostname, type, name, properties) -> None: ...
|
48
|
-
def __mypy-replace(*, host, addresses, port, hostname, type, name, properties) -> None: ...
|
49
48
|
|
50
49
|
async def async_get_instance(hass: HomeAssistant) -> HaZeroconf: ...
|
51
50
|
async def async_get_async_instance(hass: HomeAssistant) -> HaAsyncZeroconf: ...
|
@@ -3,8 +3,7 @@ from _typeshed import Incomplete
|
|
3
3
|
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity
|
4
4
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
|
-
from homeassistant.helpers.device_registry import DeviceEntryType as DeviceEntryType
|
7
|
-
from homeassistant.helpers.entity import DeviceInfo as DeviceInfo
|
6
|
+
from homeassistant.helpers.device_registry import DeviceEntryType as DeviceEntryType, DeviceInfo as DeviceInfo
|
8
7
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
9
8
|
from homeassistant.util.dt import as_local as as_local, utcnow as utcnow
|
10
9
|
|
@@ -8,6 +8,7 @@ from .migrate import async_migrate_discovered_value as async_migrate_discovered_
|
|
8
8
|
from .services import ZWaveServices as ZWaveServices
|
9
9
|
from _typeshed import Incomplete
|
10
10
|
from homeassistant.components.hassio import AddonError as AddonError, AddonManager as AddonManager, AddonState as AddonState
|
11
|
+
from homeassistant.components.persistent_notification import async_create as async_create
|
11
12
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
12
13
|
from homeassistant.const import ATTR_DEVICE_ID as ATTR_DEVICE_ID, ATTR_DOMAIN as ATTR_DOMAIN, ATTR_ENTITY_ID as ATTR_ENTITY_ID, CONF_URL as CONF_URL, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP, Platform as Platform
|
13
14
|
from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant, callback as callback
|
@@ -57,6 +58,7 @@ class ControllerEvents:
|
|
57
58
|
def remove_device(self, device: dr.DeviceEntry) -> None: ...
|
58
59
|
async def async_on_node_added(self, node: ZwaveNode) -> None: ...
|
59
60
|
def async_on_node_removed(self, event: dict) -> None: ...
|
61
|
+
def async_on_identify(self, event: dict) -> None: ...
|
60
62
|
def register_node_in_dev_reg(self, node: ZwaveNode) -> dr.DeviceEntry: ...
|
61
63
|
|
62
64
|
class NodeEvents:
|
@@ -6,11 +6,11 @@ from _typeshed import Incomplete
|
|
6
6
|
from aiohttp import web as web
|
7
7
|
from collections.abc import Callable as Callable
|
8
8
|
from homeassistant.components import websocket_api as websocket_api
|
9
|
+
from homeassistant.components.http import require_admin as require_admin
|
9
10
|
from homeassistant.components.http.view import HomeAssistantView as HomeAssistantView
|
10
11
|
from homeassistant.components.websocket_api import ActiveConnection as ActiveConnection, ERR_INVALID_FORMAT as ERR_INVALID_FORMAT, ERR_NOT_FOUND as ERR_NOT_FOUND, ERR_NOT_SUPPORTED as ERR_NOT_SUPPORTED, ERR_UNKNOWN_ERROR as ERR_UNKNOWN_ERROR
|
11
12
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigEntryState as ConfigEntryState
|
12
13
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
13
|
-
from homeassistant.exceptions import Unauthorized as Unauthorized
|
14
14
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
15
15
|
from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
|
16
16
|
from typing import Any, Literal
|
@@ -34,16 +34,13 @@ class NotificationZWaveJSEntityDescription(BinarySensorEntityDescription):
|
|
34
34
|
off_state: str
|
35
35
|
states: tuple[str, ...] | None
|
36
36
|
def __init__(self, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, off_state, states) -> None: ...
|
37
|
-
def __mypy-replace(*, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, off_state, states) -> None: ...
|
38
37
|
|
39
38
|
class PropertyZWaveJSMixin:
|
40
39
|
on_states: tuple[str, ...]
|
41
40
|
def __init__(self, on_states) -> None: ...
|
42
|
-
def __mypy-replace(*, on_states) -> None: ...
|
43
41
|
|
44
42
|
class PropertyZWaveJSEntityDescription(BinarySensorEntityDescription, PropertyZWaveJSMixin):
|
45
43
|
def __init__(self, on_states, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement) -> None: ...
|
46
|
-
def __mypy-replace(*, on_states, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement) -> None: ...
|
47
44
|
|
48
45
|
NOTIFICATION_SENSOR_MAPPINGS: tuple[NotificationZWaveJSEntityDescription, ...]
|
49
46
|
PROPERTY_SENSOR_MAPPINGS: dict[str, PropertyZWaveJSEntityDescription]
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import voluptuous as vol
|
2
2
|
from .config_validation import VALUE_SCHEMA as VALUE_SCHEMA
|
3
3
|
from .const import ATTR_COMMAND_CLASS as ATTR_COMMAND_CLASS, ATTR_CONFIG_PARAMETER as ATTR_CONFIG_PARAMETER, ATTR_CONFIG_PARAMETER_BITMASK as ATTR_CONFIG_PARAMETER_BITMASK, ATTR_ENDPOINT as ATTR_ENDPOINT, ATTR_METER_TYPE as ATTR_METER_TYPE, ATTR_PROPERTY as ATTR_PROPERTY, ATTR_PROPERTY_KEY as ATTR_PROPERTY_KEY, ATTR_REFRESH_ALL_VALUES as ATTR_REFRESH_ALL_VALUES, ATTR_VALUE as ATTR_VALUE, ATTR_WAIT_FOR_RESULT as ATTR_WAIT_FOR_RESULT, DOMAIN as DOMAIN, SERVICE_CLEAR_LOCK_USERCODE as SERVICE_CLEAR_LOCK_USERCODE, SERVICE_PING as SERVICE_PING, SERVICE_REFRESH_VALUE as SERVICE_REFRESH_VALUE, SERVICE_RESET_METER as SERVICE_RESET_METER, SERVICE_SET_CONFIG_PARAMETER as SERVICE_SET_CONFIG_PARAMETER, SERVICE_SET_LOCK_USERCODE as SERVICE_SET_LOCK_USERCODE, SERVICE_SET_VALUE as SERVICE_SET_VALUE
|
4
|
-
from .device_automation_helpers import CONF_SUBTYPE as CONF_SUBTYPE, VALUE_ID_REGEX as VALUE_ID_REGEX, generate_config_parameter_subtype as generate_config_parameter_subtype
|
5
|
-
from .helpers import async_get_node_from_device_id as async_get_node_from_device_id
|
4
|
+
from .device_automation_helpers import CONF_SUBTYPE as CONF_SUBTYPE, VALUE_ID_REGEX as VALUE_ID_REGEX, generate_config_parameter_subtype as generate_config_parameter_subtype
|
5
|
+
from .helpers import async_get_node_from_device_id as async_get_node_from_device_id, get_value_state_schema as get_value_state_schema
|
6
6
|
from _typeshed import Incomplete
|
7
7
|
from homeassistant.components.device_automation import async_validate_entity_schema as async_validate_entity_schema
|
8
8
|
from homeassistant.const import ATTR_DEVICE_ID as ATTR_DEVICE_ID, ATTR_DOMAIN as ATTR_DOMAIN, CONF_DEVICE_ID as CONF_DEVICE_ID, CONF_DOMAIN as CONF_DOMAIN, CONF_ENTITY_ID as CONF_ENTITY_ID, CONF_TYPE as CONF_TYPE, STATE_UNAVAILABLE as STATE_UNAVAILABLE
|
@@ -1,16 +1,13 @@
|
|
1
|
-
import voluptuous as vol
|
2
1
|
from .const import DATA_CLIENT as DATA_CLIENT, DOMAIN as DOMAIN
|
3
2
|
from _typeshed import Incomplete
|
4
3
|
from homeassistant.config_entries import ConfigEntryState as ConfigEntryState
|
5
4
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
6
|
-
from zwave_js_server.model.
|
7
|
-
from zwave_js_server.model.value import ConfigurationValue
|
5
|
+
from zwave_js_server.model.value import ConfigurationValue as ConfigurationValue
|
8
6
|
|
9
7
|
NODE_STATUSES: Incomplete
|
10
8
|
CONF_SUBTYPE: str
|
11
9
|
CONF_VALUE_ID: str
|
12
10
|
VALUE_ID_REGEX: str
|
13
11
|
|
14
|
-
def get_config_parameter_value_schema(node: Node, value_id: str) -> vol.Schema | None: ...
|
15
12
|
def generate_config_parameter_subtype(config_value: ConfigurationValue) -> str: ...
|
16
13
|
def async_bypass_dynamic_config_validation(hass: HomeAssistant, device_id: str) -> bool: ...
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import voluptuous as vol
|
2
2
|
from .config_validation import VALUE_SCHEMA as VALUE_SCHEMA
|
3
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, ATTR_VALUE as ATTR_VALUE, DOMAIN as DOMAIN
|
4
|
-
from .device_automation_helpers import CONF_SUBTYPE as CONF_SUBTYPE, CONF_VALUE_ID as CONF_VALUE_ID, NODE_STATUSES as NODE_STATUSES, async_bypass_dynamic_config_validation as async_bypass_dynamic_config_validation, generate_config_parameter_subtype as generate_config_parameter_subtype
|
5
|
-
from .helpers import async_get_node_from_device_id as async_get_node_from_device_id, check_type_schema_map as check_type_schema_map, get_zwave_value_from_config as get_zwave_value_from_config, remove_keys_with_empty_values as remove_keys_with_empty_values
|
4
|
+
from .device_automation_helpers import CONF_SUBTYPE as CONF_SUBTYPE, CONF_VALUE_ID as CONF_VALUE_ID, NODE_STATUSES as NODE_STATUSES, async_bypass_dynamic_config_validation as async_bypass_dynamic_config_validation, generate_config_parameter_subtype as generate_config_parameter_subtype
|
5
|
+
from .helpers import async_get_node_from_device_id as async_get_node_from_device_id, check_type_schema_map as check_type_schema_map, get_value_state_schema as get_value_state_schema, get_zwave_value_from_config as get_zwave_value_from_config, remove_keys_with_empty_values as remove_keys_with_empty_values
|
6
6
|
from _typeshed import Incomplete
|
7
7
|
from homeassistant.components.device_automation.exceptions import InvalidDeviceAutomationConfig as InvalidDeviceAutomationConfig
|
8
8
|
from homeassistant.const import CONF_CONDITION as CONF_CONDITION, CONF_DEVICE_ID as CONF_DEVICE_ID, CONF_DOMAIN as CONF_DOMAIN, CONF_TYPE as CONF_TYPE
|
@@ -10,7 +10,7 @@ from homeassistant.helpers import device_registry as dr
|
|
10
10
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
11
11
|
from typing import Any
|
12
12
|
from zwave_js_server.client import Client as Client
|
13
|
-
from zwave_js_server.model.node import Node as Node
|
13
|
+
from zwave_js_server.model.node import Node as Node
|
14
14
|
from zwave_js_server.model.value import ValueDataType as ValueDataType
|
15
15
|
|
16
16
|
KEYS_TO_REDACT: Incomplete
|
@@ -18,7 +18,7 @@ VALUES_TO_REDACT: Incomplete
|
|
18
18
|
|
19
19
|
def _redacted_value(zwave_value: ValueDataType) -> ValueDataType: ...
|
20
20
|
def optionally_redact_value_of_zwave_value(zwave_value: ValueDataType) -> ValueDataType: ...
|
21
|
-
def redact_node_state(node_state:
|
21
|
+
def redact_node_state(node_state: dict) -> dict: ...
|
22
22
|
def get_device_entities(hass: HomeAssistant, node: Node, config_entry: ConfigEntry, device: dr.DeviceEntry) -> list[dict[str, Any]]: ...
|
23
23
|
async def async_get_config_entry_diagnostics(hass: HomeAssistant, config_entry: ConfigEntry) -> dict[str, Any]: ...
|
24
24
|
async def async_get_device_diagnostics(hass: HomeAssistant, config_entry: ConfigEntry, device: dr.DeviceEntry) -> dict[str, Any]: ...
|
@@ -29,8 +29,6 @@ class FirmwareVersionRange(DataclassMustHaveAtLeastOne):
|
|
29
29
|
max_ver: AwesomeVersion | None
|
30
30
|
def __post_init__(self) -> None: ...
|
31
31
|
def __init__(self, min, max) -> None: ...
|
32
|
-
def __mypy-replace(*, min, max, min_ver, max_ver) -> None: ...
|
33
|
-
def __mypy-post_init(self) -> None: ...
|
34
32
|
|
35
33
|
class ZwaveDiscoveryInfo:
|
36
34
|
node: ZwaveNode
|
@@ -44,7 +42,6 @@ class ZwaveDiscoveryInfo:
|
|
44
42
|
entity_registry_enabled_default: bool
|
45
43
|
entity_category: EntityCategory | None
|
46
44
|
def __init__(self, node, primary_value, assumed_state, platform, platform_data, additional_value_ids_to_watch, platform_hint, platform_data_template, entity_registry_enabled_default, entity_category) -> None: ...
|
47
|
-
def __mypy-replace(*, node, primary_value, assumed_state, platform, platform_data, additional_value_ids_to_watch, platform_hint, platform_data_template, entity_registry_enabled_default, entity_category) -> None: ...
|
48
45
|
|
49
46
|
class ZWaveValueDiscoverySchema(DataclassMustHaveAtLeastOne):
|
50
47
|
command_class: set[int] | None
|
@@ -58,7 +55,6 @@ class ZWaveValueDiscoverySchema(DataclassMustHaveAtLeastOne):
|
|
58
55
|
writeable: bool | None
|
59
56
|
any_available_states: set[tuple[int, str]] | None
|
60
57
|
def __init__(self, command_class, endpoint, property, property_name, property_key, not_property_key, type, readable, writeable, any_available_states) -> None: ...
|
61
|
-
def __mypy-replace(*, command_class, endpoint, property, property_name, property_key, not_property_key, type, readable, writeable, any_available_states) -> None: ...
|
62
58
|
|
63
59
|
class ZWaveDiscoverySchema:
|
64
60
|
platform: Platform
|
@@ -78,7 +74,6 @@ class ZWaveDiscoverySchema:
|
|
78
74
|
entity_registry_enabled_default: bool
|
79
75
|
entity_category: EntityCategory | None
|
80
76
|
def __init__(self, platform, primary_value, hint, data_template, manufacturer_id, product_id, product_type, firmware_version_range, device_class_generic, device_class_specific, required_values, absent_values, allow_multi, assumed_state, entity_registry_enabled_default, entity_category) -> None: ...
|
81
|
-
def __mypy-replace(*, platform, primary_value, hint, data_template, manufacturer_id, product_id, product_type, firmware_version_range, device_class_generic, device_class_specific, required_values, absent_values, allow_multi, assumed_state, entity_registry_enabled_default, entity_category) -> None: ...
|
82
77
|
|
83
78
|
DOOR_LOCK_CURRENT_MODE_SCHEMA: Incomplete
|
84
79
|
SWITCH_MULTILEVEL_CURRENT_VALUE_SCHEMA: Incomplete
|
@@ -26,7 +26,6 @@ class BaseDiscoverySchemaDataTemplate:
|
|
26
26
|
@staticmethod
|
27
27
|
def _get_value_from_id(node: ZwaveNode, value_id_obj: ZwaveValueID) -> ZwaveValue | ZwaveConfigurationValue | None: ...
|
28
28
|
def __init__(self, static_data) -> None: ...
|
29
|
-
def __mypy-replace(*, static_data) -> None: ...
|
30
29
|
|
31
30
|
class DynamicCurrentTempClimateDataTemplate(BaseDiscoverySchemaDataTemplate):
|
32
31
|
lookup_table: dict[str | int, ZwaveValueID]
|
@@ -36,13 +35,11 @@ class DynamicCurrentTempClimateDataTemplate(BaseDiscoverySchemaDataTemplate):
|
|
36
35
|
@staticmethod
|
37
36
|
def current_temperature_value(resolved_data: dict[str, Any]) -> ZwaveValue | None: ...
|
38
37
|
def __init__(self, static_data, lookup_table, dependent_value) -> None: ...
|
39
|
-
def __mypy-replace(*, static_data, lookup_table, dependent_value) -> None: ...
|
40
38
|
|
41
39
|
class NumericSensorDataTemplateData:
|
42
40
|
entity_description_key: str | None
|
43
41
|
unit_of_measurement: str | None
|
44
42
|
def __init__(self, entity_description_key, unit_of_measurement) -> None: ...
|
45
|
-
def __mypy-replace(*, entity_description_key, unit_of_measurement) -> None: ...
|
46
43
|
|
47
44
|
class NumericSensorDataTemplate(BaseDiscoverySchemaDataTemplate):
|
48
45
|
@staticmethod
|
@@ -53,7 +50,6 @@ class TiltValueMix:
|
|
53
50
|
current_tilt_value_id: ZwaveValueID
|
54
51
|
target_tilt_value_id: ZwaveValueID
|
55
52
|
def __init__(self, current_tilt_value_id, target_tilt_value_id) -> None: ...
|
56
|
-
def __mypy-replace(*, current_tilt_value_id, target_tilt_value_id) -> None: ...
|
57
53
|
|
58
54
|
class CoverTiltDataTemplate(BaseDiscoverySchemaDataTemplate, TiltValueMix):
|
59
55
|
def resolve_data(self, value: ZwaveValue) -> dict[str, ZwaveValue]: ...
|
@@ -63,39 +59,31 @@ class CoverTiltDataTemplate(BaseDiscoverySchemaDataTemplate, TiltValueMix):
|
|
63
59
|
@staticmethod
|
64
60
|
def target_tilt_value(resolved_data: dict[str, ZwaveValue]) -> ZwaveValue: ...
|
65
61
|
def __init__(self, current_tilt_value_id, target_tilt_value_id, static_data) -> None: ...
|
66
|
-
def __mypy-replace(*, current_tilt_value_id, target_tilt_value_id, static_data) -> None: ...
|
67
62
|
|
68
63
|
class FanValueMapping:
|
69
64
|
presets: dict[int, str]
|
70
65
|
speeds: list[tuple[int, int]]
|
71
66
|
def __post_init__(self) -> None: ...
|
72
67
|
def __init__(self, presets, speeds) -> None: ...
|
73
|
-
def __mypy-replace(*, presets, speeds) -> None: ...
|
74
|
-
def __mypy-post_init(self) -> None: ...
|
75
68
|
|
76
69
|
class FanValueMappingDataTemplate:
|
77
70
|
def get_fan_value_mapping(self, resolved_data: dict[str, Any]) -> FanValueMapping | None: ...
|
78
|
-
def __mypy-replace() -> None: ...
|
79
71
|
|
80
72
|
class ConfigurableFanValueMappingValueMix:
|
81
73
|
configuration_option: ZwaveValueID
|
82
74
|
configuration_value_to_fan_value_mapping: dict[int, FanValueMapping]
|
83
75
|
def __init__(self, configuration_option, configuration_value_to_fan_value_mapping) -> None: ...
|
84
|
-
def __mypy-replace(*, configuration_option, configuration_value_to_fan_value_mapping) -> None: ...
|
85
76
|
|
86
77
|
class ConfigurableFanValueMappingDataTemplate(BaseDiscoverySchemaDataTemplate, FanValueMappingDataTemplate, ConfigurableFanValueMappingValueMix):
|
87
78
|
def resolve_data(self, value: ZwaveValue) -> dict[str, ZwaveConfigurationValue | None]: ...
|
88
79
|
def values_to_watch(self, resolved_data: dict[str, ZwaveConfigurationValue | None]) -> Iterable[ZwaveConfigurationValue | None]: ...
|
89
80
|
def get_fan_value_mapping(self, resolved_data: dict[str, ZwaveConfigurationValue | None]) -> FanValueMapping | None: ...
|
90
81
|
def __init__(self, configuration_option, configuration_value_to_fan_value_mapping, static_data) -> None: ...
|
91
|
-
def __mypy-replace(*, configuration_option, configuration_value_to_fan_value_mapping, static_data) -> None: ...
|
92
82
|
|
93
83
|
class FixedFanValueMappingValueMix:
|
94
84
|
fan_value_mapping: FanValueMapping
|
95
85
|
def __init__(self, fan_value_mapping) -> None: ...
|
96
|
-
def __mypy-replace(*, fan_value_mapping) -> None: ...
|
97
86
|
|
98
87
|
class FixedFanValueMappingDataTemplate(BaseDiscoverySchemaDataTemplate, FanValueMappingDataTemplate, FixedFanValueMappingValueMix):
|
99
88
|
def get_fan_value_mapping(self, resolved_data: dict[str, ZwaveConfigurationValue]) -> FanValueMapping: ...
|
100
89
|
def __init__(self, fan_value_mapping, static_data) -> None: ...
|
101
|
-
def __mypy-replace(*, fan_value_mapping, static_data) -> None: ...
|
@@ -6,12 +6,13 @@ from collections.abc import Sequence
|
|
6
6
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
7
7
|
from homeassistant.core import callback as callback
|
8
8
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
9
|
+
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
9
10
|
from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
|
10
|
-
from homeassistant.helpers.entity import
|
11
|
+
from homeassistant.helpers.entity import Entity as Entity
|
11
12
|
from homeassistant.helpers.typing import UNDEFINED as UNDEFINED
|
12
13
|
from typing import Any
|
13
14
|
from zwave_js_server.model.driver import Driver as Driver
|
14
|
-
from zwave_js_server.model.value import Value as ZwaveValue
|
15
|
+
from zwave_js_server.model.value import SetValueResult as SetValueResult, Value as ZwaveValue
|
15
16
|
|
16
17
|
EVENT_VALUE_UPDATED: str
|
17
18
|
EVENT_VALUE_REMOVED: str
|
@@ -43,4 +44,4 @@ class ZWaveBaseEntity(Entity):
|
|
43
44
|
def _value_changed(self, event_data: dict) -> None: ...
|
44
45
|
def _value_removed(self, event_data: dict) -> None: ...
|
45
46
|
def get_zwave_value(self, value_property: str | int, command_class: int | None = ..., endpoint: int | None = ..., value_property_key: int | str | None = ..., add_to_watched_value_ids: bool = ..., check_all_endpoints: bool = ...) -> ZwaveValue | None: ...
|
46
|
-
async def _async_set_value(self, value: ZwaveValue, new_value: Any, options: dict | None = ..., wait_for_result: bool | None = ...) ->
|
47
|
+
async def _async_set_value(self, value: ZwaveValue, new_value: Any, options: dict | None = ..., wait_for_result: bool | None = ...) -> SetValueResult | None: ...
|
@@ -8,7 +8,7 @@ from homeassistant.const import ATTR_AREA_ID as ATTR_AREA_ID, ATTR_DEVICE_ID as
|
|
8
8
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
9
9
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
10
10
|
from homeassistant.helpers import device_registry as dr, entity_registry as er
|
11
|
-
from homeassistant.helpers.
|
11
|
+
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
12
12
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
13
13
|
from typing import Any
|
14
14
|
from zwave_js_server.model.driver import Driver as Driver
|
@@ -21,7 +21,6 @@ class ZwaveValueID:
|
|
21
21
|
endpoint: int | None
|
22
22
|
property_key: str | int | None
|
23
23
|
def __init__(self, property_, command_class, endpoint, property_key) -> None: ...
|
24
|
-
def __mypy-replace(*, property_, command_class, endpoint, property_key) -> None: ...
|
25
24
|
|
26
25
|
class ZwaveValueMatcher:
|
27
26
|
property_: str | int | None
|
@@ -30,8 +29,6 @@ class ZwaveValueMatcher:
|
|
30
29
|
property_key: str | int | None
|
31
30
|
def __post_init__(self) -> None: ...
|
32
31
|
def __init__(self, property_, command_class, endpoint, property_key) -> None: ...
|
33
|
-
def __mypy-replace(*, property_, command_class, endpoint, property_key) -> None: ...
|
34
|
-
def __mypy-post_init(self) -> None: ...
|
35
32
|
|
36
33
|
def value_matches_matcher(matcher: ZwaveValueMatcher, value_data: ValueDataType) -> bool: ...
|
37
34
|
def get_value_id_from_unique_id(unique_id: str) -> str | None: ...
|
@@ -19,11 +19,9 @@ class ZwaveHumidifierEntityDescriptionRequiredKeys:
|
|
19
19
|
inverse_mode: HumidityControlMode
|
20
20
|
setpoint_type: HumidityControlSetpointType
|
21
21
|
def __init__(self, on_mode, inverse_mode, setpoint_type) -> None: ...
|
22
|
-
def __mypy-replace(*, on_mode, inverse_mode, setpoint_type) -> None: ...
|
23
22
|
|
24
23
|
class ZwaveHumidifierEntityDescription(HumidifierEntityDescription, ZwaveHumidifierEntityDescriptionRequiredKeys):
|
25
24
|
def __init__(self, *, on_mode, inverse_mode, setpoint_type, **kwargs) -> None: ...
|
26
|
-
def __mypy-replace(*, on_mode, inverse_mode, setpoint_type) -> None: ...
|
27
25
|
|
28
26
|
HUMIDIFIER_ENTITY_DESCRIPTION: Incomplete
|
29
27
|
DEHUMIDIFIER_ENTITY_DESCRIPTION: Incomplete
|
@@ -22,7 +22,6 @@ class ValueID:
|
|
22
22
|
def from_string_id(value_id_str: str) -> ValueID: ...
|
23
23
|
def is_same_value_different_endpoints(self, other: ValueID) -> bool: ...
|
24
24
|
def __init__(self, command_class, endpoint, property_, property_key) -> None: ...
|
25
|
-
def __mypy-replace(*, command_class, endpoint, property_, property_key) -> None: ...
|
26
25
|
|
27
26
|
def async_migrate_old_entity(hass: HomeAssistant, ent_reg: EntityRegistry, registered_unique_ids: set[str], platform: str, device: DeviceEntry, unique_id: str) -> None: ...
|
28
27
|
def async_migrate_unique_id(ent_reg: EntityRegistry, platform: str, old_unique_id: str, new_unique_id: str) -> None: ...
|
@@ -0,0 +1,15 @@
|
|
1
|
+
from .helpers import async_get_node_from_device_id as async_get_node_from_device_id
|
2
|
+
from _typeshed import Incomplete
|
3
|
+
from homeassistant import data_entry_flow as data_entry_flow
|
4
|
+
from homeassistant.components.repairs import ConfirmRepairFlow as ConfirmRepairFlow, RepairsFlow as RepairsFlow
|
5
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
|
+
from zwave_js_server.model.node import Node as Node
|
7
|
+
|
8
|
+
class DeviceConfigFileChangedFlow(RepairsFlow):
|
9
|
+
node: Incomplete
|
10
|
+
device_name: Incomplete
|
11
|
+
def __init__(self, node: Node, device_name: str) -> None: ...
|
12
|
+
async def async_step_init(self, user_input: dict[str, str] | None = ...) -> data_entry_flow.FlowResult: ...
|
13
|
+
async def async_step_confirm(self, user_input: dict[str, str] | None = ...) -> data_entry_flow.FlowResult: ...
|
14
|
+
|
15
|
+
async def async_create_fix_flow(hass: HomeAssistant, issue_id: str, data: dict[str, str] | None) -> RepairsFlow: ...
|
@@ -14,7 +14,7 @@ from homeassistant.helpers import entity_platform as entity_platform
|
|
14
14
|
from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
|
15
15
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
16
16
|
from homeassistant.helpers.typing import StateType as StateType, UNDEFINED as UNDEFINED
|
17
|
-
from zwave_js_server.const import NodeStatus
|
17
|
+
from zwave_js_server.const import ControllerStatus, NodeStatus
|
18
18
|
from zwave_js_server.model.controller import Controller
|
19
19
|
from zwave_js_server.model.controller.statistics import ControllerStatisticsDataType as ControllerStatisticsDataType
|
20
20
|
from zwave_js_server.model.driver import Driver as Driver
|
@@ -22,7 +22,8 @@ from zwave_js_server.model.node import Node as ZwaveNode
|
|
22
22
|
from zwave_js_server.model.node.statistics import NodeStatisticsDataType as NodeStatisticsDataType
|
23
23
|
|
24
24
|
PARALLEL_UPDATES: int
|
25
|
-
|
25
|
+
CONTROLLER_STATUS_ICON: dict[ControllerStatus, str]
|
26
|
+
NODE_STATUS_ICON: dict[NodeStatus, str]
|
26
27
|
ENTITY_DESCRIPTION_KEY_DEVICE_CLASS_MAP: dict[tuple[str, str], SensorEntityDescription]
|
27
28
|
ENTITY_DESCRIPTION_KEY_MAP: Incomplete
|
28
29
|
ENTITY_DESCRIPTION_CONTROLLER_STATISTICS_LIST: Incomplete
|
@@ -92,6 +93,24 @@ class ZWaveNodeStatusSensor(SensorEntity):
|
|
92
93
|
def icon(self) -> str | None: ...
|
93
94
|
async def async_added_to_hass(self) -> None: ...
|
94
95
|
|
96
|
+
class ZWaveControllerStatusSensor(SensorEntity):
|
97
|
+
_attr_should_poll: bool
|
98
|
+
_attr_entity_category: Incomplete
|
99
|
+
_attr_has_entity_name: bool
|
100
|
+
config_entry: Incomplete
|
101
|
+
controller: Incomplete
|
102
|
+
_attr_name: str
|
103
|
+
_base_unique_id: Incomplete
|
104
|
+
_attr_unique_id: Incomplete
|
105
|
+
_attr_device_info: Incomplete
|
106
|
+
def __init__(self, config_entry: ConfigEntry, driver: Driver) -> None: ...
|
107
|
+
async def async_poll_value(self, _: bool) -> None: ...
|
108
|
+
_attr_native_value: Incomplete
|
109
|
+
def _status_changed(self, _: dict) -> None: ...
|
110
|
+
@property
|
111
|
+
def icon(self) -> str | None: ...
|
112
|
+
async def async_added_to_hass(self) -> None: ...
|
113
|
+
|
95
114
|
class ZWaveStatisticsSensor(SensorEntity):
|
96
115
|
_attr_should_poll: bool
|
97
116
|
_attr_entity_category: Incomplete
|
@@ -14,7 +14,6 @@ from zwave_js_server.model.endpoint import Endpoint as Endpoint
|
|
14
14
|
from zwave_js_server.model.node import Node as ZwaveNode
|
15
15
|
|
16
16
|
_LOGGER: Incomplete
|
17
|
-
SET_VALUE_FAILED_EXC: Incomplete
|
18
17
|
|
19
18
|
def parameter_name_does_not_need_bitmask(val: dict[str, int | str | list[str]]) -> dict[str, int | str | list[str]]: ...
|
20
19
|
def broadcast_command(val: dict[str, Any]) -> dict[str, Any]: ...
|
@@ -28,7 +28,6 @@ class ZWaveNodeFirmwareUpdateExtraStoredData(ExtraStoredData):
|
|
28
28
|
@classmethod
|
29
29
|
def from_dict(cls, data: dict[str, Any]) -> ZWaveNodeFirmwareUpdateExtraStoredData: ...
|
30
30
|
def __init__(self, latest_version_firmware) -> None: ...
|
31
|
-
def __mypy-replace(*, latest_version_firmware) -> None: ...
|
32
31
|
|
33
32
|
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
34
33
|
|
@@ -219,8 +219,10 @@ class ConfigFlow(data_entry_flow.FlowHandler):
|
|
219
219
|
def async_create_entry(self, *, title: str, data: Mapping[str, Any], description: str | None = ..., description_placeholders: Mapping[str, str] | None = ..., options: Mapping[str, Any] | None = ...) -> data_entry_flow.FlowResult: ...
|
220
220
|
|
221
221
|
class OptionsFlowManager(data_entry_flow.FlowManager):
|
222
|
+
def _async_get_config_entry(self, config_entry_id: str) -> ConfigEntry: ...
|
222
223
|
async def async_create_flow(self, handler_key: str, *, context: dict[str, Any] | None = ..., data: dict[str, Any] | None = ...) -> OptionsFlow: ...
|
223
224
|
async def async_finish_flow(self, flow: data_entry_flow.FlowHandler, result: data_entry_flow.FlowResult) -> data_entry_flow.FlowResult: ...
|
225
|
+
async def _async_setup_preview(self, flow: data_entry_flow.FlowHandler) -> None: ...
|
224
226
|
|
225
227
|
class OptionsFlow(data_entry_flow.FlowHandler):
|
226
228
|
handler: str
|
@@ -249,3 +251,4 @@ def _handle_entry_updated_filter(event: Event) -> bool: ...
|
|
249
251
|
async def support_entry_unload(hass: HomeAssistant, domain: str) -> bool: ...
|
250
252
|
async def support_remove_from_device(hass: HomeAssistant, domain: str) -> bool: ...
|
251
253
|
async def _load_integration(hass: HomeAssistant, domain: str, hass_config: ConfigType) -> None: ...
|
254
|
+
async def _async_get_flow_handler(hass: HomeAssistant, domain: str, hass_config: ConfigType) -> type[ConfigFlow]: ...
|
homeassistant-stubs/const.pyi
CHANGED
@@ -31,6 +31,7 @@ class Platform(StrEnum):
|
|
31
31
|
HUMIDIFIER: str
|
32
32
|
IMAGE: str
|
33
33
|
IMAGE_PROCESSING: str
|
34
|
+
LAWN_MOWER: str
|
34
35
|
LIGHT: str
|
35
36
|
LOCK: str
|
36
37
|
MAILBOX: str
|
@@ -49,6 +50,7 @@ class Platform(StrEnum):
|
|
49
50
|
TTS: str
|
50
51
|
VACUUM: str
|
51
52
|
UPDATE: str
|
53
|
+
WAKE_WORD: str
|
52
54
|
WATER_HEATER: str
|
53
55
|
WEATHER: str
|
54
56
|
|
homeassistant-stubs/core.pyi
CHANGED
@@ -21,7 +21,7 @@ from .util.ulid import ulid as ulid, ulid_at_time as ulid_at_time
|
|
21
21
|
from .util.unit_system import METRIC_SYSTEM as METRIC_SYSTEM, UnitSystem as UnitSystem, _CONF_UNIT_SYSTEM_IMPERIAL as _CONF_UNIT_SYSTEM_IMPERIAL, _CONF_UNIT_SYSTEM_US_CUSTOMARY as _CONF_UNIT_SYSTEM_US_CUSTOMARY, get_unit_system as get_unit_system
|
22
22
|
from _typeshed import Incomplete
|
23
23
|
from collections.abc import Awaitable, Callable, Collection, Coroutine, Iterable, Mapping
|
24
|
-
from typing import Any, Generic,
|
24
|
+
from typing import Any, Generic, Self, TypeVar, overload
|
25
25
|
|
26
26
|
STAGE_1_SHUTDOWN_TIMEOUT: int
|
27
27
|
STAGE_2_SHUTDOWN_TIMEOUT: int
|
@@ -29,7 +29,7 @@ STAGE_3_SHUTDOWN_TIMEOUT: int
|
|
29
29
|
_T = TypeVar('_T')
|
30
30
|
_R = TypeVar('_R')
|
31
31
|
_R_co = TypeVar('_R_co', covariant=True)
|
32
|
-
_P
|
32
|
+
_P: Incomplete
|
33
33
|
_UNDEF: dict[Any, Any]
|
34
34
|
_CallableT = TypeVar('_CallableT', bound=Callable[..., Any])
|
35
35
|
CALLBACK_TYPE = Callable[[], None]
|
@@ -62,6 +62,7 @@ VALID_ENTITY_ID: Incomplete
|
|
62
62
|
|
63
63
|
def valid_domain(domain: str) -> bool: ...
|
64
64
|
def valid_entity_id(entity_id: str) -> bool: ...
|
65
|
+
def validate_state(state: str) -> str: ...
|
65
66
|
def callback(func: _CallableT) -> _CallableT: ...
|
66
67
|
def is_callback(func: Callable[..., Any]) -> bool: ...
|
67
68
|
|
@@ -103,7 +104,7 @@ class HomeAssistant:
|
|
103
104
|
auth: AuthManager
|
104
105
|
http: HomeAssistantHTTP
|
105
106
|
config_entries: ConfigEntries
|
106
|
-
def __new__(cls) -> HomeAssistant: ...
|
107
|
+
def __new__(cls, config_dir: str) -> HomeAssistant: ...
|
107
108
|
loop: Incomplete
|
108
109
|
_tasks: Incomplete
|
109
110
|
_background_tasks: Incomplete
|
@@ -119,7 +120,7 @@ class HomeAssistant:
|
|
119
120
|
_stopped: Incomplete
|
120
121
|
timeout: Incomplete
|
121
122
|
_stop_future: Incomplete
|
122
|
-
def __init__(self) -> None: ...
|
123
|
+
def __init__(self, config_dir: str) -> None: ...
|
123
124
|
@property
|
124
125
|
def is_running(self) -> bool: ...
|
125
126
|
@property
|
@@ -318,7 +319,7 @@ class Config:
|
|
318
319
|
media_dirs: Incomplete
|
319
320
|
safe_mode: bool
|
320
321
|
legacy_templates: bool
|
321
|
-
def __init__(self, hass: HomeAssistant) -> None: ...
|
322
|
+
def __init__(self, hass: HomeAssistant, config_dir: str) -> None: ...
|
322
323
|
def distance(self, lat: float, lon: float) -> float | None: ...
|
323
324
|
def path(self, *path: str) -> str: ...
|
324
325
|
def is_allowed_external_url(self, url: str) -> bool: ...
|