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,10 +2,12 @@ from .const import CONNECTION_ESTABLISHED_KEY as CONNECTION_ESTABLISHED_KEY, DOM
|
|
2
2
|
from _typeshed import Incomplete
|
3
3
|
from aiooncue import OncueDevice, OncueSensor as OncueSensor
|
4
4
|
from homeassistant.const import ATTR_CONNECTIONS as ATTR_CONNECTIONS
|
5
|
-
from homeassistant.helpers.
|
5
|
+
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
6
|
+
from homeassistant.helpers.entity import Entity as Entity, EntityDescription as EntityDescription
|
6
7
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity, DataUpdateCoordinator as DataUpdateCoordinator
|
7
8
|
|
8
9
|
class OncueEntity(CoordinatorEntity[DataUpdateCoordinator[dict[str, OncueDevice]]], Entity):
|
10
|
+
_attr_has_entity_name: bool
|
9
11
|
entity_description: Incomplete
|
10
12
|
_device_id: Incomplete
|
11
13
|
_attr_unique_id: Incomplete
|
@@ -9,7 +9,6 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEnti
|
|
9
9
|
|
10
10
|
class OneWireBinarySensorEntityDescription(OneWireEntityDescription, BinarySensorEntityDescription):
|
11
11
|
def __init__(self, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, read_mode) -> None: ...
|
12
|
-
def __mypy-replace(*, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, read_mode) -> None: ...
|
13
12
|
|
14
13
|
DEVICE_BINARY_SENSORS: dict[str, tuple[OneWireBinarySensorEntityDescription, ...]]
|
15
14
|
HOBBYBOARD_EF: dict[str, tuple[OneWireBinarySensorEntityDescription, ...]]
|
@@ -1,4 +1,4 @@
|
|
1
|
-
from homeassistant.helpers.
|
1
|
+
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
2
2
|
|
3
3
|
class OWDeviceDescription:
|
4
4
|
device_info: DeviceInfo
|
@@ -7,4 +7,3 @@ class OWDeviceDescription:
|
|
7
7
|
path: str
|
8
8
|
type: str
|
9
9
|
def __init__(self, device_info, family, id, path, type) -> None: ...
|
10
|
-
def __mypy-replace(*, device_info, family, id, path, type) -> None: ...
|
@@ -1,6 +1,7 @@
|
|
1
1
|
from .const import READ_MODE_BOOL as READ_MODE_BOOL, READ_MODE_INT as READ_MODE_INT
|
2
2
|
from _typeshed import Incomplete
|
3
|
-
from homeassistant.helpers.
|
3
|
+
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
4
|
+
from homeassistant.helpers.entity import Entity as Entity, EntityDescription as EntityDescription
|
4
5
|
from homeassistant.helpers.typing import StateType as StateType
|
5
6
|
from pyownet import protocol
|
6
7
|
from typing import Any
|
@@ -8,7 +9,6 @@ from typing import Any
|
|
8
9
|
class OneWireEntityDescription(EntityDescription):
|
9
10
|
read_mode: str | None
|
10
11
|
def __init__(self, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, read_mode) -> None: ...
|
11
|
-
def __mypy-replace(*, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, read_mode) -> None: ...
|
12
12
|
|
13
13
|
_LOGGER: Incomplete
|
14
14
|
|
@@ -5,7 +5,7 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
5
5
|
from homeassistant.const import ATTR_IDENTIFIERS as ATTR_IDENTIFIERS, ATTR_MANUFACTURER as ATTR_MANUFACTURER, ATTR_MODEL as ATTR_MODEL, ATTR_NAME as ATTR_NAME, ATTR_VIA_DEVICE as ATTR_VIA_DEVICE, CONF_HOST as CONF_HOST, CONF_PORT as CONF_PORT
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
7
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
8
|
-
from homeassistant.helpers.
|
8
|
+
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
9
9
|
|
10
10
|
DEVICE_COUPLERS: Incomplete
|
11
11
|
DEVICE_MANUFACTURER: Incomplete
|
@@ -15,7 +15,6 @@ from typing import Any
|
|
15
15
|
class OneWireSensorEntityDescription(OneWireEntityDescription, SensorEntityDescription):
|
16
16
|
override_key: Callable[[str, Mapping[str, Any]], str] | None
|
17
17
|
def __init__(self, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, last_reset, native_unit_of_measurement, options, state_class, suggested_display_precision, suggested_unit_of_measurement, read_mode, override_key) -> None: ...
|
18
|
-
def __mypy-replace(*, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, last_reset, native_unit_of_measurement, options, state_class, suggested_display_precision, suggested_unit_of_measurement, read_mode, override_key) -> None: ...
|
19
18
|
|
20
19
|
def _get_sensor_precision_family_28(device_id: str, options: Mapping[str, Any]) -> str: ...
|
21
20
|
|
@@ -10,7 +10,6 @@ from typing import Any
|
|
10
10
|
|
11
11
|
class OneWireSwitchEntityDescription(OneWireEntityDescription, SwitchEntityDescription):
|
12
12
|
def __init__(self, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, read_mode) -> None: ...
|
13
|
-
def __mypy-replace(*, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, read_mode) -> None: ...
|
14
13
|
|
15
14
|
DEVICE_SWITCHES: dict[str, tuple[OneWireEntityDescription, ...]]
|
16
15
|
HOBBYBOARD_EF: dict[str, tuple[OneWireEntityDescription, ...]]
|
@@ -1,23 +1,23 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN, WMO_TO_HA_CONDITION_MAP as WMO_TO_HA_CONDITION_MAP
|
2
2
|
from _typeshed import Incomplete
|
3
|
-
from homeassistant.components.weather import Forecast as Forecast,
|
3
|
+
from homeassistant.components.weather import Forecast as Forecast, SingleCoordinatorWeatherEntity as SingleCoordinatorWeatherEntity, WeatherEntityFeature as WeatherEntityFeature
|
4
4
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
5
|
from homeassistant.const import UnitOfPrecipitationDepth as UnitOfPrecipitationDepth, UnitOfSpeed as UnitOfSpeed, UnitOfTemperature as UnitOfTemperature
|
6
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
|
-
from homeassistant.helpers.device_registry import DeviceEntryType as DeviceEntryType
|
8
|
-
from homeassistant.helpers.entity import DeviceInfo as DeviceInfo
|
6
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
7
|
+
from homeassistant.helpers.device_registry import DeviceEntryType as DeviceEntryType, DeviceInfo as DeviceInfo
|
9
8
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
10
|
-
from homeassistant.helpers.update_coordinator import
|
9
|
+
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator
|
11
10
|
from open_meteo import Forecast as OpenMeteoForecast
|
12
11
|
|
13
12
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
14
13
|
|
15
|
-
class OpenMeteoWeatherEntity(
|
14
|
+
class OpenMeteoWeatherEntity(SingleCoordinatorWeatherEntity[DataUpdateCoordinator[OpenMeteoForecast]]):
|
16
15
|
_attr_has_entity_name: bool
|
17
16
|
_attr_name: Incomplete
|
18
17
|
_attr_native_precipitation_unit: Incomplete
|
19
18
|
_attr_native_temperature_unit: Incomplete
|
20
19
|
_attr_native_wind_speed_unit: Incomplete
|
20
|
+
_attr_supported_features: Incomplete
|
21
21
|
_attr_unique_id: Incomplete
|
22
22
|
_attr_device_info: Incomplete
|
23
23
|
def __init__(self, *, entry: ConfigEntry, coordinator: DataUpdateCoordinator[OpenMeteoForecast]) -> None: ...
|
@@ -31,3 +31,4 @@ class OpenMeteoWeatherEntity(CoordinatorEntity[DataUpdateCoordinator[OpenMeteoFo
|
|
31
31
|
def wind_bearing(self) -> float | str | None: ...
|
32
32
|
@property
|
33
33
|
def forecast(self) -> list[Forecast] | None: ...
|
34
|
+
def _async_forecast_daily(self) -> list[Forecast] | None: ...
|
@@ -3,10 +3,9 @@ from .coordinator import OpenexchangeratesCoordinator as OpenexchangeratesCoordi
|
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from homeassistant.components.sensor import SensorEntity as SensorEntity
|
5
5
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
|
-
from homeassistant.const import
|
6
|
+
from homeassistant.const import CONF_QUOTE as CONF_QUOTE
|
7
7
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
8
|
-
from homeassistant.helpers.device_registry import DeviceEntryType as DeviceEntryType
|
9
|
-
from homeassistant.helpers.entity import DeviceInfo as DeviceInfo
|
8
|
+
from homeassistant.helpers.device_registry import DeviceEntryType as DeviceEntryType, DeviceInfo as DeviceInfo
|
10
9
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
11
10
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
12
11
|
|
@@ -15,14 +14,14 @@ ATTRIBUTION: str
|
|
15
14
|
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
16
15
|
|
17
16
|
class OpenexchangeratesSensor(CoordinatorEntity[OpenexchangeratesCoordinator], SensorEntity):
|
17
|
+
_attr_has_entity_name: bool
|
18
18
|
_attr_attribution = ATTRIBUTION
|
19
19
|
_attr_device_info: Incomplete
|
20
20
|
_attr_entity_registry_enabled_default: Incomplete
|
21
21
|
_attr_name: Incomplete
|
22
|
-
_attr_has_entity_name: bool
|
23
22
|
_attr_native_unit_of_measurement: Incomplete
|
24
23
|
_attr_unique_id: Incomplete
|
25
24
|
_quote: Incomplete
|
26
|
-
def __init__(self, config_entry: ConfigEntry, coordinator: OpenexchangeratesCoordinator,
|
25
|
+
def __init__(self, config_entry: ConfigEntry, coordinator: OpenexchangeratesCoordinator, quote: str, enabled: bool) -> None: ...
|
27
26
|
@property
|
28
27
|
def native_value(self) -> float: ...
|
@@ -1,7 +1,11 @@
|
|
1
|
-
from .const import
|
1
|
+
from .const import CONF_CONTRIBUTING_USER as CONF_CONTRIBUTING_USER, DOMAIN as DOMAIN, PLATFORMS as PLATFORMS
|
2
|
+
from .coordinator import OpenSkyDataUpdateCoordinator as OpenSkyDataUpdateCoordinator
|
2
3
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
4
|
+
from homeassistant.const import CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME
|
3
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
|
+
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
4
7
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
5
8
|
|
6
9
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
7
10
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
11
|
+
async def update_listener(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
|
@@ -1,11 +1,18 @@
|
|
1
|
-
from .const import DEFAULT_NAME as DEFAULT_NAME, DOMAIN as DOMAIN
|
1
|
+
from .const import CONF_CONTRIBUTING_USER as CONF_CONTRIBUTING_USER, DEFAULT_NAME as DEFAULT_NAME, DOMAIN as DOMAIN
|
2
2
|
from .sensor import CONF_ALTITUDE as CONF_ALTITUDE, DEFAULT_ALTITUDE as DEFAULT_ALTITUDE
|
3
|
-
from homeassistant.config_entries import ConfigFlow as ConfigFlow
|
4
|
-
from homeassistant.const import CONF_LATITUDE as CONF_LATITUDE, CONF_LONGITUDE as CONF_LONGITUDE, CONF_NAME as CONF_NAME, CONF_RADIUS as CONF_RADIUS
|
3
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, OptionsFlowWithConfigEntry as OptionsFlowWithConfigEntry
|
4
|
+
from homeassistant.const import CONF_LATITUDE as CONF_LATITUDE, CONF_LONGITUDE as CONF_LONGITUDE, CONF_NAME as CONF_NAME, CONF_PASSWORD as CONF_PASSWORD, CONF_RADIUS as CONF_RADIUS, CONF_USERNAME as CONF_USERNAME
|
5
|
+
from homeassistant.core import callback as callback
|
5
6
|
from homeassistant.data_entry_flow import FlowResult as FlowResult
|
7
|
+
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
6
8
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
7
9
|
from typing import Any
|
8
10
|
|
9
11
|
class OpenSkyConfigFlowHandler(ConfigFlow, domain=DOMAIN):
|
12
|
+
@staticmethod
|
13
|
+
def async_get_options_flow(config_entry: ConfigEntry) -> OpenSkyOptionsFlowHandler: ...
|
10
14
|
async def async_step_user(self, user_input: dict[str, Any] | None = ...) -> FlowResult: ...
|
11
15
|
async def async_step_import(self, import_config: ConfigType) -> FlowResult: ...
|
16
|
+
|
17
|
+
class OpenSkyOptionsFlowHandler(OptionsFlowWithConfigEntry):
|
18
|
+
async def async_step_init(self, user_input: dict[str, Any] | None = ...) -> FlowResult: ...
|
@@ -1,11 +1,13 @@
|
|
1
1
|
from _typeshed import Incomplete
|
2
2
|
from homeassistant.const import Platform as Platform
|
3
3
|
|
4
|
+
LOGGER: Incomplete
|
4
5
|
PLATFORMS: Incomplete
|
5
6
|
DEFAULT_NAME: str
|
6
7
|
DOMAIN: str
|
7
|
-
|
8
|
+
MANUFACTURER: str
|
8
9
|
CONF_ALTITUDE: str
|
10
|
+
CONF_CONTRIBUTING_USER: str
|
9
11
|
ATTR_ICAO24: str
|
10
12
|
ATTR_CALLSIGN: str
|
11
13
|
ATTR_ALTITUDE: str
|
@@ -0,0 +1,17 @@
|
|
1
|
+
from .const import ATTR_ALTITUDE as ATTR_ALTITUDE, ATTR_CALLSIGN as ATTR_CALLSIGN, ATTR_ICAO24 as ATTR_ICAO24, ATTR_SENSOR as ATTR_SENSOR, CONF_ALTITUDE as CONF_ALTITUDE, DEFAULT_ALTITUDE as DEFAULT_ALTITUDE, DOMAIN as DOMAIN, EVENT_OPENSKY_ENTRY as EVENT_OPENSKY_ENTRY, EVENT_OPENSKY_EXIT as EVENT_OPENSKY_EXIT, LOGGER as LOGGER
|
2
|
+
from _typeshed import Incomplete
|
3
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
4
|
+
from homeassistant.const import ATTR_LATITUDE as ATTR_LATITUDE, ATTR_LONGITUDE as ATTR_LONGITUDE, CONF_LATITUDE as CONF_LATITUDE, CONF_LONGITUDE as CONF_LONGITUDE, CONF_RADIUS as CONF_RADIUS
|
5
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
|
+
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
7
|
+
from python_opensky import OpenSky, StateVector as StateVector
|
8
|
+
|
9
|
+
class OpenSkyDataUpdateCoordinator(DataUpdateCoordinator[int]):
|
10
|
+
config_entry: ConfigEntry
|
11
|
+
_opensky: Incomplete
|
12
|
+
_previously_tracked: Incomplete
|
13
|
+
_bounding_box: Incomplete
|
14
|
+
_altitude: Incomplete
|
15
|
+
def __init__(self, hass: HomeAssistant, opensky: OpenSky) -> None: ...
|
16
|
+
async def _async_update_data(self) -> int: ...
|
17
|
+
def _handle_boundary(self, flights: set[str], event: str, metadata: dict[str, StateVector]) -> None: ...
|
@@ -1,36 +1,28 @@
|
|
1
|
-
from .const import
|
1
|
+
from .const import CONF_ALTITUDE as CONF_ALTITUDE, DEFAULT_ALTITUDE as DEFAULT_ALTITUDE, DOMAIN as DOMAIN, MANUFACTURER as MANUFACTURER
|
2
|
+
from .coordinator import OpenSkyDataUpdateCoordinator as OpenSkyDataUpdateCoordinator
|
2
3
|
from _typeshed import Incomplete
|
3
|
-
from homeassistant.components.sensor import PLATFORM_SCHEMA as PLATFORM_SCHEMA, SensorEntity as SensorEntity
|
4
|
+
from homeassistant.components.sensor import PLATFORM_SCHEMA as PLATFORM_SCHEMA, SensorEntity as SensorEntity, SensorStateClass as SensorStateClass
|
4
5
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry, SOURCE_IMPORT as SOURCE_IMPORT
|
5
|
-
from homeassistant.const import
|
6
|
+
from homeassistant.const import CONF_LATITUDE as CONF_LATITUDE, CONF_LONGITUDE as CONF_LONGITUDE, CONF_NAME as CONF_NAME, CONF_RADIUS as CONF_RADIUS
|
6
7
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
8
|
+
from homeassistant.helpers.device_registry import DeviceEntryType as DeviceEntryType, DeviceInfo as DeviceInfo
|
7
9
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
8
10
|
from homeassistant.helpers.issue_registry import IssueSeverity as IssueSeverity, async_create_issue as async_create_issue
|
9
11
|
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType
|
10
|
-
from
|
11
|
-
|
12
|
-
SCAN_INTERVAL: Incomplete
|
12
|
+
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
13
13
|
|
14
14
|
async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = ...) -> None: ...
|
15
15
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
16
16
|
|
17
|
-
class OpenSkySensor(SensorEntity):
|
17
|
+
class OpenSkySensor(CoordinatorEntity[OpenSkyDataUpdateCoordinator], SensorEntity):
|
18
18
|
_attr_attribution: str
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
_bounding_box: Incomplete
|
19
|
+
_attr_has_entity_name: bool
|
20
|
+
_attr_name: Incomplete
|
21
|
+
_attr_icon: str
|
22
|
+
_attr_native_unit_of_measurement: str
|
23
|
+
_attr_state_class: Incomplete
|
25
24
|
_attr_unique_id: Incomplete
|
26
|
-
|
27
|
-
|
28
|
-
def name(self) -> str: ...
|
25
|
+
_attr_device_info: Incomplete
|
26
|
+
def __init__(self, coordinator: OpenSkyDataUpdateCoordinator, config_entry: ConfigEntry) -> None: ...
|
29
27
|
@property
|
30
28
|
def native_value(self) -> int: ...
|
31
|
-
def _handle_boundary(self, flights: set[str], event: str, metadata: dict[str, StateVector]) -> None: ...
|
32
|
-
async def async_update(self) -> None: ...
|
33
|
-
@property
|
34
|
-
def native_unit_of_measurement(self) -> str: ...
|
35
|
-
@property
|
36
|
-
def icon(self) -> str: ...
|
@@ -23,7 +23,6 @@ class OpenUvData:
|
|
23
23
|
@property
|
24
24
|
def unique_id(self) -> str: ...
|
25
25
|
def __init__(self, api_key, latitude, longitude, elevation) -> None: ...
|
26
|
-
def __mypy-replace(*, api_key, latitude, longitude, elevation) -> None: ...
|
27
26
|
|
28
27
|
class OpenUvFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
|
29
28
|
VERSION: int
|
@@ -2,13 +2,14 @@ import python_otbr_api
|
|
2
2
|
from .const import DOMAIN as DOMAIN
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from collections.abc import Callable as Callable, Coroutine
|
5
|
-
from homeassistant.components.homeassistant_hardware.silabs_multiprotocol_addon import MultiprotocolAddonManager as MultiprotocolAddonManager,
|
5
|
+
from homeassistant.components.homeassistant_hardware.silabs_multiprotocol_addon import MultiprotocolAddonManager as MultiprotocolAddonManager, get_multiprotocol_addon_manager as get_multiprotocol_addon_manager, is_multiprotocol_url as is_multiprotocol_url, multi_pan_addon_using_device as multi_pan_addon_using_device
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
7
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
8
|
-
from typing import Any, Concatenate,
|
8
|
+
from typing import Any, Concatenate, TypeVar
|
9
9
|
|
10
10
|
_R = TypeVar('_R')
|
11
|
-
_P
|
11
|
+
_P: Incomplete
|
12
|
+
_LOGGER: Incomplete
|
12
13
|
INFO_URL_SKY_CONNECT: str
|
13
14
|
INFO_URL_YELLOW: str
|
14
15
|
INSECURE_NETWORK_KEYS: Incomplete
|
@@ -20,6 +21,8 @@ class OTBRData:
|
|
20
21
|
url: str
|
21
22
|
api: python_otbr_api.OTBR
|
22
23
|
entry_id: str
|
24
|
+
async def factory_reset(self) -> None: ...
|
25
|
+
async def get_border_agent_id(self) -> bytes | None: ...
|
23
26
|
async def set_enabled(self, enabled: bool) -> None: ...
|
24
27
|
async def get_active_dataset(self) -> python_otbr_api.ActiveDataSet | None: ...
|
25
28
|
async def get_active_dataset_tlvs(self) -> bytes | None: ...
|
@@ -30,7 +33,6 @@ class OTBRData:
|
|
30
33
|
async def set_channel(self, channel: int, delay: float = ...) -> None: ...
|
31
34
|
async def get_extended_address(self) -> bytes: ...
|
32
35
|
def __init__(self, url, api, entry_id) -> None: ...
|
33
|
-
def __mypy-replace(*, url, api, entry_id) -> None: ...
|
34
36
|
|
35
37
|
async def get_allowed_channel(hass: HomeAssistant, otbr_url: str) -> int | None: ...
|
36
38
|
async def _warn_on_channel_collision(hass: HomeAssistant, otbrdata: OTBRData, dataset_tlvs: bytes) -> None: ...
|
@@ -10,5 +10,4 @@ def async_setup(hass: HomeAssistant) -> None: ...
|
|
10
10
|
async def websocket_info(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict) -> None: ...
|
11
11
|
async def websocket_create_network(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict) -> None: ...
|
12
12
|
async def websocket_set_network(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict) -> None: ...
|
13
|
-
async def websocket_get_extended_address(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict) -> None: ...
|
14
13
|
async def websocket_set_channel(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict) -> None: ...
|
@@ -13,7 +13,6 @@ class HomeAssistantOverkizData:
|
|
13
13
|
platforms: defaultdict[Platform, list[Device]]
|
14
14
|
scenarios: list[Scenario]
|
15
15
|
def __init__(self, coordinator, platforms, scenarios) -> None: ...
|
16
|
-
def __mypy-replace(*, coordinator, platforms, scenarios) -> None: ...
|
17
16
|
|
18
17
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
19
18
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
@@ -17,7 +17,6 @@ class OverkizAlarmDescriptionMixin:
|
|
17
17
|
supported_features: AlarmControlPanelEntityFeature
|
18
18
|
fn_state: Callable[[Callable[[str], OverkizStateType]], str]
|
19
19
|
def __init__(self, supported_features, fn_state) -> None: ...
|
20
|
-
def __mypy-replace(*, supported_features, fn_state) -> None: ...
|
21
20
|
|
22
21
|
class OverkizAlarmDescription(AlarmControlPanelEntityDescription, OverkizAlarmDescriptionMixin):
|
23
22
|
alarm_disarm: str | None
|
@@ -31,7 +30,6 @@ class OverkizAlarmDescription(AlarmControlPanelEntityDescription, OverkizAlarmDe
|
|
31
30
|
alarm_trigger: str | None
|
32
31
|
alarm_trigger_args: OverkizStateType | list[OverkizStateType]
|
33
32
|
def __init__(self, supported_features, fn_state, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, alarm_disarm, alarm_disarm_args, alarm_arm_home, alarm_arm_home_args, alarm_arm_night, alarm_arm_night_args, alarm_arm_away, alarm_arm_away_args, alarm_trigger, alarm_trigger_args) -> None: ...
|
34
|
-
def __mypy-replace(*, supported_features, fn_state, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, alarm_disarm, alarm_disarm_args, alarm_arm_home, alarm_arm_home_args, alarm_arm_night, alarm_arm_night_args, alarm_arm_away, alarm_arm_away_args, alarm_trigger, alarm_trigger_args) -> None: ...
|
35
33
|
|
36
34
|
MAP_INTERNAL_STATUS_STATE: dict[str, str]
|
37
35
|
|
@@ -12,11 +12,9 @@ from pyoverkiz.types import StateType as OverkizStateType
|
|
12
12
|
class OverkizBinarySensorDescriptionMixin:
|
13
13
|
value_fn: Callable[[OverkizStateType], bool]
|
14
14
|
def __init__(self, value_fn) -> None: ...
|
15
|
-
def __mypy-replace(*, value_fn) -> None: ...
|
16
15
|
|
17
16
|
class OverkizBinarySensorDescription(BinarySensorEntityDescription, OverkizBinarySensorDescriptionMixin):
|
18
17
|
def __init__(self, value_fn, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement) -> None: ...
|
19
|
-
def __mypy-replace(*, value_fn, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement) -> None: ...
|
20
18
|
|
21
19
|
BINARY_SENSOR_DESCRIPTIONS: list[OverkizBinarySensorDescription]
|
22
20
|
SUPPORTED_STATES: Incomplete
|
@@ -12,7 +12,6 @@ from pyoverkiz.types import StateType as OverkizStateType
|
|
12
12
|
class OverkizButtonDescription(ButtonEntityDescription):
|
13
13
|
press_args: OverkizStateType | None
|
14
14
|
def __init__(self, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, press_args) -> None: ...
|
15
|
-
def __mypy-replace(*, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, press_args) -> None: ...
|
16
15
|
|
17
16
|
BUTTON_DESCRIPTIONS: list[OverkizButtonDescription]
|
18
17
|
SUPPORTED_COMMANDS: Incomplete
|
@@ -2,7 +2,8 @@ from .const import DOMAIN as DOMAIN
|
|
2
2
|
from .coordinator import OverkizDataUpdateCoordinator as OverkizDataUpdateCoordinator
|
3
3
|
from .executor import OverkizExecutor as OverkizExecutor
|
4
4
|
from _typeshed import Incomplete
|
5
|
-
from homeassistant.helpers.
|
5
|
+
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
6
|
+
from homeassistant.helpers.entity import EntityDescription as EntityDescription
|
6
7
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
7
8
|
from pyoverkiz.models import Device as Device
|
8
9
|
|
@@ -15,13 +15,11 @@ OPERATING_MODE_DELAY: int
|
|
15
15
|
class OverkizNumberDescriptionMixin:
|
16
16
|
command: str
|
17
17
|
def __init__(self, command) -> None: ...
|
18
|
-
def __mypy-replace(*, command) -> None: ...
|
19
18
|
|
20
19
|
class OverkizNumberDescription(NumberEntityDescription, OverkizNumberDescriptionMixin):
|
21
20
|
inverted: bool
|
22
21
|
set_native_value: Callable[[float, Callable[..., Awaitable[None]]], Awaitable[None]] | None
|
23
22
|
def __init__(self, command, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, max_value, min_value, mode, native_max_value, native_min_value, native_step, native_unit_of_measurement, step, inverted, set_native_value) -> None: ...
|
24
|
-
def __mypy-replace(*, command, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, max_value, min_value, mode, native_max_value, native_min_value, native_step, native_unit_of_measurement, step, inverted, set_native_value) -> None: ...
|
25
23
|
|
26
24
|
async def _async_set_native_value_boost_mode_duration(value: float, execute_command: Callable[..., Awaitable[None]]) -> None: ...
|
27
25
|
|
@@ -12,11 +12,9 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEnti
|
|
12
12
|
class OverkizSelectDescriptionMixin:
|
13
13
|
select_option: Callable[[str, Callable[..., Awaitable[None]]], Awaitable[None]]
|
14
14
|
def __init__(self, select_option) -> None: ...
|
15
|
-
def __mypy-replace(*, select_option) -> None: ...
|
16
15
|
|
17
16
|
class OverkizSelectDescription(SelectEntityDescription, OverkizSelectDescriptionMixin):
|
18
17
|
def __init__(self, select_option, 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, options) -> None: ...
|
19
|
-
def __mypy-replace(*, select_option, 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, options) -> None: ...
|
20
18
|
|
21
19
|
def _select_option_open_closed_pedestrian(option: str, execute_command: Callable[..., Awaitable[None]]) -> Awaitable[None]: ...
|
22
20
|
def _select_option_memorized_simple_volume(option: str, execute_command: Callable[..., Awaitable[None]]) -> Awaitable[None]: ...
|
@@ -8,7 +8,7 @@ from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceCla
|
|
8
8
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
9
9
|
from homeassistant.const import CONCENTRATION_PARTS_PER_MILLION as CONCENTRATION_PARTS_PER_MILLION, EntityCategory as EntityCategory, LIGHT_LUX as LIGHT_LUX, PERCENTAGE as PERCENTAGE, SIGNAL_STRENGTH_DECIBELS as SIGNAL_STRENGTH_DECIBELS, UnitOfEnergy as UnitOfEnergy, UnitOfPower as UnitOfPower, UnitOfTemperature as UnitOfTemperature, UnitOfTime as UnitOfTime, UnitOfVolume as UnitOfVolume, UnitOfVolumeFlowRate as UnitOfVolumeFlowRate
|
10
10
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
11
|
-
from homeassistant.helpers.
|
11
|
+
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
12
12
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
13
13
|
from homeassistant.helpers.typing import StateType as StateType
|
14
14
|
from pyoverkiz.types import StateType as OverkizStateType
|
@@ -16,7 +16,6 @@ from pyoverkiz.types import StateType as OverkizStateType
|
|
16
16
|
class OverkizSensorDescription(SensorEntityDescription):
|
17
17
|
native_value: Callable[[OverkizStateType], StateType] | None
|
18
18
|
def __init__(self, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, last_reset, native_unit_of_measurement, options, state_class, suggested_display_precision, suggested_unit_of_measurement, native_value) -> None: ...
|
19
|
-
def __mypy-replace(*, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, last_reset, native_unit_of_measurement, options, state_class, suggested_display_precision, suggested_unit_of_measurement, native_value) -> None: ...
|
20
19
|
|
21
20
|
SENSOR_DESCRIPTIONS: list[OverkizSensorDescription]
|
22
21
|
SUPPORTED_STATES: Incomplete
|
@@ -15,14 +15,12 @@ class OverkizSwitchDescriptionMixin:
|
|
15
15
|
turn_on: str
|
16
16
|
turn_off: str
|
17
17
|
def __init__(self, turn_on, turn_off) -> None: ...
|
18
|
-
def __mypy-replace(*, turn_on, turn_off) -> None: ...
|
19
18
|
|
20
19
|
class OverkizSwitchDescription(SwitchEntityDescription, OverkizSwitchDescriptionMixin):
|
21
20
|
is_on: Callable[[Callable[[str], OverkizStateType]], bool] | None
|
22
21
|
turn_on_args: OverkizStateType | list[OverkizStateType] | None
|
23
22
|
turn_off_args: OverkizStateType | list[OverkizStateType] | None
|
24
23
|
def __init__(self, turn_on, turn_off, 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, is_on, turn_on_args, turn_off_args) -> None: ...
|
25
|
-
def __mypy-replace(*, turn_on, turn_off, 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, is_on, turn_on_args, turn_off_args) -> None: ...
|
26
24
|
|
27
25
|
SWITCH_DESCRIPTIONS: list[OverkizSwitchDescription]
|
28
26
|
SUPPORTED_DEVICES: Incomplete
|
@@ -14,7 +14,6 @@ class PECOCoordinatorData:
|
|
14
14
|
outages: OutageResults
|
15
15
|
alerts: AlertResults
|
16
16
|
def __init__(self, outages, alerts) -> None: ...
|
17
|
-
def __mypy-replace(*, outages, alerts) -> None: ...
|
18
17
|
|
19
18
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
20
19
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
@@ -6,6 +6,7 @@ from homeassistant.components.sensor import SensorEntity as SensorEntity, Sensor
|
|
6
6
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
7
7
|
from homeassistant.const import PERCENTAGE as PERCENTAGE
|
8
8
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
9
|
+
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
9
10
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
10
11
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity, DataUpdateCoordinator as DataUpdateCoordinator
|
11
12
|
from typing import Final
|
@@ -14,11 +15,9 @@ class PECOSensorEntityDescriptionMixin:
|
|
14
15
|
value_fn: Callable[[PECOCoordinatorData], int | str]
|
15
16
|
attribute_fn: Callable[[PECOCoordinatorData], dict[str, str]]
|
16
17
|
def __init__(self, value_fn, attribute_fn) -> None: ...
|
17
|
-
def __mypy-replace(*, value_fn, attribute_fn) -> None: ...
|
18
18
|
|
19
19
|
class PECOSensorEntityDescription(SensorEntityDescription, PECOSensorEntityDescriptionMixin):
|
20
20
|
def __init__(self, value_fn, attribute_fn, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, last_reset, native_unit_of_measurement, options, state_class, suggested_display_precision, suggested_unit_of_measurement) -> None: ...
|
21
|
-
def __mypy-replace(*, value_fn, attribute_fn, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, last_reset, native_unit_of_measurement, options, state_class, suggested_display_precision, suggested_unit_of_measurement) -> None: ...
|
22
21
|
|
23
22
|
PARALLEL_UPDATES: Final[int]
|
24
23
|
SENSOR_LIST: tuple[PECOSensorEntityDescription, ...]
|
@@ -27,8 +26,9 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, asyn
|
|
27
26
|
|
28
27
|
class PecoSensor(CoordinatorEntity[DataUpdateCoordinator[PECOCoordinatorData]], SensorEntity):
|
29
28
|
entity_description: PECOSensorEntityDescription
|
30
|
-
|
29
|
+
_attr_has_entity_name: bool
|
31
30
|
_attr_unique_id: Incomplete
|
31
|
+
_attr_device_info: Incomplete
|
32
32
|
def __init__(self, description: PECOSensorEntityDescription, county: str, coordinator: DataUpdateCoordinator[PECOCoordinatorData]) -> None: ...
|
33
33
|
@property
|
34
34
|
def native_value(self) -> int | str: ...
|
@@ -6,7 +6,7 @@ from homeassistant.const import CONF_API_KEY as CONF_API_KEY, CONF_HOST as CONF_
|
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
7
7
|
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed
|
8
8
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
9
|
-
from homeassistant.helpers.
|
9
|
+
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
10
10
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity, DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
11
11
|
|
12
12
|
_LOGGER: Incomplete
|
@@ -14,12 +14,10 @@ from typing import Any
|
|
14
14
|
class RequiredPiHoleBinaryDescription:
|
15
15
|
state_value: Callable[[Hole], bool]
|
16
16
|
def __init__(self, state_value) -> None: ...
|
17
|
-
def __mypy-replace(*, state_value) -> None: ...
|
18
17
|
|
19
18
|
class PiHoleBinarySensorEntityDescription(BinarySensorEntityDescription, RequiredPiHoleBinaryDescription):
|
20
19
|
extra_value: Callable[[Hole], dict[str, Any] | None]
|
21
20
|
def __init__(self, state_value, 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, extra_value) -> None: ...
|
22
|
-
def __mypy-replace(*, state_value, 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, extra_value) -> None: ...
|
23
21
|
|
24
22
|
BINARY_SENSOR_TYPES: tuple[PiHoleBinarySensorEntityDescription, ...]
|
25
23
|
|
@@ -16,7 +16,6 @@ class PiHoleUpdateEntityDescription(UpdateEntityDescription):
|
|
16
16
|
release_base_url: str | None
|
17
17
|
title: str | None
|
18
18
|
def __init__(self, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, installed_version, latest_version, release_base_url, title) -> None: ...
|
19
|
-
def __mypy-replace(*, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, installed_version, latest_version, release_base_url, title) -> None: ...
|
20
19
|
|
21
20
|
UPDATE_ENTITY_TYPES: tuple[PiHoleUpdateEntityDescription, ...]
|
22
21
|
|
@@ -12,7 +12,7 @@ CONNECTED_GRID_STATUSES: Incomplete
|
|
12
12
|
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
13
13
|
|
14
14
|
class PowerWallRunningSensor(PowerWallEntity, BinarySensorEntity):
|
15
|
-
|
15
|
+
_attr_translation_key: str
|
16
16
|
_attr_device_class: Incomplete
|
17
17
|
@property
|
18
18
|
def unique_id(self) -> str: ...
|
@@ -20,7 +20,7 @@ class PowerWallRunningSensor(PowerWallEntity, BinarySensorEntity):
|
|
20
20
|
def is_on(self) -> bool: ...
|
21
21
|
|
22
22
|
class PowerWallConnectedSensor(PowerWallEntity, BinarySensorEntity):
|
23
|
-
|
23
|
+
_attr_translation_key: str
|
24
24
|
_attr_device_class: Incomplete
|
25
25
|
@property
|
26
26
|
def unique_id(self) -> str: ...
|
@@ -28,7 +28,7 @@ class PowerWallConnectedSensor(PowerWallEntity, BinarySensorEntity):
|
|
28
28
|
def is_on(self) -> bool: ...
|
29
29
|
|
30
30
|
class PowerWallGridServicesActiveSensor(PowerWallEntity, BinarySensorEntity):
|
31
|
-
|
31
|
+
_attr_translation_key: str
|
32
32
|
_attr_device_class: Incomplete
|
33
33
|
@property
|
34
34
|
def unique_id(self) -> str: ...
|
@@ -36,7 +36,7 @@ class PowerWallGridServicesActiveSensor(PowerWallEntity, BinarySensorEntity):
|
|
36
36
|
def is_on(self) -> bool: ...
|
37
37
|
|
38
38
|
class PowerWallGridStatusSensor(PowerWallEntity, BinarySensorEntity):
|
39
|
-
|
39
|
+
_attr_translation_key: str
|
40
40
|
_attr_device_class: Incomplete
|
41
41
|
@property
|
42
42
|
def unique_id(self) -> str: ...
|
@@ -44,7 +44,6 @@ class PowerWallGridStatusSensor(PowerWallEntity, BinarySensorEntity):
|
|
44
44
|
def is_on(self) -> bool: ...
|
45
45
|
|
46
46
|
class PowerWallChargingStatusSensor(PowerWallEntity, BinarySensorEntity):
|
47
|
-
_attr_name: str
|
48
47
|
_attr_device_class: Incomplete
|
49
48
|
@property
|
50
49
|
def available(self) -> bool: ...
|
@@ -1,10 +1,11 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN, MANUFACTURER as MANUFACTURER, MODEL as MODEL, POWERWALL_API as POWERWALL_API, POWERWALL_BASE_INFO as POWERWALL_BASE_INFO, POWERWALL_COORDINATOR as POWERWALL_COORDINATOR
|
2
2
|
from .models import PowerwallData as PowerwallData, PowerwallRuntimeData as PowerwallRuntimeData
|
3
3
|
from _typeshed import Incomplete
|
4
|
-
from homeassistant.helpers.
|
4
|
+
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
5
5
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity, DataUpdateCoordinator as DataUpdateCoordinator
|
6
6
|
|
7
7
|
class PowerWallEntity(CoordinatorEntity[DataUpdateCoordinator[PowerwallData]]):
|
8
|
+
_attr_has_entity_name: bool
|
8
9
|
power_wall: Incomplete
|
9
10
|
base_unique_id: Incomplete
|
10
11
|
_attr_device_info: Incomplete
|
@@ -11,7 +11,6 @@ class PowerwallBaseInfo:
|
|
11
11
|
serial_numbers: list[str]
|
12
12
|
url: str
|
13
13
|
def __init__(self, gateway_din, site_info, status, device_type, serial_numbers, url) -> None: ...
|
14
|
-
def __mypy-replace(*, gateway_din, site_info, status, device_type, serial_numbers, url) -> None: ...
|
15
14
|
|
16
15
|
class PowerwallData:
|
17
16
|
charge: float
|
@@ -21,7 +20,6 @@ class PowerwallData:
|
|
21
20
|
grid_status: GridStatus
|
22
21
|
backup_reserve: float | None
|
23
22
|
def __init__(self, charge, site_master, meters, grid_services_active, grid_status, backup_reserve) -> None: ...
|
24
|
-
def __mypy-replace(*, charge, site_master, meters, grid_services_active, grid_status, backup_reserve) -> None: ...
|
25
23
|
|
26
24
|
class PowerwallRuntimeData(TypedDict):
|
27
25
|
coordinator: DataUpdateCoordinator[PowerwallData] | None
|