homeassistant-stubs 2023.8.4__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.4.dist-info → homeassistant_stubs-2023.9.0.dist-info}/METADATA +3 -3
- {homeassistant_stubs-2023.8.4.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.4.dist-info → homeassistant_stubs-2023.9.0.dist-info}/LICENSE +0 -0
- {homeassistant_stubs-2023.8.4.dist-info → homeassistant_stubs-2023.9.0.dist-info}/WHEEL +0 -0
@@ -0,0 +1,64 @@
|
|
1
|
+
from .config import AbstractConfig as AbstractConfig
|
2
|
+
from .const import API_TEMP_UNITS as API_TEMP_UNITS, API_THERMOSTAT_MODES as API_THERMOSTAT_MODES, API_THERMOSTAT_MODES_CUSTOM as API_THERMOSTAT_MODES_CUSTOM, API_THERMOSTAT_PRESETS as API_THERMOSTAT_PRESETS, Cause as Cause, DATE_FORMAT as DATE_FORMAT, Inputs as Inputs, PRESET_MODE_NA as PRESET_MODE_NA
|
3
|
+
from .entities import async_get_entities as async_get_entities
|
4
|
+
from .errors import AlexaInvalidDirectiveError as AlexaInvalidDirectiveError, AlexaInvalidValueError as AlexaInvalidValueError, AlexaSecurityPanelAuthorizationRequired as AlexaSecurityPanelAuthorizationRequired, AlexaTempRangeError as AlexaTempRangeError, AlexaUnsupportedThermostatModeError as AlexaUnsupportedThermostatModeError, AlexaVideoActionNotPermittedForContentError as AlexaVideoActionNotPermittedForContentError
|
5
|
+
from .state_report import AlexaDirective as AlexaDirective, AlexaResponse as AlexaResponse, async_enable_proactive_mode as async_enable_proactive_mode
|
6
|
+
from _typeshed import Incomplete
|
7
|
+
from collections.abc import Callable as Callable, Coroutine
|
8
|
+
from homeassistant import core as ha
|
9
|
+
from homeassistant.components import button as button, camera as camera, climate as climate, cover as cover, fan as fan, group as group, humidifier as humidifier, input_button as input_button, input_number as input_number, light as light, media_player as media_player, number as number, timer as timer, vacuum as vacuum
|
10
|
+
from homeassistant.const import ATTR_ENTITY_ID as ATTR_ENTITY_ID, ATTR_ENTITY_PICTURE as ATTR_ENTITY_PICTURE, ATTR_SUPPORTED_FEATURES as ATTR_SUPPORTED_FEATURES, ATTR_TEMPERATURE as ATTR_TEMPERATURE, SERVICE_ALARM_ARM_AWAY as SERVICE_ALARM_ARM_AWAY, SERVICE_ALARM_ARM_HOME as SERVICE_ALARM_ARM_HOME, SERVICE_ALARM_ARM_NIGHT as SERVICE_ALARM_ARM_NIGHT, SERVICE_ALARM_DISARM as SERVICE_ALARM_DISARM, SERVICE_LOCK as SERVICE_LOCK, SERVICE_MEDIA_NEXT_TRACK as SERVICE_MEDIA_NEXT_TRACK, SERVICE_MEDIA_PAUSE as SERVICE_MEDIA_PAUSE, SERVICE_MEDIA_PLAY as SERVICE_MEDIA_PLAY, SERVICE_MEDIA_PREVIOUS_TRACK as SERVICE_MEDIA_PREVIOUS_TRACK, SERVICE_MEDIA_STOP as SERVICE_MEDIA_STOP, SERVICE_SET_COVER_POSITION as SERVICE_SET_COVER_POSITION, SERVICE_SET_COVER_TILT_POSITION as SERVICE_SET_COVER_TILT_POSITION, SERVICE_TURN_OFF as SERVICE_TURN_OFF, SERVICE_TURN_ON as SERVICE_TURN_ON, SERVICE_UNLOCK as SERVICE_UNLOCK, SERVICE_VOLUME_DOWN as SERVICE_VOLUME_DOWN, SERVICE_VOLUME_MUTE as SERVICE_VOLUME_MUTE, SERVICE_VOLUME_SET as SERVICE_VOLUME_SET, SERVICE_VOLUME_UP as SERVICE_VOLUME_UP, STATE_ALARM_DISARMED as STATE_ALARM_DISARMED, UnitOfTemperature as UnitOfTemperature
|
11
|
+
from homeassistant.helpers import network as network
|
12
|
+
from homeassistant.util.decorator import Registry as Registry
|
13
|
+
from homeassistant.util.unit_conversion import TemperatureConverter as TemperatureConverter
|
14
|
+
from typing import Any
|
15
|
+
|
16
|
+
_LOGGER: Incomplete
|
17
|
+
DIRECTIVE_NOT_SUPPORTED: str
|
18
|
+
HANDLERS: Registry[tuple[str, str], Callable[[ha.HomeAssistant, AbstractConfig, AlexaDirective, ha.Context], Coroutine[Any, Any, AlexaResponse]]]
|
19
|
+
|
20
|
+
async def async_api_discovery(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
21
|
+
async def async_api_accept_grant(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
22
|
+
async def async_api_turn_on(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
23
|
+
async def async_api_turn_off(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
24
|
+
async def async_api_set_brightness(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
25
|
+
async def async_api_adjust_brightness(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
26
|
+
async def async_api_set_color(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
27
|
+
async def async_api_set_color_temperature(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
28
|
+
async def async_api_decrease_color_temp(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
29
|
+
async def async_api_increase_color_temp(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
30
|
+
async def async_api_activate(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
31
|
+
async def async_api_deactivate(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
32
|
+
async def async_api_lock(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
33
|
+
async def async_api_unlock(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
34
|
+
async def async_api_set_volume(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
35
|
+
async def async_api_select_input(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
36
|
+
async def async_api_adjust_volume(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
37
|
+
async def async_api_adjust_volume_step(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
38
|
+
async def async_api_set_mute(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
39
|
+
async def async_api_play(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
40
|
+
async def async_api_pause(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
41
|
+
async def async_api_stop(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
42
|
+
async def async_api_next(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
43
|
+
async def async_api_previous(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
44
|
+
def temperature_from_object(hass: ha.HomeAssistant, temp_obj: dict[str, Any], interval: bool = ...) -> float: ...
|
45
|
+
async def async_api_set_target_temp(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
46
|
+
async def async_api_adjust_target_temp(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
47
|
+
async def async_api_set_thermostat_mode(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
48
|
+
async def async_api_reportstate(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
49
|
+
async def async_api_arm(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
50
|
+
async def async_api_disarm(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
51
|
+
async def async_api_set_mode(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
52
|
+
async def async_api_adjust_mode(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
53
|
+
async def async_api_toggle_on(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
54
|
+
async def async_api_toggle_off(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
55
|
+
async def async_api_set_range(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
56
|
+
async def async_api_adjust_range(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
57
|
+
async def async_api_changechannel(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
58
|
+
async def async_api_skipchannel(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
59
|
+
async def async_api_seek(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
60
|
+
async def async_api_set_eq_mode(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
61
|
+
async def async_api_bands_directive(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
62
|
+
async def async_api_hold(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
63
|
+
async def async_api_resume(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
64
|
+
async def async_api_initialize_camera_stream(hass: ha.HomeAssistant, config: AbstractConfig, directive: AlexaDirective, context: ha.Context) -> AlexaResponse: ...
|
@@ -0,0 +1,53 @@
|
|
1
|
+
import enum
|
2
|
+
from .const import DOMAIN as DOMAIN, SYN_RESOLUTION_MATCH as SYN_RESOLUTION_MATCH
|
3
|
+
from _typeshed import Incomplete
|
4
|
+
from aiohttp.web import Response as Response
|
5
|
+
from homeassistant.components import http as http
|
6
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
7
|
+
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
8
|
+
from homeassistant.helpers import intent as intent
|
9
|
+
from homeassistant.util.decorator import Registry as Registry
|
10
|
+
from typing import Any
|
11
|
+
|
12
|
+
_LOGGER: Incomplete
|
13
|
+
HANDLERS: Incomplete
|
14
|
+
INTENTS_API_ENDPOINT: str
|
15
|
+
|
16
|
+
class SpeechType(enum.StrEnum):
|
17
|
+
plaintext: str
|
18
|
+
ssml: str
|
19
|
+
|
20
|
+
SPEECH_MAPPINGS: Incomplete
|
21
|
+
|
22
|
+
class CardType(enum.StrEnum):
|
23
|
+
simple: str
|
24
|
+
link_account: str
|
25
|
+
|
26
|
+
def async_setup(hass: HomeAssistant) -> None: ...
|
27
|
+
async def async_setup_intents(hass: HomeAssistant) -> None: ...
|
28
|
+
|
29
|
+
class UnknownRequest(HomeAssistantError): ...
|
30
|
+
|
31
|
+
class AlexaIntentsView(http.HomeAssistantView):
|
32
|
+
url = INTENTS_API_ENDPOINT
|
33
|
+
name: str
|
34
|
+
async def post(self, request: http.HomeAssistantRequest) -> Response | bytes: ...
|
35
|
+
|
36
|
+
def intent_error_response(hass: HomeAssistant, message: dict[str, Any], error: str) -> dict[str, Any]: ...
|
37
|
+
async def async_handle_message(hass: HomeAssistant, message: dict[str, Any]) -> dict[str, Any]: ...
|
38
|
+
async def async_handle_intent(hass: HomeAssistant, message: dict[str, Any]) -> dict[str, Any]: ...
|
39
|
+
def resolve_slot_data(key: str, request: dict[str, Any]) -> dict[str, str]: ...
|
40
|
+
|
41
|
+
class AlexaIntentResponse:
|
42
|
+
hass: Incomplete
|
43
|
+
speech: Incomplete
|
44
|
+
card: Incomplete
|
45
|
+
reprompt: Incomplete
|
46
|
+
session_attributes: Incomplete
|
47
|
+
should_end_session: bool
|
48
|
+
variables: Incomplete
|
49
|
+
def __init__(self, hass: HomeAssistant, intent_info: dict[str, Any] | None) -> None: ...
|
50
|
+
def add_card(self, card_type: CardType, title: str, content: str) -> None: ...
|
51
|
+
def add_speech(self, speech_type: SpeechType, text: str) -> None: ...
|
52
|
+
def add_reprompt(self, speech_type: SpeechType, text: str) -> None: ...
|
53
|
+
def as_dict(self) -> dict[str, Any]: ...
|
@@ -0,0 +1,6 @@
|
|
1
|
+
from .const import DOMAIN as DOMAIN, EVENT_ALEXA_SMART_HOME as EVENT_ALEXA_SMART_HOME
|
2
|
+
from collections.abc import Callable as Callable
|
3
|
+
from homeassistant.components.logbook import LOGBOOK_ENTRY_ENTITY_ID as LOGBOOK_ENTRY_ENTITY_ID, LOGBOOK_ENTRY_MESSAGE as LOGBOOK_ENTRY_MESSAGE, LOGBOOK_ENTRY_NAME as LOGBOOK_ENTRY_NAME
|
4
|
+
from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant, callback as callback
|
5
|
+
|
6
|
+
def async_describe_events(hass: HomeAssistant, async_describe_event: Callable[[str, str, Callable[[Event], dict[str, str]]], None]) -> None: ...
|
@@ -0,0 +1,114 @@
|
|
1
|
+
from _typeshed import Incomplete
|
2
|
+
from typing import Any
|
3
|
+
|
4
|
+
class AlexaGlobalCatalog:
|
5
|
+
DEVICE_NAME_AIR_PURIFIER: str
|
6
|
+
DEVICE_NAME_FAN: str
|
7
|
+
DEVICE_NAME_ROUTER: str
|
8
|
+
DEVICE_NAME_SHADE: str
|
9
|
+
DEVICE_NAME_SHOWER: str
|
10
|
+
DEVICE_NAME_SPACE_HEATER: str
|
11
|
+
DEVICE_NAME_WASHER: str
|
12
|
+
SETTING_2G_GUEST_WIFI: str
|
13
|
+
SETTING_5G_GUEST_WIFI: str
|
14
|
+
SETTING_AUTO: str
|
15
|
+
SETTING_DIRECTION: str
|
16
|
+
SETTING_DRY_CYCLE: str
|
17
|
+
SETTING_FAN_SPEED: str
|
18
|
+
SETTING_GUEST_WIFI: str
|
19
|
+
SETTING_HEAT: str
|
20
|
+
SETTING_MODE: str
|
21
|
+
SETTING_NIGHT: str
|
22
|
+
SETTING_OPENING: str
|
23
|
+
SETTING_OSCILLATE: str
|
24
|
+
SETTING_PRESET: str
|
25
|
+
SETTING_QUIET: str
|
26
|
+
SETTING_TEMPERATURE: str
|
27
|
+
SETTING_WASH_CYCLE: str
|
28
|
+
SETTING_WATER_TEMPERATURE: str
|
29
|
+
SHOWER_HAND_HELD: str
|
30
|
+
SHOWER_RAIN_HEAD: str
|
31
|
+
UNIT_ANGLE_DEGREES: str
|
32
|
+
UNIT_ANGLE_RADIANS: str
|
33
|
+
UNIT_DISTANCE_FEET: str
|
34
|
+
UNIT_DISTANCE_INCHES: str
|
35
|
+
UNIT_DISTANCE_KILOMETERS: str
|
36
|
+
UNIT_DISTANCE_METERS: str
|
37
|
+
UNIT_DISTANCE_MILES: str
|
38
|
+
UNIT_DISTANCE_YARDS: str
|
39
|
+
UNIT_MASS_GRAMS: str
|
40
|
+
UNIT_MASS_KILOGRAMS: str
|
41
|
+
UNIT_PERCENT: str
|
42
|
+
UNIT_TEMPERATURE_CELSIUS: str
|
43
|
+
UNIT_TEMPERATURE_DEGREES: str
|
44
|
+
UNIT_TEMPERATURE_FAHRENHEIT: str
|
45
|
+
UNIT_TEMPERATURE_KELVIN: str
|
46
|
+
UNIT_VOLUME_CUBIC_FEET: str
|
47
|
+
UNIT_VOLUME_CUBIC_METERS: str
|
48
|
+
UNIT_VOLUME_GALLONS: str
|
49
|
+
UNIT_VOLUME_LITERS: str
|
50
|
+
UNIT_VOLUME_PINTS: str
|
51
|
+
UNIT_VOLUME_QUARTS: str
|
52
|
+
UNIT_WEIGHT_OUNCES: str
|
53
|
+
UNIT_WEIGHT_POUNDS: str
|
54
|
+
VALUE_CLOSE: str
|
55
|
+
VALUE_DELICATE: str
|
56
|
+
VALUE_HIGH: str
|
57
|
+
VALUE_LOW: str
|
58
|
+
VALUE_MAXIMUM: str
|
59
|
+
VALUE_MEDIUM: str
|
60
|
+
VALUE_MINIMUM: str
|
61
|
+
VALUE_OPEN: str
|
62
|
+
VALUE_QUICK_WASH: str
|
63
|
+
|
64
|
+
class AlexaCapabilityResource:
|
65
|
+
_resource_labels: Incomplete
|
66
|
+
def __init__(self, labels: list[str]) -> None: ...
|
67
|
+
def serialize_capability_resources(self) -> dict[str, list[dict[str, Any]]]: ...
|
68
|
+
def serialize_configuration(self) -> dict[str, Any]: ...
|
69
|
+
def serialize_labels(self, resources: list[str]) -> dict[str, list[dict[str, Any]]]: ...
|
70
|
+
|
71
|
+
class AlexaModeResource(AlexaCapabilityResource):
|
72
|
+
_supported_modes: Incomplete
|
73
|
+
_mode_ordered: Incomplete
|
74
|
+
def __init__(self, labels: list[str], ordered: bool = ...) -> None: ...
|
75
|
+
def add_mode(self, value: str, labels: list[str]) -> None: ...
|
76
|
+
def serialize_configuration(self) -> dict[str, Any]: ...
|
77
|
+
|
78
|
+
class AlexaPresetResource(AlexaCapabilityResource):
|
79
|
+
_presets: Incomplete
|
80
|
+
_minimum_value: Incomplete
|
81
|
+
_maximum_value: Incomplete
|
82
|
+
_precision: Incomplete
|
83
|
+
_unit_of_measure: Incomplete
|
84
|
+
def __init__(self, labels: list[str], min_value: int | float, max_value: int | float, precision: int | float, unit: str | None = ...) -> None: ...
|
85
|
+
def add_preset(self, value: int | float, labels: list[str]) -> None: ...
|
86
|
+
def serialize_configuration(self) -> dict[str, Any]: ...
|
87
|
+
|
88
|
+
class AlexaSemantics:
|
89
|
+
MAPPINGS_ACTION: str
|
90
|
+
MAPPINGS_STATE: str
|
91
|
+
ACTIONS_TO_DIRECTIVE: str
|
92
|
+
STATES_TO_VALUE: str
|
93
|
+
STATES_TO_RANGE: str
|
94
|
+
ACTION_CLOSE: str
|
95
|
+
ACTION_LOWER: str
|
96
|
+
ACTION_OPEN: str
|
97
|
+
ACTION_RAISE: str
|
98
|
+
STATES_OPEN: str
|
99
|
+
STATES_CLOSED: str
|
100
|
+
DIRECTIVE_RANGE_SET_VALUE: str
|
101
|
+
DIRECTIVE_RANGE_ADJUST_VALUE: str
|
102
|
+
DIRECTIVE_TOGGLE_TURN_ON: str
|
103
|
+
DIRECTIVE_TOGGLE_TURN_OFF: str
|
104
|
+
DIRECTIVE_MODE_SET_MODE: str
|
105
|
+
DIRECTIVE_MODE_ADJUST_MODE: str
|
106
|
+
_action_mappings: Incomplete
|
107
|
+
_state_mappings: Incomplete
|
108
|
+
def __init__(self) -> None: ...
|
109
|
+
def _add_action_mapping(self, semantics: dict[str, Any]) -> None: ...
|
110
|
+
def _add_state_mapping(self, semantics: dict[str, Any]) -> None: ...
|
111
|
+
def add_states_to_value(self, states: list[str], value: Any) -> None: ...
|
112
|
+
def add_states_to_range(self, states: list[str], min_value: int | float, max_value: int | float) -> None: ...
|
113
|
+
def add_action_to_directive(self, actions: list[str], directive: str, payload: dict[str, Any]) -> None: ...
|
114
|
+
def serialize_semantics(self) -> dict[str, Any]: ...
|
@@ -0,0 +1,51 @@
|
|
1
|
+
from .auth import Auth as Auth
|
2
|
+
from .config import AbstractConfig as AbstractConfig
|
3
|
+
from .const import API_DIRECTIVE as API_DIRECTIVE, API_HEADER as API_HEADER, CONF_ENDPOINT as CONF_ENDPOINT, CONF_ENTITY_CONFIG as CONF_ENTITY_CONFIG, CONF_FILTER as CONF_FILTER, CONF_LOCALE as CONF_LOCALE, EVENT_ALEXA_SMART_HOME as EVENT_ALEXA_SMART_HOME
|
4
|
+
from .errors import AlexaBridgeUnreachableError as AlexaBridgeUnreachableError, AlexaError as AlexaError
|
5
|
+
from .handlers import HANDLERS as HANDLERS
|
6
|
+
from .state_report import AlexaDirective as AlexaDirective
|
7
|
+
from _typeshed import Incomplete
|
8
|
+
from aiohttp import web as web
|
9
|
+
from homeassistant import core as core
|
10
|
+
from homeassistant.auth.models import User as User
|
11
|
+
from homeassistant.components.http import HomeAssistantRequest as HomeAssistantRequest
|
12
|
+
from homeassistant.components.http.view import HomeAssistantView as HomeAssistantView
|
13
|
+
from homeassistant.const import CONF_CLIENT_ID as CONF_CLIENT_ID, CONF_CLIENT_SECRET as CONF_CLIENT_SECRET
|
14
|
+
from homeassistant.core import Context as Context, HomeAssistant as HomeAssistant
|
15
|
+
from homeassistant.helpers.typing import ConfigType as ConfigType
|
16
|
+
from typing import Any
|
17
|
+
from yarl import URL
|
18
|
+
|
19
|
+
_LOGGER: Incomplete
|
20
|
+
SMART_HOME_HTTP_ENDPOINT: str
|
21
|
+
|
22
|
+
class AlexaConfig(AbstractConfig):
|
23
|
+
_auth: Auth | None
|
24
|
+
_config: Incomplete
|
25
|
+
def __init__(self, hass: HomeAssistant, config: ConfigType) -> None: ...
|
26
|
+
@property
|
27
|
+
def supports_auth(self) -> bool: ...
|
28
|
+
@property
|
29
|
+
def should_report_state(self) -> bool: ...
|
30
|
+
@property
|
31
|
+
def endpoint(self) -> str | URL | None: ...
|
32
|
+
@property
|
33
|
+
def entity_config(self) -> dict[str, Any]: ...
|
34
|
+
@property
|
35
|
+
def locale(self) -> str | None: ...
|
36
|
+
def user_identifier(self) -> str: ...
|
37
|
+
def should_expose(self, entity_id: str) -> bool: ...
|
38
|
+
def async_invalidate_access_token(self) -> None: ...
|
39
|
+
async def async_get_access_token(self) -> str | None: ...
|
40
|
+
async def async_accept_grant(self, code: str) -> str | None: ...
|
41
|
+
|
42
|
+
async def async_setup(hass: HomeAssistant, config: ConfigType) -> None: ...
|
43
|
+
|
44
|
+
class SmartHomeView(HomeAssistantView):
|
45
|
+
url = SMART_HOME_HTTP_ENDPOINT
|
46
|
+
name: str
|
47
|
+
smart_home_config: Incomplete
|
48
|
+
def __init__(self, smart_home_config: AlexaConfig) -> None: ...
|
49
|
+
async def post(self, request: HomeAssistantRequest) -> web.Response | bytes: ...
|
50
|
+
|
51
|
+
async def async_handle_message(hass: HomeAssistant, config: AbstractConfig, request: dict[str, Any], context: Context | None = ..., enabled: bool = ...) -> dict[str, Any]: ...
|
@@ -0,0 +1,53 @@
|
|
1
|
+
import aiohttp
|
2
|
+
from .config import AbstractConfig as AbstractConfig
|
3
|
+
from .const import API_CHANGE as API_CHANGE, API_CONTEXT as API_CONTEXT, API_DIRECTIVE as API_DIRECTIVE, API_ENDPOINT as API_ENDPOINT, API_EVENT as API_EVENT, API_HEADER as API_HEADER, API_PAYLOAD as API_PAYLOAD, API_SCOPE as API_SCOPE, Cause as Cause, DATE_FORMAT as DATE_FORMAT, DOMAIN as DOMAIN
|
4
|
+
from .entities import AlexaEntity as AlexaEntity, ENTITY_ADAPTERS as ENTITY_ADAPTERS, generate_alexa_id as generate_alexa_id
|
5
|
+
from .errors import AlexaInvalidEndpointError as AlexaInvalidEndpointError, NoTokenAvailable as NoTokenAvailable, RequireRelink as RequireRelink
|
6
|
+
from _typeshed import Incomplete
|
7
|
+
from homeassistant.components import event as event
|
8
|
+
from homeassistant.const import MATCH_ALL as MATCH_ALL, STATE_ON as STATE_ON
|
9
|
+
from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, HomeAssistant as HomeAssistant, State as State, callback as callback
|
10
|
+
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
11
|
+
from homeassistant.helpers.event import async_track_state_change as async_track_state_change
|
12
|
+
from homeassistant.helpers.significant_change import create_checker as create_checker
|
13
|
+
from homeassistant.util.json import JsonObjectType as JsonObjectType, json_loads_object as json_loads_object
|
14
|
+
from typing import Any
|
15
|
+
|
16
|
+
_LOGGER: Incomplete
|
17
|
+
DEFAULT_TIMEOUT: int
|
18
|
+
|
19
|
+
class AlexaDirective:
|
20
|
+
entity: State
|
21
|
+
entity_id: str | None
|
22
|
+
endpoint: AlexaEntity
|
23
|
+
instance: str | None
|
24
|
+
_directive: Incomplete
|
25
|
+
namespace: Incomplete
|
26
|
+
name: Incomplete
|
27
|
+
payload: Incomplete
|
28
|
+
has_endpoint: Incomplete
|
29
|
+
def __init__(self, request: dict[str, Any]) -> None: ...
|
30
|
+
def load_entity(self, hass: HomeAssistant, config: AbstractConfig) -> None: ...
|
31
|
+
def response(self, name: str = ..., namespace: str = ..., payload: dict[str, Any] | None = ...) -> AlexaResponse: ...
|
32
|
+
def error(self, namespace: str = ..., error_type: str = ..., error_message: str = ..., payload: dict[str, Any] | None = ...) -> AlexaResponse: ...
|
33
|
+
|
34
|
+
class AlexaResponse:
|
35
|
+
_response: Incomplete
|
36
|
+
def __init__(self, name: str, namespace: str, payload: dict[str, Any] | None = ...) -> None: ...
|
37
|
+
@property
|
38
|
+
def name(self) -> str: ...
|
39
|
+
@property
|
40
|
+
def namespace(self) -> str: ...
|
41
|
+
def set_correlation_token(self, token: str) -> None: ...
|
42
|
+
def set_endpoint_full(self, bearer_token: str | None, endpoint_id: str | None) -> None: ...
|
43
|
+
def set_endpoint(self, endpoint: dict[str, Any]) -> None: ...
|
44
|
+
def _properties(self) -> list[dict[str, Any]]: ...
|
45
|
+
def add_context_property(self, prop: dict[str, Any]) -> None: ...
|
46
|
+
def merge_context_properties(self, endpoint: AlexaEntity) -> None: ...
|
47
|
+
def serialize(self) -> dict[str, Any]: ...
|
48
|
+
|
49
|
+
async def async_enable_proactive_mode(hass: HomeAssistant, smart_home_config: AbstractConfig) -> CALLBACK_TYPE | None: ...
|
50
|
+
async def async_send_changereport_message(hass: HomeAssistant, config: AbstractConfig, alexa_entity: AlexaEntity, alexa_properties: list[dict[str, Any]], *, invalidate_access_token: bool = ...) -> None: ...
|
51
|
+
async def async_send_add_or_update_message(hass: HomeAssistant, config: AbstractConfig, entity_ids: list[str]) -> aiohttp.ClientResponse: ...
|
52
|
+
async def async_send_delete_message(hass: HomeAssistant, config: AbstractConfig, entity_ids: list[str]) -> aiohttp.ClientResponse: ...
|
53
|
+
async def async_send_doorbell_event_message(hass: HomeAssistant, config: AbstractConfig, alexa_entity: AlexaEntity) -> None: ...
|
@@ -5,8 +5,7 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
5
5
|
from homeassistant.const import ATTR_LOCATION as ATTR_LOCATION, ATTR_NAME as ATTR_NAME, CONF_API_KEY as CONF_API_KEY, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP, Platform as Platform
|
6
6
|
from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant, callback as callback
|
7
7
|
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
8
|
-
from homeassistant.helpers.dispatcher import
|
9
|
-
from homeassistant.helpers.entity import DeviceInfo as DeviceInfo, Entity as Entity, EntityDescription as EntityDescription
|
8
|
+
from homeassistant.helpers.dispatcher import async_dispatcher_send as async_dispatcher_send
|
10
9
|
from typing import Any
|
11
10
|
|
12
11
|
PLATFORMS: Incomplete
|
@@ -30,16 +29,3 @@ class AmbientStation:
|
|
30
29
|
def __init__(self, hass: HomeAssistant, entry: ConfigEntry, websocket: Websocket) -> None: ...
|
31
30
|
async def ws_connect(self) -> None: ...
|
32
31
|
async def ws_disconnect(self) -> None: ...
|
33
|
-
|
34
|
-
class AmbientWeatherEntity(Entity):
|
35
|
-
_attr_has_entity_name: bool
|
36
|
-
_attr_should_poll: bool
|
37
|
-
_ambient: Incomplete
|
38
|
-
_attr_device_info: Incomplete
|
39
|
-
_attr_unique_id: Incomplete
|
40
|
-
_mac_address: Incomplete
|
41
|
-
entity_description: Incomplete
|
42
|
-
def __init__(self, ambient: AmbientStation, mac_address: str, station_name: str, description: EntityDescription) -> None: ...
|
43
|
-
_attr_available: Incomplete
|
44
|
-
async def async_added_to_hass(self) -> None: ...
|
45
|
-
def update_from_latest_data(self) -> None: ...
|
@@ -1,5 +1,5 @@
|
|
1
|
-
from . import AmbientWeatherEntity as AmbientWeatherEntity
|
2
1
|
from .const import ATTR_LAST_DATA as ATTR_LAST_DATA, DOMAIN as DOMAIN
|
2
|
+
from .entity import AmbientWeatherEntity as AmbientWeatherEntity
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from homeassistant.components.binary_sensor import BinarySensorDeviceClass as BinarySensorDeviceClass, BinarySensorEntity as BinarySensorEntity, BinarySensorEntityDescription as BinarySensorEntityDescription
|
5
5
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
@@ -56,11 +56,9 @@ TYPE_RELAY9: str
|
|
56
56
|
class AmbientBinarySensorDescriptionMixin:
|
57
57
|
on_state: Literal[0, 1]
|
58
58
|
def __init__(self, on_state) -> None: ...
|
59
|
-
def __mypy-replace(*, on_state) -> None: ...
|
60
59
|
|
61
60
|
class AmbientBinarySensorDescription(BinarySensorEntityDescription, AmbientBinarySensorDescriptionMixin):
|
62
61
|
def __init__(self, on_state, 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: ...
|
63
|
-
def __mypy-replace(*, on_state, 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: ...
|
64
62
|
|
65
63
|
BINARY_SENSOR_DESCRIPTIONS: Incomplete
|
66
64
|
|
@@ -0,0 +1,21 @@
|
|
1
|
+
from . import AmbientStation as AmbientStation
|
2
|
+
from .const import ATTR_LAST_DATA as ATTR_LAST_DATA, DOMAIN as DOMAIN, TYPE_SOLARRADIATION as TYPE_SOLARRADIATION, TYPE_SOLARRADIATION_LX as TYPE_SOLARRADIATION_LX
|
3
|
+
from _typeshed import Incomplete
|
4
|
+
from homeassistant.core import callback as callback
|
5
|
+
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
6
|
+
from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
|
7
|
+
from homeassistant.helpers.entity import Entity as Entity, EntityDescription as EntityDescription
|
8
|
+
|
9
|
+
class AmbientWeatherEntity(Entity):
|
10
|
+
_attr_has_entity_name: bool
|
11
|
+
_attr_should_poll: bool
|
12
|
+
_ambient: Incomplete
|
13
|
+
_attr_device_info: Incomplete
|
14
|
+
_attr_unique_id: Incomplete
|
15
|
+
_mac_address: Incomplete
|
16
|
+
entity_description: Incomplete
|
17
|
+
def __init__(self, ambient: AmbientStation, mac_address: str, station_name: str, description: EntityDescription) -> None: ...
|
18
|
+
_attr_available: Incomplete
|
19
|
+
def _async_update(self) -> None: ...
|
20
|
+
async def async_added_to_hass(self) -> None: ...
|
21
|
+
def update_from_latest_data(self) -> None: ...
|
@@ -1,5 +1,6 @@
|
|
1
|
-
from . import AmbientStation as AmbientStation
|
1
|
+
from . import AmbientStation as AmbientStation
|
2
2
|
from .const import ATTR_LAST_DATA as ATTR_LAST_DATA, DOMAIN as DOMAIN, TYPE_SOLARRADIATION as TYPE_SOLARRADIATION, TYPE_SOLARRADIATION_LX as TYPE_SOLARRADIATION_LX
|
3
|
+
from .entity import AmbientWeatherEntity as AmbientWeatherEntity
|
3
4
|
from _typeshed import Incomplete
|
4
5
|
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
|
5
6
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
@@ -85,4 +85,3 @@ class AmcrestDevice:
|
|
85
85
|
control_light: bool
|
86
86
|
channel: int
|
87
87
|
def __init__(self, api, authentication, ffmpeg_arguments, stream_source, resolution, control_light, channel) -> None: ...
|
88
|
-
def __mypy-replace(*, api, authentication, ffmpeg_arguments, stream_source, resolution, control_light, channel) -> None: ...
|
@@ -14,7 +14,6 @@ class AmcrestSensorEntityDescription(BinarySensorEntityDescription):
|
|
14
14
|
event_codes: set[str] | None
|
15
15
|
should_poll: bool
|
16
16
|
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, event_codes, should_poll) -> None: ...
|
17
|
-
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, event_codes, should_poll) -> None: ...
|
18
17
|
|
19
18
|
_LOGGER: Incomplete
|
20
19
|
SCAN_INTERVAL: Incomplete
|
@@ -21,7 +21,6 @@ class AnalyticsData:
|
|
21
21
|
@classmethod
|
22
22
|
def from_dict(cls, data: dict[str, Any]) -> AnalyticsData: ...
|
23
23
|
def __init__(self, onboarded, preferences, uuid) -> None: ...
|
24
|
-
def __mypy-replace(*, onboarded, preferences, uuid) -> None: ...
|
25
24
|
|
26
25
|
class Analytics:
|
27
26
|
hass: Incomplete
|
@@ -4,7 +4,7 @@ from .models import AnovaData as AnovaData
|
|
4
4
|
from .util import serialize_device_list as serialize_device_list
|
5
5
|
from _typeshed import Incomplete
|
6
6
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
7
|
-
from homeassistant.const import CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME, Platform as Platform
|
7
|
+
from homeassistant.const import CONF_DEVICES as CONF_DEVICES, CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME, Platform as Platform
|
8
8
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
9
9
|
from homeassistant.helpers import aiohttp_client as aiohttp_client
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
2
2
|
from .util import serialize_device_list as serialize_device_list
|
3
|
-
from homeassistant import
|
4
|
-
from homeassistant.const import CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME
|
3
|
+
from homeassistant.config_entries import ConfigFlow as ConfigFlow
|
4
|
+
from homeassistant.const import CONF_DEVICES as CONF_DEVICES, CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME
|
5
5
|
from homeassistant.data_entry_flow import FlowResult as FlowResult
|
6
|
-
from homeassistant.helpers import
|
6
|
+
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
7
7
|
|
8
|
-
class AnovaConfligFlow(
|
8
|
+
class AnovaConfligFlow(ConfigFlow, domain=DOMAIN):
|
9
9
|
VERSION: int
|
10
10
|
async def async_step_user(self, user_input: dict[str, str] | None = ...) -> FlowResult: ...
|
@@ -2,13 +2,13 @@ from .const import DOMAIN as DOMAIN
|
|
2
2
|
from _typeshed import Incomplete
|
3
3
|
from anova_wifi import APCUpdate, AnovaPrecisionCooker as AnovaPrecisionCooker
|
4
4
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
5
|
-
from homeassistant.helpers.
|
5
|
+
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
6
6
|
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
7
7
|
|
8
8
|
_LOGGER: Incomplete
|
9
9
|
|
10
10
|
class AnovaCoordinator(DataUpdateCoordinator[APCUpdate]):
|
11
|
-
|
11
|
+
device_unique_id: Incomplete
|
12
12
|
anova_device: Incomplete
|
13
13
|
device_info: Incomplete
|
14
14
|
def __init__(self, hass: HomeAssistant, anova_device: AnovaPrecisionCooker) -> None: ...
|
@@ -4,12 +4,12 @@ from homeassistant.helpers.entity import Entity as Entity, EntityDescription as
|
|
4
4
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
5
5
|
|
6
6
|
class AnovaEntity(CoordinatorEntity[AnovaCoordinator], Entity):
|
7
|
+
_attr_has_entity_name: bool
|
7
8
|
device: Incomplete
|
8
9
|
_attr_device_info: Incomplete
|
9
|
-
_attr_has_entity_name: bool
|
10
10
|
def __init__(self, coordinator: AnovaCoordinator) -> None: ...
|
11
11
|
|
12
|
-
class AnovaDescriptionEntity(AnovaEntity
|
12
|
+
class AnovaDescriptionEntity(AnovaEntity):
|
13
13
|
entity_description: Incomplete
|
14
14
|
_attr_unique_id: Incomplete
|
15
15
|
def __init__(self, coordinator: AnovaCoordinator, description: EntityDescription) -> None: ...
|
@@ -13,11 +13,9 @@ from homeassistant.helpers.typing import StateType as StateType
|
|
13
13
|
class AnovaSensorEntityDescriptionMixin:
|
14
14
|
value_fn: Callable[[APCUpdateSensor], float | int | str]
|
15
15
|
def __init__(self, value_fn) -> None: ...
|
16
|
-
def __mypy-replace(*, value_fn) -> None: ...
|
17
16
|
|
18
17
|
class AnovaSensorEntityDescription(SensorEntityDescription, AnovaSensorEntityDescriptionMixin):
|
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
|
SENSOR_DESCRIPTIONS: list[SensorEntityDescription]
|
23
21
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
from .const import
|
1
|
+
from .const import ANTHEMAV_UPDATE_SIGNAL as ANTHEMAV_UPDATE_SIGNAL, DEVICE_TIMEOUT_SECONDS as DEVICE_TIMEOUT_SECONDS, DOMAIN as DOMAIN
|
2
2
|
from _typeshed import Incomplete
|
3
3
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
4
4
|
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_PORT as CONF_PORT, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP, Platform as Platform
|
@@ -1,4 +1,4 @@
|
|
1
|
-
from .const import
|
1
|
+
from .const import ANTHEMAV_UPDATE_SIGNAL as ANTHEMAV_UPDATE_SIGNAL, CONF_MODEL as CONF_MODEL, DOMAIN as DOMAIN, MANUFACTURER as MANUFACTURER
|
2
2
|
from _typeshed import Incomplete
|
3
3
|
from anthemav.connection import Connection as Connection
|
4
4
|
from anthemav.protocol import AVR as AVR
|
@@ -6,8 +6,8 @@ from homeassistant.components.media_player import MediaPlayerDeviceClass as Medi
|
|
6
6
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
7
7
|
from homeassistant.const import CONF_MAC as CONF_MAC, CONF_NAME as CONF_NAME
|
8
8
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
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 DeviceInfo as DeviceInfo
|
11
11
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
12
12
|
|
13
13
|
_LOGGER: Incomplete
|
@@ -2,7 +2,7 @@ from _typeshed import Incomplete
|
|
2
2
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
3
3
|
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_PORT as CONF_PORT, Platform as Platform
|
4
4
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
5
|
-
from homeassistant.helpers.
|
5
|
+
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
6
6
|
from homeassistant.util import Throttle as Throttle
|
7
7
|
from typing import Any, Final
|
8
8
|
|
@@ -11,7 +11,6 @@ class AquaLogicSensorEntityDescription(SensorEntityDescription):
|
|
11
11
|
unit_metric: str | None
|
12
12
|
unit_imperial: str | None
|
13
13
|
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, last_reset, native_unit_of_measurement, options, state_class, suggested_display_precision, suggested_unit_of_measurement, unit_metric, unit_imperial) -> None: ...
|
14
|
-
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, last_reset, native_unit_of_measurement, options, state_class, suggested_display_precision, suggested_unit_of_measurement, unit_metric, unit_imperial) -> None: ...
|
15
14
|
|
16
15
|
SENSOR_TYPES: tuple[AquaLogicSensorEntityDescription, ...]
|
17
16
|
SENSOR_KEYS: list[str]
|
@@ -12,11 +12,9 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEnti
|
|
12
12
|
class AsekoBinarySensorDescriptionMixin:
|
13
13
|
value_fn: Callable[[Unit], bool]
|
14
14
|
def __init__(self, value_fn) -> None: ...
|
15
|
-
def __mypy-replace(*, value_fn) -> None: ...
|
16
15
|
|
17
16
|
class AsekoBinarySensorEntityDescription(BinarySensorEntityDescription, AsekoBinarySensorDescriptionMixin):
|
18
17
|
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) -> None: ...
|
19
|
-
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) -> None: ...
|
20
18
|
|
21
19
|
UNIT_BINARY_SENSORS: tuple[AsekoBinarySensorEntityDescription, ...]
|
22
20
|
|
@@ -2,10 +2,11 @@ from .const import DOMAIN as DOMAIN
|
|
2
2
|
from .coordinator import AsekoDataUpdateCoordinator as AsekoDataUpdateCoordinator
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from aioaseko import Unit as Unit
|
5
|
-
from homeassistant.helpers.
|
5
|
+
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
6
6
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
7
7
|
|
8
8
|
class AsekoEntity(CoordinatorEntity[AsekoDataUpdateCoordinator]):
|
9
|
+
_attr_has_entity_name: bool
|
9
10
|
_unit: Incomplete
|
10
11
|
_device_model: Incomplete
|
11
12
|
_device_name: Incomplete
|
@@ -13,6 +13,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, asyn
|
|
13
13
|
class VariableSensorEntity(AsekoEntity, SensorEntity):
|
14
14
|
_attr_state_class: Incomplete
|
15
15
|
_variable: Incomplete
|
16
|
+
_attr_translation_key: Incomplete
|
16
17
|
_attr_name: Incomplete
|
17
18
|
_attr_unique_id: Incomplete
|
18
19
|
_attr_native_unit_of_measurement: Incomplete
|