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
@@ -2,7 +2,7 @@ import abc
|
|
2
2
|
from .const import CONF_HIDE_MEMBERS as CONF_HIDE_MEMBERS
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from abc import abstractmethod
|
5
|
-
from collections.abc import Collection, Iterable
|
5
|
+
from collections.abc import Callable as Callable, Collection, Iterable, Mapping
|
6
6
|
from contextvars import ContextVar
|
7
7
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
8
8
|
from homeassistant.const import ATTR_ASSUMED_STATE as ATTR_ASSUMED_STATE, ATTR_ENTITY_ID as ATTR_ENTITY_ID, ATTR_ICON as ATTR_ICON, ATTR_NAME as ATTR_NAME, CONF_ENTITIES as CONF_ENTITIES, CONF_ICON as CONF_ICON, CONF_NAME as CONF_NAME, ENTITY_MATCH_ALL as ENTITY_MATCH_ALL, ENTITY_MATCH_NONE as ENTITY_MATCH_NONE, Platform as Platform, SERVICE_RELOAD as SERVICE_RELOAD, STATE_OFF as STATE_OFF, STATE_ON as STATE_ON
|
@@ -68,10 +68,13 @@ async def _async_process_config(hass: HomeAssistant, config: ConfigType) -> None
|
|
68
68
|
|
69
69
|
class GroupEntity(Entity, metaclass=abc.ABCMeta):
|
70
70
|
_attr_should_poll: bool
|
71
|
+
_entity_ids: list[str]
|
72
|
+
def async_start_preview(self, preview_callback: Callable[[str, Mapping[str, Any]], None]) -> CALLBACK_TYPE: ...
|
71
73
|
async def async_added_to_hass(self) -> None: ...
|
72
74
|
def async_defer_or_update_ha_state(self) -> None: ...
|
73
75
|
@abstractmethod
|
74
76
|
def async_update_group_state(self) -> None: ...
|
77
|
+
def async_update_supported_features(self, entity_id: str, new_state: State | None) -> None: ...
|
75
78
|
|
76
79
|
class Group(Entity):
|
77
80
|
_attr_should_poll: bool
|
@@ -5,8 +5,8 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
5
5
|
from homeassistant.const import ATTR_ENTITY_ID as ATTR_ENTITY_ID, CONF_DEVICE_CLASS as CONF_DEVICE_CLASS, CONF_ENTITIES as CONF_ENTITIES, CONF_NAME as CONF_NAME, CONF_UNIQUE_ID as CONF_UNIQUE_ID, STATE_ON as STATE_ON, STATE_UNAVAILABLE as STATE_UNAVAILABLE, STATE_UNKNOWN as STATE_UNKNOWN
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
7
7
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
8
|
-
from homeassistant.helpers.
|
9
|
-
from
|
8
|
+
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType
|
9
|
+
from typing import Any
|
10
10
|
|
11
11
|
DEFAULT_NAME: str
|
12
12
|
CONF_ALL: str
|
@@ -14,6 +14,7 @@ REG_KEY: Incomplete
|
|
14
14
|
|
15
15
|
async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = ...) -> None: ...
|
16
16
|
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
17
|
+
def async_create_preview_binary_sensor(name: str, validated_config: dict[str, Any]) -> BinarySensorGroup: ...
|
17
18
|
|
18
19
|
class BinarySensorGroup(GroupEntity, BinarySensorEntity):
|
19
20
|
_attr_available: bool
|
@@ -23,8 +24,7 @@ class BinarySensorGroup(GroupEntity, BinarySensorEntity):
|
|
23
24
|
_attr_unique_id: Incomplete
|
24
25
|
_device_class: Incomplete
|
25
26
|
mode: Incomplete
|
26
|
-
def __init__(self, unique_id: str | None, name: str, device_class: BinarySensorDeviceClass | None, entity_ids: list[str], mode:
|
27
|
-
async def async_added_to_hass(self) -> None: ...
|
27
|
+
def __init__(self, unique_id: str | None, name: str, device_class: BinarySensorDeviceClass | None, entity_ids: list[str], mode: bool | None) -> None: ...
|
28
28
|
_attr_is_on: Incomplete
|
29
29
|
def async_update_group_state(self) -> None: ...
|
30
30
|
@property
|
@@ -1,30 +1,40 @@
|
|
1
1
|
import voluptuous as vol
|
2
|
-
from . import DOMAIN as DOMAIN
|
3
|
-
from .binary_sensor import CONF_ALL as CONF_ALL
|
2
|
+
from . import DOMAIN as DOMAIN, GroupEntity as GroupEntity
|
3
|
+
from .binary_sensor import CONF_ALL as CONF_ALL, async_create_preview_binary_sensor as async_create_preview_binary_sensor
|
4
4
|
from .const import CONF_HIDE_MEMBERS as CONF_HIDE_MEMBERS, CONF_IGNORE_NON_NUMERIC as CONF_IGNORE_NON_NUMERIC
|
5
|
+
from .cover import async_create_preview_cover as async_create_preview_cover
|
6
|
+
from .event import async_create_preview_event as async_create_preview_event
|
7
|
+
from .fan import async_create_preview_fan as async_create_preview_fan
|
8
|
+
from .light import async_create_preview_light as async_create_preview_light
|
9
|
+
from .lock import async_create_preview_lock as async_create_preview_lock
|
10
|
+
from .media_player import MediaPlayerGroup as MediaPlayerGroup, async_create_preview_media_player as async_create_preview_media_player
|
11
|
+
from .sensor import async_create_preview_sensor as async_create_preview_sensor
|
12
|
+
from .switch import async_create_preview_switch as async_create_preview_switch
|
5
13
|
from _typeshed import Incomplete
|
6
|
-
from collections.abc import Callable
|
14
|
+
from collections.abc import Callable, Coroutine, Mapping
|
15
|
+
from homeassistant.components import websocket_api as websocket_api
|
7
16
|
from homeassistant.const import CONF_ENTITIES as CONF_ENTITIES, CONF_TYPE as CONF_TYPE
|
8
17
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
18
|
+
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
9
19
|
from homeassistant.helpers import entity_registry as er, selector as selector
|
10
20
|
from homeassistant.helpers.schema_config_entry_flow import SchemaCommonFlowHandler as SchemaCommonFlowHandler, SchemaConfigFlowHandler as SchemaConfigFlowHandler, SchemaFlowFormStep as SchemaFlowFormStep, SchemaFlowMenuStep as SchemaFlowMenuStep, SchemaOptionsFlowHandler as SchemaOptionsFlowHandler, entity_selector_without_own_entities as entity_selector_without_own_entities
|
11
21
|
from typing import Any
|
12
22
|
|
13
23
|
_STATISTIC_MEASURES: Incomplete
|
14
24
|
|
15
|
-
async def basic_group_options_schema(domain: str | list[str], handler: SchemaCommonFlowHandler) -> vol.Schema: ...
|
25
|
+
async def basic_group_options_schema(domain: str | list[str], handler: SchemaCommonFlowHandler | None) -> vol.Schema: ...
|
16
26
|
def basic_group_config_schema(domain: str | list[str]) -> vol.Schema: ...
|
17
|
-
async def binary_sensor_options_schema(handler: SchemaCommonFlowHandler) -> vol.Schema: ...
|
27
|
+
async def binary_sensor_options_schema(handler: SchemaCommonFlowHandler | None) -> vol.Schema: ...
|
18
28
|
|
19
29
|
BINARY_SENSOR_CONFIG_SCHEMA: Incomplete
|
20
30
|
SENSOR_CONFIG_EXTENDS: Incomplete
|
21
31
|
SENSOR_OPTIONS: Incomplete
|
22
32
|
|
23
|
-
async def sensor_options_schema(domain: str, handler: SchemaCommonFlowHandler) -> vol.Schema: ...
|
33
|
+
async def sensor_options_schema(domain: str, handler: SchemaCommonFlowHandler | None) -> vol.Schema: ...
|
24
34
|
|
25
35
|
SENSOR_CONFIG_SCHEMA: Incomplete
|
26
36
|
|
27
|
-
async def light_switch_options_schema(domain: str, handler: SchemaCommonFlowHandler) -> vol.Schema: ...
|
37
|
+
async def light_switch_options_schema(domain: str, handler: SchemaCommonFlowHandler | None) -> vol.Schema: ...
|
28
38
|
|
29
39
|
GROUP_TYPES: Incomplete
|
30
40
|
|
@@ -33,6 +43,8 @@ def set_group_type(group_type: str) -> Callable[[SchemaCommonFlowHandler, dict[s
|
|
33
43
|
|
34
44
|
CONFIG_FLOW: Incomplete
|
35
45
|
OPTIONS_FLOW: Incomplete
|
46
|
+
PREVIEW_OPTIONS_SCHEMA: dict[str, vol.Schema]
|
47
|
+
CREATE_PREVIEW_ENTITY: dict[str, Callable[[str, dict[str, Any]], GroupEntity | MediaPlayerGroup]]
|
36
48
|
|
37
49
|
class GroupConfigFlowHandler(SchemaConfigFlowHandler, domain=DOMAIN):
|
38
50
|
config_flow = CONFIG_FLOW
|
@@ -41,5 +53,8 @@ class GroupConfigFlowHandler(SchemaConfigFlowHandler, domain=DOMAIN):
|
|
41
53
|
def async_config_flow_finished(self, options: Mapping[str, Any]) -> None: ...
|
42
54
|
@staticmethod
|
43
55
|
def async_options_flow_finished(hass: HomeAssistant, options: Mapping[str, Any]) -> None: ...
|
56
|
+
@staticmethod
|
57
|
+
async def async_setup_preview(hass: HomeAssistant) -> None: ...
|
44
58
|
|
45
59
|
def _async_hide_members(hass: HomeAssistant, members: list[str], hidden_by: er.RegistryEntryHider | None) -> None: ...
|
60
|
+
def ws_start_preview(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict[str, Any]) -> None: ...
|
@@ -1,13 +1,12 @@
|
|
1
1
|
from . import GroupEntity as GroupEntity
|
2
|
-
from .util import
|
2
|
+
from .util import reduce_attribute as reduce_attribute
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from homeassistant.components.cover import ATTR_CURRENT_POSITION as ATTR_CURRENT_POSITION, ATTR_CURRENT_TILT_POSITION as ATTR_CURRENT_TILT_POSITION, ATTR_POSITION as ATTR_POSITION, ATTR_TILT_POSITION as ATTR_TILT_POSITION, CoverEntity as CoverEntity, CoverEntityFeature as CoverEntityFeature, DOMAIN as DOMAIN, PLATFORM_SCHEMA as PLATFORM_SCHEMA
|
5
5
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
|
-
from homeassistant.const import
|
6
|
+
from homeassistant.const import ATTR_ENTITY_ID as ATTR_ENTITY_ID, ATTR_SUPPORTED_FEATURES as ATTR_SUPPORTED_FEATURES, CONF_ENTITIES as CONF_ENTITIES, CONF_NAME as CONF_NAME, CONF_UNIQUE_ID as CONF_UNIQUE_ID, SERVICE_CLOSE_COVER as SERVICE_CLOSE_COVER, SERVICE_CLOSE_COVER_TILT as SERVICE_CLOSE_COVER_TILT, SERVICE_OPEN_COVER as SERVICE_OPEN_COVER, SERVICE_OPEN_COVER_TILT as SERVICE_OPEN_COVER_TILT, SERVICE_SET_COVER_POSITION as SERVICE_SET_COVER_POSITION, SERVICE_SET_COVER_TILT_POSITION as SERVICE_SET_COVER_TILT_POSITION, SERVICE_STOP_COVER as SERVICE_STOP_COVER, SERVICE_STOP_COVER_TILT as SERVICE_STOP_COVER_TILT, STATE_CLOSED as STATE_CLOSED, STATE_CLOSING as STATE_CLOSING, STATE_OPEN as STATE_OPEN, STATE_OPENING as STATE_OPENING, STATE_UNAVAILABLE as STATE_UNAVAILABLE, STATE_UNKNOWN as STATE_UNKNOWN
|
7
7
|
from homeassistant.core import HomeAssistant as HomeAssistant, State as State, callback as callback
|
8
8
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
9
|
-
from homeassistant.helpers.
|
10
|
-
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType, EventType as EventType
|
9
|
+
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType
|
11
10
|
from typing import Any
|
12
11
|
|
13
12
|
KEY_OPEN_CLOSE: str
|
@@ -18,6 +17,7 @@ PARALLEL_UPDATES: int
|
|
18
17
|
|
19
18
|
async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = ...) -> None: ...
|
20
19
|
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
20
|
+
def async_create_preview_cover(name: str, validated_config: dict[str, Any]) -> CoverGroup: ...
|
21
21
|
|
22
22
|
class CoverGroup(GroupEntity, CoverEntity):
|
23
23
|
_attr_available: bool
|
@@ -25,17 +25,14 @@ class CoverGroup(GroupEntity, CoverEntity):
|
|
25
25
|
_attr_is_opening: bool | None
|
26
26
|
_attr_is_closing: bool | None
|
27
27
|
_attr_current_cover_position: int | None
|
28
|
-
|
29
|
-
_entities: Incomplete
|
28
|
+
_entity_ids: Incomplete
|
30
29
|
_covers: Incomplete
|
31
30
|
_tilts: Incomplete
|
32
31
|
_attr_name: Incomplete
|
33
32
|
_attr_extra_state_attributes: Incomplete
|
34
33
|
_attr_unique_id: Incomplete
|
35
34
|
def __init__(self, unique_id: str | None, name: str, entities: list[str]) -> None: ...
|
36
|
-
def
|
37
|
-
def async_update_supported_features(self, entity_id: str, new_state: State | None, update_state: bool = ...) -> None: ...
|
38
|
-
async def async_added_to_hass(self) -> None: ...
|
35
|
+
def async_update_supported_features(self, entity_id: str, new_state: State | None) -> None: ...
|
39
36
|
async def async_open_cover(self, **kwargs: Any) -> None: ...
|
40
37
|
async def async_close_cover(self, **kwargs: Any) -> None: ...
|
41
38
|
async def async_stop_cover(self, **kwargs: Any) -> None: ...
|
@@ -0,0 +1,29 @@
|
|
1
|
+
from . import GroupEntity as GroupEntity
|
2
|
+
from _typeshed import Incomplete
|
3
|
+
from homeassistant.components.event import ATTR_EVENT_TYPE as ATTR_EVENT_TYPE, ATTR_EVENT_TYPES as ATTR_EVENT_TYPES, DOMAIN as DOMAIN, EventEntity as EventEntity, PLATFORM_SCHEMA as PLATFORM_SCHEMA
|
4
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
|
+
from homeassistant.const import ATTR_DEVICE_CLASS as ATTR_DEVICE_CLASS, ATTR_ENTITY_ID as ATTR_ENTITY_ID, ATTR_FRIENDLY_NAME as ATTR_FRIENDLY_NAME, CONF_ENTITIES as CONF_ENTITIES, CONF_NAME as CONF_NAME, CONF_UNIQUE_ID as CONF_UNIQUE_ID, STATE_UNAVAILABLE as STATE_UNAVAILABLE, STATE_UNKNOWN as STATE_UNKNOWN
|
6
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
7
|
+
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
8
|
+
from homeassistant.helpers.event import EventStateChangedData as EventStateChangedData, async_track_state_change_event as async_track_state_change_event
|
9
|
+
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType, EventType as EventType
|
10
|
+
from typing import Any
|
11
|
+
|
12
|
+
DEFAULT_NAME: str
|
13
|
+
PARALLEL_UPDATES: int
|
14
|
+
|
15
|
+
async def async_setup_platform(_: HomeAssistant, config: ConfigType, async_add_entities: AddEntitiesCallback, __: DiscoveryInfoType | None = ...) -> None: ...
|
16
|
+
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
17
|
+
def async_create_preview_event(name: str, validated_config: dict[str, Any]) -> EventGroup: ...
|
18
|
+
|
19
|
+
class EventGroup(GroupEntity, EventEntity):
|
20
|
+
_attr_available: bool
|
21
|
+
_attr_should_poll: bool
|
22
|
+
_entity_ids: Incomplete
|
23
|
+
_attr_name: Incomplete
|
24
|
+
_attr_extra_state_attributes: Incomplete
|
25
|
+
_attr_unique_id: Incomplete
|
26
|
+
_attr_event_types: Incomplete
|
27
|
+
def __init__(self, unique_id: str | None, name: str, entity_ids: list[str]) -> None: ...
|
28
|
+
async def async_added_to_hass(self) -> None: ...
|
29
|
+
def async_update_group_state(self) -> None: ...
|
@@ -1,13 +1,12 @@
|
|
1
1
|
from . import GroupEntity as GroupEntity
|
2
|
-
from .util import attribute_equal as attribute_equal, most_frequent_attribute as most_frequent_attribute, reduce_attribute as reduce_attribute
|
2
|
+
from .util import attribute_equal as attribute_equal, most_frequent_attribute as most_frequent_attribute, reduce_attribute as reduce_attribute
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from homeassistant.components.fan import ATTR_DIRECTION as ATTR_DIRECTION, ATTR_OSCILLATING as ATTR_OSCILLATING, ATTR_PERCENTAGE as ATTR_PERCENTAGE, ATTR_PERCENTAGE_STEP as ATTR_PERCENTAGE_STEP, DOMAIN as DOMAIN, FanEntity as FanEntity, FanEntityFeature as FanEntityFeature, PLATFORM_SCHEMA as PLATFORM_SCHEMA, SERVICE_OSCILLATE as SERVICE_OSCILLATE, SERVICE_SET_DIRECTION as SERVICE_SET_DIRECTION, SERVICE_SET_PERCENTAGE as SERVICE_SET_PERCENTAGE, SERVICE_TURN_OFF as SERVICE_TURN_OFF, SERVICE_TURN_ON as SERVICE_TURN_ON
|
5
5
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
|
-
from homeassistant.const import
|
6
|
+
from homeassistant.const import ATTR_ENTITY_ID as ATTR_ENTITY_ID, ATTR_SUPPORTED_FEATURES as ATTR_SUPPORTED_FEATURES, CONF_ENTITIES as CONF_ENTITIES, CONF_NAME as CONF_NAME, CONF_UNIQUE_ID as CONF_UNIQUE_ID, STATE_ON as STATE_ON, STATE_UNAVAILABLE as STATE_UNAVAILABLE, STATE_UNKNOWN as STATE_UNKNOWN
|
7
7
|
from homeassistant.core import HomeAssistant as HomeAssistant, State as State, callback as callback
|
8
8
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
9
|
-
from homeassistant.helpers.
|
10
|
-
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType, EventType as EventType
|
9
|
+
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType
|
11
10
|
from typing import Any
|
12
11
|
|
13
12
|
SUPPORTED_FLAGS: Incomplete
|
@@ -17,11 +16,11 @@ _LOGGER: Incomplete
|
|
17
16
|
|
18
17
|
async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = ...) -> None: ...
|
19
18
|
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
19
|
+
def async_create_preview_fan(name: str, validated_config: dict[str, Any]) -> FanGroup: ...
|
20
20
|
|
21
21
|
class FanGroup(GroupEntity, FanEntity):
|
22
22
|
_attr_available: bool
|
23
|
-
|
24
|
-
_entities: Incomplete
|
23
|
+
_entity_ids: Incomplete
|
25
24
|
_fans: Incomplete
|
26
25
|
_percentage: Incomplete
|
27
26
|
_oscillating: Incomplete
|
@@ -42,9 +41,7 @@ class FanGroup(GroupEntity, FanEntity):
|
|
42
41
|
def current_direction(self) -> str | None: ...
|
43
42
|
@property
|
44
43
|
def oscillating(self) -> bool | None: ...
|
45
|
-
def
|
46
|
-
def async_update_supported_features(self, entity_id: str, new_state: State | None, update_state: bool = ...) -> None: ...
|
47
|
-
async def async_added_to_hass(self) -> None: ...
|
44
|
+
def async_update_supported_features(self, entity_id: str, new_state: State | None) -> None: ...
|
48
45
|
async def async_set_percentage(self, percentage: int) -> None: ...
|
49
46
|
async def async_oscillate(self, oscillating: bool) -> None: ...
|
50
47
|
async def async_set_direction(self, direction: str) -> None: ...
|
@@ -7,8 +7,7 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
7
7
|
from homeassistant.const import ATTR_ENTITY_ID as ATTR_ENTITY_ID, ATTR_SUPPORTED_FEATURES as ATTR_SUPPORTED_FEATURES, CONF_ENTITIES as CONF_ENTITIES, CONF_NAME as CONF_NAME, CONF_UNIQUE_ID as CONF_UNIQUE_ID, SERVICE_TURN_OFF as SERVICE_TURN_OFF, SERVICE_TURN_ON as SERVICE_TURN_ON, STATE_ON as STATE_ON, STATE_UNAVAILABLE as STATE_UNAVAILABLE, STATE_UNKNOWN as STATE_UNKNOWN
|
8
8
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
9
9
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
10
|
-
from homeassistant.helpers.
|
11
|
-
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType, EventType as EventType
|
10
|
+
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType
|
12
11
|
from typing import Any
|
13
12
|
|
14
13
|
DEFAULT_NAME: str
|
@@ -19,6 +18,7 @@ _LOGGER: Incomplete
|
|
19
18
|
|
20
19
|
async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = ...) -> None: ...
|
21
20
|
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
21
|
+
def async_create_preview_light(name: str, validated_config: dict[str, Any]) -> LightGroup: ...
|
22
22
|
|
23
23
|
FORWARDED_ATTRIBUTES: Incomplete
|
24
24
|
|
@@ -33,8 +33,7 @@ class LightGroup(GroupEntity, LightEntity):
|
|
33
33
|
_attr_extra_state_attributes: Incomplete
|
34
34
|
_attr_unique_id: Incomplete
|
35
35
|
mode: Incomplete
|
36
|
-
def __init__(self, unique_id: str | None, name: str, entity_ids: list[str], mode:
|
37
|
-
async def async_added_to_hass(self) -> None: ...
|
36
|
+
def __init__(self, unique_id: str | None, name: str, entity_ids: list[str], mode: bool | None) -> None: ...
|
38
37
|
async def async_turn_on(self, **kwargs: Any) -> None: ...
|
39
38
|
async def async_turn_off(self, **kwargs: Any) -> None: ...
|
40
39
|
_attr_is_on: Incomplete
|
@@ -5,8 +5,7 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
5
5
|
from homeassistant.const import ATTR_ENTITY_ID as ATTR_ENTITY_ID, CONF_ENTITIES as CONF_ENTITIES, CONF_NAME as CONF_NAME, CONF_UNIQUE_ID as CONF_UNIQUE_ID, SERVICE_LOCK as SERVICE_LOCK, SERVICE_OPEN as SERVICE_OPEN, SERVICE_UNLOCK as SERVICE_UNLOCK, STATE_JAMMED as STATE_JAMMED, STATE_LOCKED as STATE_LOCKED, STATE_LOCKING as STATE_LOCKING, STATE_UNAVAILABLE as STATE_UNAVAILABLE, STATE_UNKNOWN as STATE_UNKNOWN, STATE_UNLOCKING as STATE_UNLOCKING
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
7
7
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
8
|
-
from homeassistant.helpers.
|
9
|
-
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType, EventType as EventType
|
8
|
+
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType
|
10
9
|
from typing import Any
|
11
10
|
|
12
11
|
DEFAULT_NAME: str
|
@@ -15,6 +14,7 @@ _LOGGER: Incomplete
|
|
15
14
|
|
16
15
|
async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = ...) -> None: ...
|
17
16
|
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
17
|
+
def async_create_preview_lock(name: str, validated_config: dict[str, Any]) -> LockGroup: ...
|
18
18
|
|
19
19
|
class LockGroup(GroupEntity, LockEntity):
|
20
20
|
_attr_available: bool
|
@@ -25,7 +25,6 @@ class LockGroup(GroupEntity, LockEntity):
|
|
25
25
|
_attr_extra_state_attributes: Incomplete
|
26
26
|
_attr_unique_id: Incomplete
|
27
27
|
def __init__(self, unique_id: str | None, name: str, entity_ids: list[str]) -> None: ...
|
28
|
-
async def async_added_to_hass(self) -> None: ...
|
29
28
|
async def async_lock(self, **kwargs: Any) -> None: ...
|
30
29
|
async def async_unlock(self, **kwargs: Any) -> None: ...
|
31
30
|
async def async_open(self, **kwargs: Any) -> None: ...
|
@@ -1,9 +1,9 @@
|
|
1
1
|
from _typeshed import Incomplete
|
2
|
-
from collections.abc import Mapping
|
2
|
+
from collections.abc import Callable as Callable, Mapping
|
3
3
|
from homeassistant.components.media_player import ATTR_MEDIA_CONTENT_ID as ATTR_MEDIA_CONTENT_ID, ATTR_MEDIA_CONTENT_TYPE as ATTR_MEDIA_CONTENT_TYPE, ATTR_MEDIA_SEEK_POSITION as ATTR_MEDIA_SEEK_POSITION, ATTR_MEDIA_SHUFFLE as ATTR_MEDIA_SHUFFLE, ATTR_MEDIA_VOLUME_LEVEL as ATTR_MEDIA_VOLUME_LEVEL, ATTR_MEDIA_VOLUME_MUTED as ATTR_MEDIA_VOLUME_MUTED, DOMAIN as DOMAIN, MediaPlayerEntity as MediaPlayerEntity, MediaPlayerEntityFeature as MediaPlayerEntityFeature, MediaPlayerState as MediaPlayerState, MediaType as MediaType, PLATFORM_SCHEMA as PLATFORM_SCHEMA, SERVICE_CLEAR_PLAYLIST as SERVICE_CLEAR_PLAYLIST, SERVICE_PLAY_MEDIA as SERVICE_PLAY_MEDIA
|
4
4
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
5
|
from homeassistant.const import ATTR_ENTITY_ID as ATTR_ENTITY_ID, ATTR_SUPPORTED_FEATURES as ATTR_SUPPORTED_FEATURES, CONF_ENTITIES as CONF_ENTITIES, CONF_NAME as CONF_NAME, CONF_UNIQUE_ID as CONF_UNIQUE_ID, 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_SEEK as SERVICE_MEDIA_SEEK, SERVICE_MEDIA_STOP as SERVICE_MEDIA_STOP, SERVICE_SHUFFLE_SET as SERVICE_SHUFFLE_SET, SERVICE_TURN_OFF as SERVICE_TURN_OFF, SERVICE_TURN_ON as SERVICE_TURN_ON, SERVICE_VOLUME_MUTE as SERVICE_VOLUME_MUTE, SERVICE_VOLUME_SET as SERVICE_VOLUME_SET, STATE_UNAVAILABLE as STATE_UNAVAILABLE, STATE_UNKNOWN as STATE_UNKNOWN
|
6
|
-
from homeassistant.core import HomeAssistant as HomeAssistant, State as State, callback as callback
|
6
|
+
from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, HomeAssistant as HomeAssistant, State as State, callback as callback
|
7
7
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
8
8
|
from homeassistant.helpers.event import EventStateChangedData as EventStateChangedData, async_track_state_change_event as async_track_state_change_event
|
9
9
|
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType, EventType as EventType
|
@@ -23,6 +23,7 @@ DEFAULT_NAME: str
|
|
23
23
|
|
24
24
|
async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = ...) -> None: ...
|
25
25
|
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
26
|
+
def async_create_preview_media_player(name: str, validated_config: dict[str, Any]) -> MediaPlayerGroup: ...
|
26
27
|
|
27
28
|
class MediaPlayerGroup(MediaPlayerEntity):
|
28
29
|
_attr_available: bool
|
@@ -34,6 +35,7 @@ class MediaPlayerGroup(MediaPlayerEntity):
|
|
34
35
|
def __init__(self, unique_id: str | None, name: str, entities: list[str]) -> None: ...
|
35
36
|
def async_on_state_change(self, event: EventType[EventStateChangedData]) -> None: ...
|
36
37
|
def async_update_supported_features(self, entity_id: str, new_state: State | None) -> None: ...
|
38
|
+
def async_start_preview(self, preview_callback: Callable[[str, Mapping[str, Any]], None]) -> CALLBACK_TYPE: ...
|
37
39
|
async def async_added_to_hass(self) -> None: ...
|
38
40
|
@property
|
39
41
|
def name(self) -> str: ...
|
@@ -56,4 +58,4 @@ class MediaPlayerGroup(MediaPlayerEntity):
|
|
56
58
|
async def async_volume_down(self) -> None: ...
|
57
59
|
_attr_state: Incomplete
|
58
60
|
_attr_supported_features: Incomplete
|
59
|
-
def
|
61
|
+
def async_update_group_state(self) -> None: ...
|
@@ -7,8 +7,7 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
7
7
|
from homeassistant.const import ATTR_ENTITY_ID as ATTR_ENTITY_ID, CONF_DEVICE_CLASS as CONF_DEVICE_CLASS, CONF_ENTITIES as CONF_ENTITIES, CONF_NAME as CONF_NAME, CONF_TYPE as CONF_TYPE, CONF_UNIQUE_ID as CONF_UNIQUE_ID, CONF_UNIT_OF_MEASUREMENT as CONF_UNIT_OF_MEASUREMENT, STATE_UNAVAILABLE as STATE_UNAVAILABLE, STATE_UNKNOWN as STATE_UNKNOWN
|
8
8
|
from homeassistant.core import HomeAssistant as HomeAssistant, State as State, callback as callback
|
9
9
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
10
|
-
from homeassistant.helpers.
|
11
|
-
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType, EventType as EventType, StateType as StateType
|
10
|
+
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType, StateType as StateType
|
12
11
|
from typing import Any
|
13
12
|
|
14
13
|
DEFAULT_NAME: str
|
@@ -31,6 +30,7 @@ _LOGGER: Incomplete
|
|
31
30
|
|
32
31
|
async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = ...) -> None: ...
|
33
32
|
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
33
|
+
def async_create_preview_sensor(name: str, validated_config: dict[str, Any]) -> SensorGroup: ...
|
34
34
|
def calc_min(sensor_values: list[tuple[str, float, State]]) -> tuple[dict[str, str | None], float | None]: ...
|
35
35
|
def calc_max(sensor_values: list[tuple[str, float, State]]) -> tuple[dict[str, str | None], float | None]: ...
|
36
36
|
def calc_mean(sensor_values: list[tuple[str, float, State]]) -> tuple[dict[str, str | None], float | None]: ...
|
@@ -61,7 +61,6 @@ class SensorGroup(GroupEntity, SensorEntity):
|
|
61
61
|
_state_incorrect: Incomplete
|
62
62
|
_extra_state_attribute: Incomplete
|
63
63
|
def __init__(self, unique_id: str | None, name: str, entity_ids: list[str], mode: bool, sensor_type: str, unit_of_measurement: str | None, state_class: SensorStateClass | None, device_class: SensorDeviceClass | None) -> None: ...
|
64
|
-
async def async_added_to_hass(self) -> None: ...
|
65
64
|
_attr_native_value: Incomplete
|
66
65
|
def async_update_group_state(self) -> None: ...
|
67
66
|
@property
|
@@ -5,8 +5,7 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
5
5
|
from homeassistant.const import ATTR_ENTITY_ID as ATTR_ENTITY_ID, CONF_ENTITIES as CONF_ENTITIES, CONF_NAME as CONF_NAME, CONF_UNIQUE_ID as CONF_UNIQUE_ID, SERVICE_TURN_OFF as SERVICE_TURN_OFF, SERVICE_TURN_ON as SERVICE_TURN_ON, STATE_ON as STATE_ON, STATE_UNAVAILABLE as STATE_UNAVAILABLE, STATE_UNKNOWN as STATE_UNKNOWN
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
7
7
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
8
|
-
from homeassistant.helpers.
|
9
|
-
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType, EventType as EventType
|
8
|
+
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType
|
10
9
|
from typing import Any
|
11
10
|
|
12
11
|
DEFAULT_NAME: str
|
@@ -16,6 +15,7 @@ _LOGGER: Incomplete
|
|
16
15
|
|
17
16
|
async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = ...) -> None: ...
|
18
17
|
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
18
|
+
def async_create_preview_switch(name: str, validated_config: dict[str, Any]) -> SwitchGroup: ...
|
19
19
|
|
20
20
|
class SwitchGroup(GroupEntity, SwitchEntity):
|
21
21
|
_attr_available: bool
|
@@ -26,7 +26,6 @@ class SwitchGroup(GroupEntity, SwitchEntity):
|
|
26
26
|
_attr_unique_id: Incomplete
|
27
27
|
mode: Incomplete
|
28
28
|
def __init__(self, unique_id: str | None, name: str, entity_ids: list[str], mode: bool | None) -> None: ...
|
29
|
-
async def async_added_to_hass(self) -> None: ...
|
30
29
|
async def async_turn_on(self, **kwargs: Any) -> None: ...
|
31
30
|
async def async_turn_off(self, **kwargs: Any) -> None: ...
|
32
31
|
_attr_is_on: Incomplete
|
@@ -8,8 +8,9 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigEntry
|
|
8
8
|
from homeassistant.const import ATTR_DEVICE_ID as ATTR_DEVICE_ID, CONF_DEVICE_ID as CONF_DEVICE_ID, CONF_FILENAME as CONF_FILENAME, CONF_IP_ADDRESS as CONF_IP_ADDRESS, CONF_PORT as CONF_PORT, CONF_URL as CONF_URL, Platform as Platform
|
9
9
|
from homeassistant.core import HomeAssistant as HomeAssistant, ServiceCall as ServiceCall, callback as callback
|
10
10
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
11
|
+
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
11
12
|
from homeassistant.helpers.dispatcher import async_dispatcher_send as async_dispatcher_send
|
12
|
-
from homeassistant.helpers.entity import
|
13
|
+
from homeassistant.helpers.entity import EntityDescription as EntityDescription
|
13
14
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
14
15
|
|
15
16
|
DATA_PAIRED_SENSOR_MANAGER: str
|
@@ -28,7 +29,6 @@ class GuardianData:
|
|
28
29
|
valve_controller_coordinators: dict[str, GuardianDataUpdateCoordinator]
|
29
30
|
paired_sensor_manager: PairedSensorManager
|
30
31
|
def __init__(self, entry, client, valve_controller_coordinators, paired_sensor_manager) -> None: ...
|
31
|
-
def __mypy-replace(*, entry, client, valve_controller_coordinators, paired_sensor_manager) -> None: ...
|
32
32
|
|
33
33
|
def async_get_entry_id_for_service_call(hass: HomeAssistant, call: ServiceCall) -> str: ...
|
34
34
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
@@ -65,11 +65,9 @@ class PairedSensorEntity(GuardianEntity):
|
|
65
65
|
class ValveControllerEntityDescriptionMixin:
|
66
66
|
api_category: str
|
67
67
|
def __init__(self, api_category) -> None: ...
|
68
|
-
def __mypy-replace(*, api_category) -> None: ...
|
69
68
|
|
70
69
|
class ValveControllerEntityDescription(EntityDescription, ValveControllerEntityDescriptionMixin):
|
71
70
|
def __init__(self, api_category, 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: ...
|
72
|
-
def __mypy-replace(*, api_category, 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: ...
|
73
71
|
|
74
72
|
class ValveControllerEntity(GuardianEntity):
|
75
73
|
_diagnostics_coordinator: Incomplete
|
@@ -15,7 +15,6 @@ SENSOR_KIND_MOVED: str
|
|
15
15
|
|
16
16
|
class ValveControllerBinarySensorDescription(BinarySensorEntityDescription, ValveControllerEntityDescription):
|
17
17
|
def __init__(self, api_category, 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: ...
|
18
|
-
def __mypy-replace(*, api_category, 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
18
|
|
20
19
|
PAIRED_SENSOR_DESCRIPTIONS: Incomplete
|
21
20
|
VALVE_CONTROLLER_DESCRIPTIONS: Incomplete
|
@@ -14,11 +14,9 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEnti
|
|
14
14
|
class GuardianButtonEntityDescriptionMixin:
|
15
15
|
push_action: Callable[[Client], Awaitable]
|
16
16
|
def __init__(self, push_action) -> None: ...
|
17
|
-
def __mypy-replace(*, push_action) -> None: ...
|
18
17
|
|
19
18
|
class ValveControllerButtonDescription(ButtonEntityDescription, ValveControllerEntityDescription, GuardianButtonEntityDescriptionMixin):
|
20
19
|
def __init__(self, push_action, api_category, 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: ...
|
21
|
-
def __mypy-replace(*, push_action, api_category, 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: ...
|
22
20
|
|
23
21
|
BUTTON_KIND_REBOOT: str
|
24
22
|
BUTTON_KIND_RESET_VALVE_DIAGNOSTICS: str
|
@@ -14,7 +14,6 @@ SENSOR_KIND_UPTIME: str
|
|
14
14
|
|
15
15
|
class ValveControllerSensorDescription(SensorEntityDescription, ValveControllerEntityDescription):
|
16
16
|
def __init__(self, api_category, 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: ...
|
17
|
-
def __mypy-replace(*, api_category, 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: ...
|
18
17
|
|
19
18
|
PAIRED_SENSOR_DESCRIPTIONS: Incomplete
|
20
19
|
VALVE_CONTROLLER_DESCRIPTIONS: Incomplete
|
@@ -24,11 +24,9 @@ class SwitchDescriptionMixin:
|
|
24
24
|
off_action: Callable[[Client], Awaitable]
|
25
25
|
on_action: Callable[[Client], Awaitable]
|
26
26
|
def __init__(self, off_action, on_action) -> None: ...
|
27
|
-
def __mypy-replace(*, off_action, on_action) -> None: ...
|
28
27
|
|
29
28
|
class ValveControllerSwitchDescription(SwitchEntityDescription, ValveControllerEntityDescription, SwitchDescriptionMixin):
|
30
29
|
def __init__(self, off_action, on_action, api_category, 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: ...
|
31
|
-
def __mypy-replace(*, off_action, on_action, api_category, 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: ...
|
32
30
|
|
33
31
|
async def _async_disable_ap(client: Client) -> None: ...
|
34
32
|
async def _async_enable_ap(client: Client) -> None: ...
|
@@ -19,7 +19,6 @@ class EntityDomainReplacementStrategy:
|
|
19
19
|
breaks_in_ha_version: str
|
20
20
|
remove_old_entity: bool
|
21
21
|
def __init__(self, old_domain, old_unique_id, replacement_entity_id, breaks_in_ha_version, remove_old_entity) -> None: ...
|
22
|
-
def __mypy-replace(*, old_domain, old_unique_id, replacement_entity_id, breaks_in_ha_version, remove_old_entity) -> None: ...
|
23
22
|
|
24
23
|
def async_finish_entity_domain_replacements(hass: HomeAssistant, entry: ConfigEntry, entity_replacement_strategies: Iterable[EntityDomainReplacementStrategy]) -> None: ...
|
25
24
|
|
@@ -7,7 +7,6 @@ class BoardInfo:
|
|
7
7
|
model: str | None
|
8
8
|
revision: str | None
|
9
9
|
def __init__(self, hassio_board_id, manufacturer, model, revision) -> None: ...
|
10
|
-
def __mypy-replace(*, hassio_board_id, manufacturer, model, revision) -> None: ...
|
11
10
|
|
12
11
|
class USBInfo:
|
13
12
|
vid: str
|
@@ -16,7 +15,6 @@ class USBInfo:
|
|
16
15
|
manufacturer: str | None
|
17
16
|
description: str | None
|
18
17
|
def __init__(self, vid, pid, serial_number, manufacturer, description) -> None: ...
|
19
|
-
def __mypy-replace(*, vid, pid, serial_number, manufacturer, description) -> None: ...
|
20
18
|
|
21
19
|
class HardwareInfo:
|
22
20
|
name: str | None
|
@@ -25,7 +23,6 @@ class HardwareInfo:
|
|
25
23
|
dongle: USBInfo | None
|
26
24
|
url: str | None
|
27
25
|
def __init__(self, name, board, config_entries, dongle, url) -> None: ...
|
28
|
-
def __mypy-replace(*, name, board, config_entries, dongle, url) -> None: ...
|
29
26
|
|
30
27
|
class HardwareProtocol(Protocol):
|
31
28
|
def async_info(self, hass: HomeAssistant) -> list[HardwareInfo]: ...
|
@@ -13,7 +13,6 @@ class SystemStatus:
|
|
13
13
|
remove_periodic_timer: CALLBACK_TYPE | None
|
14
14
|
subscribers: set[tuple[websocket_api.ActiveConnection, int]]
|
15
15
|
def __init__(self, ha_psutil, remove_periodic_timer, subscribers) -> None: ...
|
16
|
-
def __mypy-replace(*, ha_psutil, remove_periodic_timer, subscribers) -> None: ...
|
17
16
|
|
18
17
|
async def async_setup(hass: HomeAssistant) -> None: ...
|
19
18
|
async def ws_info(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict[str, Any]) -> None: ...
|
@@ -23,4 +23,3 @@ class HERETravelTimeConfig:
|
|
23
23
|
arrival: time | None
|
24
24
|
departure: time | None
|
25
25
|
def __init__(self, destination_latitude, destination_longitude, destination_entity_id, origin_latitude, origin_longitude, origin_entity_id, travel_mode, route_mode, arrival, departure) -> None: ...
|
26
|
-
def __mypy-replace(*, destination_latitude, destination_longitude, destination_entity_id, origin_latitude, origin_longitude, origin_entity_id, travel_mode, route_mode, arrival, departure) -> None: ...
|
@@ -6,8 +6,7 @@ from homeassistant.components.sensor import RestoreSensor as RestoreSensor, Sens
|
|
6
6
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
7
7
|
from homeassistant.const import ATTR_ATTRIBUTION as ATTR_ATTRIBUTION, ATTR_LATITUDE as ATTR_LATITUDE, ATTR_LONGITUDE as ATTR_LONGITUDE, CONF_MODE as CONF_MODE, CONF_NAME as CONF_NAME, UnitOfLength as UnitOfLength, UnitOfTime as UnitOfTime
|
8
8
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
9
|
-
from homeassistant.helpers.device_registry import DeviceEntryType as DeviceEntryType
|
10
|
-
from homeassistant.helpers.entity import DeviceInfo as DeviceInfo
|
9
|
+
from homeassistant.helpers.device_registry import DeviceEntryType as DeviceEntryType, DeviceInfo as DeviceInfo
|
11
10
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
12
11
|
from homeassistant.helpers.start import async_at_started as async_at_started
|
13
12
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
@@ -24,7 +24,6 @@ class HistoryLiveStream:
|
|
24
24
|
task: asyncio.Task | None
|
25
25
|
wait_sync_task: asyncio.Task | None
|
26
26
|
def __init__(self, stream_queue, subscriptions, end_time_unsub, task, wait_sync_task) -> None: ...
|
27
|
-
def __mypy-replace(*, stream_queue, subscriptions, end_time_unsub, task, wait_sync_task) -> None: ...
|
28
27
|
|
29
28
|
def async_setup(hass: HomeAssistant) -> None: ...
|
30
29
|
def _ws_get_significant_states(hass: HomeAssistant, msg_id: int, start_time: dt, end_time: dt | None, entity_ids: list[str] | None, include_start_time_state: bool, significant_changes_only: bool, minimal_response: bool, no_attributes: bool) -> str: ...
|
@@ -25,13 +25,11 @@ class AssistantPreferences:
|
|
25
25
|
expose_new: bool
|
26
26
|
def to_json(self) -> dict[str, Any]: ...
|
27
27
|
def __init__(self, expose_new) -> None: ...
|
28
|
-
def __mypy-replace(*, expose_new) -> None: ...
|
29
28
|
|
30
29
|
class ExposedEntity:
|
31
30
|
assistants: dict[str, dict[str, Any]]
|
32
31
|
def to_json(self) -> dict[str, Any]: ...
|
33
32
|
def __init__(self, assistants) -> None: ...
|
34
|
-
def __mypy-replace(*, assistants) -> None: ...
|
35
33
|
|
36
34
|
class SerializedExposedEntities(TypedDict):
|
37
35
|
assistants: dict[str, dict[str, Any]]
|
@@ -25,7 +25,6 @@ class IntegrationAlert:
|
|
25
25
|
@property
|
26
26
|
def issue_id(self) -> str: ...
|
27
27
|
def __init__(self, alert_id, integration, filename, date_updated) -> None: ...
|
28
|
-
def __mypy-replace(*, alert_id, integration, filename, date_updated) -> None: ...
|
29
28
|
|
30
29
|
class AlertUpdateCoordinator(DataUpdateCoordinator[dict[str, IntegrationAlert]]):
|
31
30
|
ha_version: Incomplete
|
@@ -0,0 +1,7 @@
|
|
1
|
+
from homeassistant.components.hassio import get_os_info as get_os_info
|
2
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
3
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
4
|
+
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
5
|
+
|
6
|
+
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
7
|
+
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
@@ -0,0 +1,8 @@
|
|
1
|
+
from .const import DOMAIN as DOMAIN
|
2
|
+
from homeassistant.config_entries import ConfigFlow as ConfigFlow
|
3
|
+
from homeassistant.data_entry_flow import FlowResult as FlowResult
|
4
|
+
from typing import Any
|
5
|
+
|
6
|
+
class HomeAssistantGreenConfigFlow(ConfigFlow, domain=DOMAIN):
|
7
|
+
VERSION: int
|
8
|
+
async def async_step_system(self, data: dict[str, Any] | None = ...) -> FlowResult: ...
|
@@ -0,0 +1 @@
|
|
1
|
+
DOMAIN: str
|
@@ -0,0 +1,11 @@
|
|
1
|
+
from .const import DOMAIN as DOMAIN
|
2
|
+
from homeassistant.components.hardware.models import BoardInfo as BoardInfo, HardwareInfo as HardwareInfo
|
3
|
+
from homeassistant.components.hassio import get_os_info as get_os_info
|
4
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
5
|
+
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
6
|
+
|
7
|
+
BOARD_NAME: str
|
8
|
+
MANUFACTURER: str
|
9
|
+
MODEL: str
|
10
|
+
|
11
|
+
def async_info(hass: HomeAssistant) -> list[HardwareInfo]: ...
|