homeassistant-stubs 2023.7.2__py3-none-any.whl → 2023.8.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/backports/enum.pyi +1 -9
- homeassistant-stubs/backports/functools.pyi +6 -8
- homeassistant-stubs/components/accuweather/sensor.pyi +3 -4
- homeassistant-stubs/components/accuweather/weather.pyi +3 -1
- homeassistant-stubs/components/airzone_cloud/binary_sensor.pyi +8 -1
- homeassistant-stubs/components/alarm_control_panel/const.pyi +1 -2
- homeassistant-stubs/components/alert/__init__.pyi +4 -4
- homeassistant-stubs/components/apcupsd/__init__.pyi +3 -4
- homeassistant-stubs/components/apcupsd/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/apcupsd/sensor.pyi +0 -1
- homeassistant-stubs/components/aseko_pool_live/__init__.pyi +1 -7
- homeassistant-stubs/components/aseko_pool_live/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/aseko_pool_live/coordinator.pyi +11 -0
- homeassistant-stubs/components/aseko_pool_live/entity.pyi +1 -1
- homeassistant-stubs/components/aseko_pool_live/sensor.pyi +2 -2
- homeassistant-stubs/components/assist_pipeline/pipeline.pyi +1 -1
- homeassistant-stubs/components/assist_pipeline/vad.pyi +1 -1
- homeassistant-stubs/components/asuswrt/bridge.pyi +78 -0
- homeassistant-stubs/components/asuswrt/config_flow.pyi +2 -4
- homeassistant-stubs/components/asuswrt/const.pyi +3 -0
- homeassistant-stubs/components/asuswrt/router.pyi +8 -30
- homeassistant-stubs/components/asuswrt/sensor.pyi +5 -4
- homeassistant-stubs/components/bayesian/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/binary_sensor/__init__.pyi +1 -1
- homeassistant-stubs/components/bluetooth/advertisement_tracker.pyi +1 -0
- homeassistant-stubs/components/bluetooth/manager.pyi +1 -0
- homeassistant-stubs/components/bluetooth/wrappers.pyi +2 -1
- homeassistant-stubs/components/braviatv/const.pyi +1 -1
- homeassistant-stubs/components/button/__init__.pyi +1 -1
- homeassistant-stubs/components/camera/const.pyi +1 -1
- homeassistant-stubs/components/cover/__init__.pyi +1 -2
- homeassistant-stubs/components/crownstone/devices.pyi +1 -0
- homeassistant-stubs/components/crownstone/light.pyi +1 -1
- homeassistant-stubs/components/demo/button.pyi +2 -2
- homeassistant-stubs/components/demo/climate.pyi +1 -0
- homeassistant-stubs/components/demo/event.pyi +22 -0
- homeassistant-stubs/components/demo/sensor.pyi +2 -3
- homeassistant-stubs/components/demo/water_heater.pyi +2 -0
- homeassistant-stubs/components/demo/weather.pyi +13 -5
- homeassistant-stubs/components/derivative/sensor.pyi +3 -3
- homeassistant-stubs/components/device_tracker/const.pyi +1 -1
- homeassistant-stubs/components/dhcp/__init__.pyi +4 -4
- homeassistant-stubs/components/diagnostics/const.pyi +1 -1
- homeassistant-stubs/components/dlna_dmr/media_player.pyi +1 -1
- homeassistant-stubs/components/dsmr/sensor.pyi +1 -1
- homeassistant-stubs/components/dunehd/media_player.pyi +2 -2
- homeassistant-stubs/components/electric_kiwi/__init__.pyi +13 -0
- homeassistant-stubs/components/electric_kiwi/api.pyi +10 -0
- homeassistant-stubs/components/electric_kiwi/application_credentials.pyi +9 -0
- homeassistant-stubs/components/electric_kiwi/config_flow.pyi +20 -0
- homeassistant-stubs/components/electric_kiwi/const.pyi +7 -0
- homeassistant-stubs/components/electric_kiwi/coordinator.pyi +17 -0
- homeassistant-stubs/components/electric_kiwi/oauth2.pyi +15 -0
- homeassistant-stubs/components/electric_kiwi/sensor.pyi +37 -0
- homeassistant-stubs/components/emulated_hue/config.pyi +4 -4
- homeassistant-stubs/components/emulated_hue/hue_api.pyi +3 -1
- homeassistant-stubs/components/esphome/__init__.pyi +5 -39
- homeassistant-stubs/components/esphome/bluetooth/__init__.pyi +5 -4
- homeassistant-stubs/components/esphome/bluetooth/cache.pyi +15 -0
- homeassistant-stubs/components/esphome/bluetooth/client.pyi +27 -9
- homeassistant-stubs/components/esphome/bluetooth/device.pyi +15 -0
- homeassistant-stubs/components/esphome/camera.pyi +6 -3
- homeassistant-stubs/components/esphome/climate.pyi +1 -0
- homeassistant-stubs/components/esphome/config_flow.pyi +2 -2
- homeassistant-stubs/components/esphome/const.pyi +8 -0
- homeassistant-stubs/components/esphome/domain_data.pyi +4 -14
- homeassistant-stubs/components/esphome/entity.pyi +4 -2
- homeassistant-stubs/components/esphome/entry_data.pyi +4 -6
- homeassistant-stubs/components/esphome/manager.pyi +69 -0
- homeassistant-stubs/components/esphome/update.pyi +3 -0
- homeassistant-stubs/components/event/__init__.pyi +50 -0
- homeassistant-stubs/components/event/const.pyi +3 -0
- homeassistant-stubs/components/event/recorder.pyi +4 -0
- homeassistant-stubs/components/evil_genius_labs/__init__.pyi +1 -0
- homeassistant-stubs/components/evil_genius_labs/light.pyi +1 -2
- homeassistant-stubs/components/fastdotcom/sensor.pyi +2 -1
- homeassistant-stubs/components/filter/sensor.pyi +4 -4
- homeassistant-stubs/components/fitbit/const.pyi +1 -11
- homeassistant-stubs/components/fitbit/sensor.pyi +11 -3
- homeassistant-stubs/components/fritz/common.pyi +2 -7
- homeassistant-stubs/components/fritz/const.pyi +1 -1
- homeassistant-stubs/components/fritzbox_callmonitor/config_flow.pyi +1 -1
- homeassistant-stubs/components/fritzbox_callmonitor/const.pyi +1 -1
- homeassistant-stubs/components/fritzbox_callmonitor/sensor.pyi +1 -1
- homeassistant-stubs/components/fronius/__init__.pyi +6 -2
- homeassistant-stubs/components/fronius/const.pyi +2 -0
- homeassistant-stubs/components/fronius/sensor.pyi +2 -1
- homeassistant-stubs/components/frontend/__init__.pyi +4 -2
- homeassistant-stubs/components/geo_location/trigger.pyi +3 -3
- homeassistant-stubs/components/group/__init__.pyi +5 -4
- homeassistant-stubs/components/group/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/group/cover.pyi +4 -4
- homeassistant-stubs/components/group/fan.pyi +4 -4
- homeassistant-stubs/components/group/light.pyi +3 -3
- homeassistant-stubs/components/group/lock.pyi +3 -3
- homeassistant-stubs/components/group/media_player.pyi +4 -2
- homeassistant-stubs/components/group/sensor.pyi +3 -3
- homeassistant-stubs/components/group/switch.pyi +3 -3
- homeassistant-stubs/components/guardian/__init__.pyi +0 -2
- homeassistant-stubs/components/history/websocket_api.pyi +2 -1
- homeassistant-stubs/components/homeassistant_hardware/silabs_multiprotocol_addon.pyi +3 -0
- homeassistant-stubs/components/homekit/accessories.pyi +6 -5
- homeassistant-stubs/components/homekit/util.pyi +4 -2
- homeassistant-stubs/components/http/__init__.pyi +7 -0
- homeassistant-stubs/components/hydrawise/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/hydrawise/coordinator.pyi +2 -2
- homeassistant-stubs/components/hydrawise/sensor.pyi +1 -1
- homeassistant-stubs/components/hydrawise/switch.pyi +1 -1
- homeassistant-stubs/components/image/__init__.pyi +2 -0
- homeassistant-stubs/components/image_processing/__init__.pyi +1 -1
- homeassistant-stubs/components/imap/__init__.pyi +1 -1
- homeassistant-stubs/components/imap/config_flow.pyi +1 -1
- homeassistant-stubs/components/imap/const.pyi +1 -0
- homeassistant-stubs/components/imap/coordinator.pyi +5 -1
- homeassistant-stubs/components/input_button/__init__.pyi +1 -1
- homeassistant-stubs/components/input_select/__init__.pyi +1 -2
- homeassistant-stubs/components/integration/sensor.pyi +4 -5
- homeassistant-stubs/components/isy994/climate.pyi +1 -0
- homeassistant-stubs/components/jellyfin/__init__.pyi +2 -0
- homeassistant-stubs/components/jellyfin/coordinator.pyi +2 -0
- homeassistant-stubs/components/jellyfin/media_source.pyi +1 -1
- homeassistant-stubs/components/kaleidescape/entity.pyi +2 -2
- homeassistant-stubs/components/kaleidescape/media_player.pyi +1 -0
- homeassistant-stubs/components/kaleidescape/remote.pyi +1 -0
- homeassistant-stubs/components/kaleidescape/sensor.pyi +0 -1
- homeassistant-stubs/components/knx/__init__.pyi +1 -1
- homeassistant-stubs/components/knx/date.pyi +29 -0
- homeassistant-stubs/components/knx/datetime.pyi +26 -0
- homeassistant-stubs/components/knx/expose.pyi +4 -4
- homeassistant-stubs/components/knx/knx_entity.pyi +0 -1
- homeassistant-stubs/components/knx/schema.pyi +10 -0
- homeassistant-stubs/components/knx/sensor.pyi +0 -1
- homeassistant-stubs/components/knx/telegrams.pyi +10 -3
- homeassistant-stubs/components/kraken/const.pyi +0 -12
- homeassistant-stubs/components/kraken/sensor.pyi +12 -2
- homeassistant-stubs/components/lacrosse_view/sensor.pyi +1 -0
- homeassistant-stubs/components/laundrify/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/ld2410_ble/binary_sensor.pyi +1 -0
- homeassistant-stubs/components/ld2410_ble/sensor.pyi +1 -0
- homeassistant-stubs/components/lifx/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/lifx/button.pyi +0 -1
- homeassistant-stubs/components/lifx/entity.pyi +1 -0
- homeassistant-stubs/components/lifx/light.pyi +1 -1
- homeassistant-stubs/components/lifx/select.pyi +0 -2
- homeassistant-stubs/components/lifx/sensor.pyi +0 -1
- homeassistant-stubs/components/light/__init__.pyi +2 -4
- homeassistant-stubs/components/logbook/helpers.pyi +2 -1
- homeassistant-stubs/components/logger/helpers.pyi +1 -1
- homeassistant-stubs/components/matter/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/matter/entity.pyi +1 -1
- homeassistant-stubs/components/matter/event.pyi +27 -0
- homeassistant-stubs/components/matter/sensor.pyi +1 -1
- homeassistant-stubs/components/media_player/__init__.pyi +2 -3
- homeassistant-stubs/components/media_player/const.pyi +3 -2
- homeassistant-stubs/components/min_max/sensor.pyi +3 -3
- homeassistant-stubs/components/mqtt/__init__.pyi +5 -3
- homeassistant-stubs/components/mqtt/alarm_control_panel.pyi +1 -0
- homeassistant-stubs/components/mqtt/binary_sensor.pyi +1 -0
- homeassistant-stubs/components/mqtt/button.pyi +1 -0
- homeassistant-stubs/components/mqtt/camera.pyi +1 -0
- homeassistant-stubs/components/mqtt/client.pyi +4 -1
- homeassistant-stubs/components/mqtt/climate.pyi +2 -3
- homeassistant-stubs/components/mqtt/config_integration.pyi +1 -1
- homeassistant-stubs/components/mqtt/const.pyi +2 -0
- homeassistant-stubs/components/mqtt/cover.pyi +1 -0
- homeassistant-stubs/components/mqtt/device_tracker.pyi +1 -0
- homeassistant-stubs/components/mqtt/event.pyi +46 -0
- homeassistant-stubs/components/mqtt/fan.pyi +1 -0
- homeassistant-stubs/components/mqtt/humidifier.pyi +1 -0
- homeassistant-stubs/components/mqtt/image.pyi +1 -0
- homeassistant-stubs/components/mqtt/light/schema_basic.pyi +1 -0
- homeassistant-stubs/components/mqtt/light/schema_json.pyi +1 -0
- homeassistant-stubs/components/mqtt/light/schema_template.pyi +1 -0
- homeassistant-stubs/components/mqtt/lock.pyi +1 -0
- homeassistant-stubs/components/mqtt/mixins.pyi +15 -10
- homeassistant-stubs/components/mqtt/models.pyi +4 -4
- homeassistant-stubs/components/mqtt/number.pyi +1 -0
- homeassistant-stubs/components/mqtt/scene.pyi +4 -4
- homeassistant-stubs/components/mqtt/select.pyi +1 -0
- homeassistant-stubs/components/mqtt/sensor.pyi +1 -0
- homeassistant-stubs/components/mqtt/siren.pyi +3 -2
- homeassistant-stubs/components/mqtt/switch.pyi +1 -0
- homeassistant-stubs/components/mqtt/tag.pyi +1 -1
- homeassistant-stubs/components/mqtt/text.pyi +1 -0
- homeassistant-stubs/components/mqtt/update.pyi +1 -0
- homeassistant-stubs/components/mqtt/vacuum/__init__.pyi +6 -0
- homeassistant-stubs/components/mqtt/vacuum/schema_legacy.pyi +1 -0
- homeassistant-stubs/components/mqtt/vacuum/schema_state.pyi +1 -0
- homeassistant-stubs/components/mqtt/water_heater.pyi +4 -1
- homeassistant-stubs/components/nanoleaf/button.pyi +3 -4
- homeassistant-stubs/components/nanoleaf/entity.pyi +1 -0
- homeassistant-stubs/components/nanoleaf/light.pyi +1 -1
- homeassistant-stubs/components/nest/__init__.pyi +2 -3
- homeassistant-stubs/components/nest/camera.pyi +53 -3
- homeassistant-stubs/components/nest/climate.pyi +76 -3
- homeassistant-stubs/components/nest/config_flow.pyi +0 -23
- homeassistant-stubs/components/nest/sensor.pyi +35 -3
- homeassistant-stubs/components/notion/const.pyi +1 -0
- homeassistant-stubs/components/notion/sensor.pyi +1 -1
- homeassistant-stubs/components/number/__init__.pyi +1 -2
- homeassistant-stubs/components/number/const.pyi +4 -2
- homeassistant-stubs/components/nut/diagnostics.pyi +1 -1
- homeassistant-stubs/components/opensky/__init__.pyi +7 -0
- homeassistant-stubs/components/opensky/config_flow.pyi +11 -0
- homeassistant-stubs/components/opensky/const.pyi +17 -0
- homeassistant-stubs/components/opensky/sensor.pyi +7 -17
- homeassistant-stubs/components/otbr/websocket_api.pyi +2 -0
- homeassistant-stubs/components/persistent_notification/__init__.pyi +1 -1
- homeassistant-stubs/components/pi_hole/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/pure_energie/sensor.pyi +1 -0
- homeassistant-stubs/components/purpleair/__init__.pyi +6 -2
- homeassistant-stubs/components/purpleair/config_flow.pyi +7 -3
- homeassistant-stubs/components/purpleair/const.pyi +1 -0
- homeassistant-stubs/components/qnap_qsw/entity.pyi +1 -1
- homeassistant-stubs/components/rainmachine/util.pyi +1 -1
- homeassistant-stubs/components/recorder/const.pyi +1 -1
- homeassistant-stubs/components/recorder/db_schema.pyi +1 -2
- homeassistant-stubs/components/scrape/__init__.pyi +1 -1
- homeassistant-stubs/components/scrape/sensor.pyi +10 -6
- homeassistant-stubs/components/sensibo/entity.pyi +1 -2
- homeassistant-stubs/components/sensor/__init__.pyi +1 -2
- homeassistant-stubs/components/sensor/const.pyi +3 -2
- homeassistant-stubs/components/sensor/device_condition.pyi +1 -0
- homeassistant-stubs/components/sensor/device_trigger.pyi +1 -0
- homeassistant-stubs/components/sensor/recorder.pyi +1 -1
- homeassistant-stubs/components/senz/climate.pyi +2 -1
- homeassistant-stubs/components/sfr_box/binary_sensor.pyi +1 -0
- homeassistant-stubs/components/sfr_box/button.pyi +1 -0
- homeassistant-stubs/components/sfr_box/sensor.pyi +1 -0
- homeassistant-stubs/components/shelly/__init__.pyi +1 -1
- homeassistant-stubs/components/shelly/climate.pyi +1 -1
- homeassistant-stubs/components/shelly/const.pyi +5 -1
- homeassistant-stubs/components/shelly/coordinator.pyi +2 -1
- homeassistant-stubs/components/shelly/entity.pyi +0 -4
- homeassistant-stubs/components/shelly/logbook.pyi +2 -3
- homeassistant-stubs/components/shelly/sensor.pyi +1 -1
- homeassistant-stubs/components/shelly/utils.pyi +1 -2
- homeassistant-stubs/components/simplisafe/alarm_control_panel.pyi +1 -0
- homeassistant-stubs/components/simplisafe/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/skybell/light.pyi +1 -0
- homeassistant-stubs/components/sql/__init__.pyi +2 -1
- homeassistant-stubs/components/sql/config_flow.pyi +3 -1
- homeassistant-stubs/components/sql/sensor.pyi +12 -10
- homeassistant-stubs/components/ssdp/__init__.pyi +3 -3
- homeassistant-stubs/components/statistics/sensor.pyi +3 -3
- homeassistant-stubs/components/stookalert/binary_sensor.pyi +1 -0
- homeassistant-stubs/components/stream/worker.pyi +1 -2
- homeassistant-stubs/components/switch/__init__.pyi +1 -1
- homeassistant-stubs/components/switch/light.pyi +3 -3
- homeassistant-stubs/components/text/__init__.pyi +1 -1
- homeassistant-stubs/components/threshold/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/tolo/__init__.pyi +1 -0
- homeassistant-stubs/components/tolo/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/tolo/button.pyi +1 -1
- homeassistant-stubs/components/tolo/climate.pyi +1 -1
- homeassistant-stubs/components/tolo/fan.pyi +1 -1
- homeassistant-stubs/components/tolo/light.pyi +1 -1
- homeassistant-stubs/components/tolo/select.pyi +0 -1
- homeassistant-stubs/components/tplink/entity.pyi +1 -1
- homeassistant-stubs/components/tplink/light.pyi +1 -0
- homeassistant-stubs/components/tplink/sensor.pyi +0 -2
- homeassistant-stubs/components/tplink/switch.pyi +10 -1
- homeassistant-stubs/components/tractive/__init__.pyi +2 -1
- homeassistant-stubs/components/tractive/binary_sensor.pyi +0 -3
- homeassistant-stubs/components/tractive/const.pyi +6 -1
- homeassistant-stubs/components/tractive/device_tracker.pyi +0 -1
- homeassistant-stubs/components/tractive/entity.pyi +1 -0
- homeassistant-stubs/components/tractive/sensor.pyi +6 -4
- homeassistant-stubs/components/tractive/switch.pyi +0 -1
- homeassistant-stubs/components/tradfri/base_class.pyi +1 -1
- homeassistant-stubs/components/tradfri/cover.pyi +1 -0
- homeassistant-stubs/components/tradfri/fan.pyi +1 -0
- homeassistant-stubs/components/tradfri/light.pyi +1 -0
- homeassistant-stubs/components/tradfri/sensor.pyi +0 -2
- homeassistant-stubs/components/tradfri/switch.pyi +1 -0
- homeassistant-stubs/components/trafikverket_train/__init__.pyi +1 -0
- homeassistant-stubs/components/trafikverket_train/coordinator.pyi +39 -0
- homeassistant-stubs/components/trafikverket_train/sensor.pyi +12 -20
- homeassistant-stubs/components/twentemilieu/sensor.pyi +1 -1
- homeassistant-stubs/components/unifi/device_tracker.pyi +1 -1
- homeassistant-stubs/components/unifi/entity.pyi +8 -5
- homeassistant-stubs/components/unifi/image.pyi +37 -0
- homeassistant-stubs/components/unifi/sensor.pyi +4 -2
- homeassistant-stubs/components/unifi/switch.pyi +3 -2
- homeassistant-stubs/components/unifi/update.pyi +1 -1
- homeassistant-stubs/components/unifiprotect/entity.pyi +0 -1
- homeassistant-stubs/components/unifiprotect/models.pyi +7 -4
- homeassistant-stubs/components/unifiprotect/sensor.pyi +0 -3
- homeassistant-stubs/components/unifiprotect/utils.pyi +1 -1
- homeassistant-stubs/components/update/__init__.pyi +1 -1
- homeassistant-stubs/components/uptimerobot/entity.pyi +2 -0
- homeassistant-stubs/components/vacuum/__init__.pyi +4 -6
- homeassistant-stubs/components/vallox/__init__.pyi +1 -0
- homeassistant-stubs/components/vallox/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/vallox/fan.pyi +1 -1
- homeassistant-stubs/components/vallox/number.pyi +0 -1
- homeassistant-stubs/components/vallox/sensor.pyi +0 -1
- homeassistant-stubs/components/vallox/switch.pyi +0 -1
- homeassistant-stubs/components/vlc_telnet/media_player.pyi +2 -3
- homeassistant-stubs/components/wallbox/const.pyi +1 -1
- homeassistant-stubs/components/water_heater/__init__.pyi +5 -0
- homeassistant-stubs/components/weather/__init__.pyi +18 -4
- homeassistant-stubs/components/weather/const.pyi +7 -0
- homeassistant-stubs/components/weather/websocket_api.pyi +6 -1
- homeassistant-stubs/components/websocket_api/auth.pyi +1 -1
- homeassistant-stubs/components/websocket_api/commands.pyi +6 -1
- homeassistant-stubs/components/websocket_api/connection.pyi +2 -1
- homeassistant-stubs/components/websocket_api/http.pyi +2 -1
- homeassistant-stubs/components/wemo/__init__.pyi +10 -4
- homeassistant-stubs/components/wemo/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/wemo/fan.pyi +2 -2
- homeassistant-stubs/components/wemo/light.pyi +1 -1
- homeassistant-stubs/components/wemo/models.pyi +21 -0
- homeassistant-stubs/components/wemo/sensor.pyi +2 -2
- homeassistant-stubs/components/wemo/switch.pyi +2 -2
- homeassistant-stubs/components/wemo/wemo_device.pyi +5 -0
- homeassistant-stubs/components/wiz/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/yalexs_ble/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/yalexs_ble/entity.pyi +1 -0
- homeassistant-stubs/components/yalexs_ble/lock.pyi +0 -1
- homeassistant-stubs/components/zodiac/__init__.pyi +4 -1
- homeassistant-stubs/components/zodiac/config_flow.pyi +9 -0
- homeassistant-stubs/components/zodiac/const.pyi +1 -0
- homeassistant-stubs/components/zodiac/sensor.pyi +9 -4
- homeassistant-stubs/components/zone/__init__.pyi +4 -5
- homeassistant-stubs/components/zone/trigger.pyi +3 -3
- homeassistant-stubs/components/zwave_js/climate.pyi +3 -1
- homeassistant-stubs/components/zwave_js/device_action.pyi +3 -1
- homeassistant-stubs/components/zwave_js/discovery.pyi +1 -1
- homeassistant-stubs/config_entries.pyi +3 -5
- homeassistant-stubs/const.pyi +3 -1
- homeassistant-stubs/core.pyi +10 -12
- homeassistant-stubs/data_entry_flow.pyi +2 -3
- homeassistant-stubs/exceptions.pyi +0 -4
- homeassistant-stubs/helpers/check_config.pyi +1 -2
- homeassistant-stubs/helpers/config_validation.pyi +11 -2
- homeassistant-stubs/helpers/device_registry.pyi +32 -8
- homeassistant-stubs/helpers/entity.pyi +9 -7
- homeassistant-stubs/helpers/entity_platform.pyi +2 -3
- homeassistant-stubs/helpers/entity_registry.pyi +15 -2
- homeassistant-stubs/helpers/event.pyi +39 -33
- homeassistant-stubs/helpers/httpx_client.pyi +4 -2
- homeassistant-stubs/helpers/issue_registry.pyi +1 -1
- homeassistant-stubs/helpers/restore_state.pyi +1 -2
- homeassistant-stubs/helpers/selector.pyi +14 -6
- homeassistant-stubs/helpers/service.pyi +1 -1
- homeassistant-stubs/helpers/state.pyi +0 -12
- homeassistant-stubs/helpers/storage.pyi +1 -0
- homeassistant-stubs/helpers/system_info.pyi +8 -1
- homeassistant-stubs/helpers/template_entity.pyi +7 -7
- homeassistant-stubs/helpers/trace.pyi +1 -0
- homeassistant-stubs/helpers/typing.pyi +5 -2
- homeassistant-stubs/util/ssl.pyi +1 -1
- homeassistant-stubs/util/timeout.pyi +1 -2
- {homeassistant_stubs-2023.7.2.dist-info → homeassistant_stubs-2023.8.0.dist-info}/METADATA +3 -4
- {homeassistant_stubs-2023.7.2.dist-info → homeassistant_stubs-2023.8.0.dist-info}/RECORD +358 -341
- homeassistant-stubs/components/nest/camera_sdm.pyi +0 -58
- homeassistant-stubs/components/nest/climate_sdm.pyi +0 -81
- homeassistant-stubs/components/nest/legacy/__init__.pyi +0 -62
- homeassistant-stubs/components/nest/legacy/binary_sensor.pyi +0 -38
- homeassistant-stubs/components/nest/legacy/camera.pyi +0 -45
- homeassistant-stubs/components/nest/legacy/climate.pyi +0 -89
- homeassistant-stubs/components/nest/legacy/const.pyi +0 -4
- homeassistant-stubs/components/nest/legacy/local_auth.pyi +0 -7
- homeassistant-stubs/components/nest/legacy/sensor.pyi +0 -54
- homeassistant-stubs/components/nest/sensor_sdm.pyi +0 -42
- {homeassistant_stubs-2023.7.2.dist-info → homeassistant_stubs-2023.8.0.dist-info}/LICENSE +0 -0
- {homeassistant_stubs-2023.7.2.dist-info → homeassistant_stubs-2023.8.0.dist-info}/WHEEL +0 -0
@@ -6,14 +6,14 @@ from collections.abc import Collection, Iterable
|
|
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
|
9
|
-
from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE,
|
9
|
+
from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, HomeAssistant as HomeAssistant, ServiceCall as ServiceCall, State as State, callback as callback, split_entity_id as split_entity_id
|
10
10
|
from homeassistant.helpers import start as start
|
11
11
|
from homeassistant.helpers.entity import Entity as Entity, async_generate_entity_id as async_generate_entity_id
|
12
12
|
from homeassistant.helpers.entity_component import EntityComponent as EntityComponent
|
13
|
-
from homeassistant.helpers.event import async_track_state_change_event as async_track_state_change_event
|
13
|
+
from homeassistant.helpers.event import EventStateChangedData as EventStateChangedData, async_track_state_change_event as async_track_state_change_event
|
14
14
|
from homeassistant.helpers.integration_platform import async_process_integration_platform_for_component as async_process_integration_platform_for_component, async_process_integration_platforms as async_process_integration_platforms
|
15
15
|
from homeassistant.helpers.reload import async_reload_integration_platforms as async_reload_integration_platforms
|
16
|
-
from homeassistant.helpers.typing import ConfigType as ConfigType
|
16
|
+
from homeassistant.helpers.typing import ConfigType as ConfigType, EventType as EventType
|
17
17
|
from homeassistant.loader import bind_hass as bind_hass
|
18
18
|
from typing import Any, Protocol
|
19
19
|
|
@@ -32,6 +32,7 @@ SERVICE_SET: str
|
|
32
32
|
SERVICE_REMOVE: str
|
33
33
|
PLATFORMS: Incomplete
|
34
34
|
REG_KEY: Incomplete
|
35
|
+
ENTITY_PREFIX: Incomplete
|
35
36
|
_LOGGER: Incomplete
|
36
37
|
current_domain: ContextVar[str]
|
37
38
|
|
@@ -114,7 +115,7 @@ class Group(Entity):
|
|
114
115
|
def async_update_group_state(self) -> None: ...
|
115
116
|
async def async_added_to_hass(self) -> None: ...
|
116
117
|
async def async_will_remove_from_hass(self) -> None: ...
|
117
|
-
async def _async_state_changed_listener(self, event:
|
118
|
+
async def _async_state_changed_listener(self, event: EventType[EventStateChangedData]) -> None: ...
|
118
119
|
def _reset_tracked_state(self) -> None: ...
|
119
120
|
def _see_state(self, new_state: State) -> None: ...
|
120
121
|
def _async_update_group_state(self, tr_state: State | None = ...) -> None: ...
|
@@ -3,10 +3,10 @@ from _typeshed import Incomplete
|
|
3
3
|
from homeassistant.components.binary_sensor import BinarySensorDeviceClass as BinarySensorDeviceClass, BinarySensorEntity as BinarySensorEntity, DEVICE_CLASSES_SCHEMA as DEVICE_CLASSES_SCHEMA, PLATFORM_SCHEMA as PLATFORM_SCHEMA
|
4
4
|
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
|
-
from homeassistant.core import
|
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.event import async_track_state_change_event as async_track_state_change_event
|
9
|
-
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType
|
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
10
|
|
11
11
|
DEFAULT_NAME: str
|
12
12
|
CONF_ALL: str
|
@@ -4,10 +4,10 @@ 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
6
|
from homeassistant.const import ATTR_ASSUMED_STATE as ATTR_ASSUMED_STATE, 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
|
-
from homeassistant.core import
|
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.event import async_track_state_change_event as async_track_state_change_event
|
10
|
-
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType
|
9
|
+
from homeassistant.helpers.event import EventStateChangedData as EventStateChangedData, async_track_state_change_event as async_track_state_change_event
|
10
|
+
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType, EventType as EventType
|
11
11
|
from typing import Any
|
12
12
|
|
13
13
|
KEY_OPEN_CLOSE: str
|
@@ -33,7 +33,7 @@ class CoverGroup(GroupEntity, CoverEntity):
|
|
33
33
|
_attr_extra_state_attributes: Incomplete
|
34
34
|
_attr_unique_id: Incomplete
|
35
35
|
def __init__(self, unique_id: str | None, name: str, entities: list[str]) -> None: ...
|
36
|
-
def _update_supported_features_event(self, event:
|
36
|
+
def _update_supported_features_event(self, event: EventType[EventStateChangedData]) -> None: ...
|
37
37
|
def async_update_supported_features(self, entity_id: str, new_state: State | None, update_state: bool = ...) -> None: ...
|
38
38
|
async def async_added_to_hass(self) -> None: ...
|
39
39
|
async def async_open_cover(self, **kwargs: Any) -> None: ...
|
@@ -4,10 +4,10 @@ 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
6
|
from homeassistant.const import ATTR_ASSUMED_STATE as ATTR_ASSUMED_STATE, 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
|
-
from homeassistant.core import
|
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.event import async_track_state_change_event as async_track_state_change_event
|
10
|
-
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType
|
9
|
+
from homeassistant.helpers.event import EventStateChangedData as EventStateChangedData, async_track_state_change_event as async_track_state_change_event
|
10
|
+
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType, EventType as EventType
|
11
11
|
from typing import Any
|
12
12
|
|
13
13
|
SUPPORTED_FLAGS: Incomplete
|
@@ -42,7 +42,7 @@ class FanGroup(GroupEntity, FanEntity):
|
|
42
42
|
def current_direction(self) -> str | None: ...
|
43
43
|
@property
|
44
44
|
def oscillating(self) -> bool | None: ...
|
45
|
-
def _update_supported_features_event(self, event:
|
45
|
+
def _update_supported_features_event(self, event: EventType[EventStateChangedData]) -> None: ...
|
46
46
|
def async_update_supported_features(self, entity_id: str, new_state: State | None, update_state: bool = ...) -> None: ...
|
47
47
|
async def async_added_to_hass(self) -> None: ...
|
48
48
|
async def async_set_percentage(self, percentage: int) -> None: ...
|
@@ -5,10 +5,10 @@ from homeassistant.components import light as light
|
|
5
5
|
from homeassistant.components.light import ATTR_BRIGHTNESS as ATTR_BRIGHTNESS, ATTR_COLOR_MODE as ATTR_COLOR_MODE, ATTR_COLOR_TEMP_KELVIN as ATTR_COLOR_TEMP_KELVIN, ATTR_EFFECT as ATTR_EFFECT, ATTR_EFFECT_LIST as ATTR_EFFECT_LIST, ATTR_FLASH as ATTR_FLASH, ATTR_HS_COLOR as ATTR_HS_COLOR, ATTR_MAX_COLOR_TEMP_KELVIN as ATTR_MAX_COLOR_TEMP_KELVIN, ATTR_MIN_COLOR_TEMP_KELVIN as ATTR_MIN_COLOR_TEMP_KELVIN, ATTR_RGBWW_COLOR as ATTR_RGBWW_COLOR, ATTR_RGBW_COLOR as ATTR_RGBW_COLOR, ATTR_RGB_COLOR as ATTR_RGB_COLOR, ATTR_SUPPORTED_COLOR_MODES as ATTR_SUPPORTED_COLOR_MODES, ATTR_TRANSITION as ATTR_TRANSITION, ATTR_WHITE as ATTR_WHITE, ATTR_XY_COLOR as ATTR_XY_COLOR, ColorMode as ColorMode, LightEntity as LightEntity, LightEntityFeature as LightEntityFeature, PLATFORM_SCHEMA as PLATFORM_SCHEMA
|
6
6
|
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
|
-
from homeassistant.core import
|
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.event import async_track_state_change_event as async_track_state_change_event
|
11
|
-
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType
|
10
|
+
from homeassistant.helpers.event import EventStateChangedData as EventStateChangedData, async_track_state_change_event as async_track_state_change_event
|
11
|
+
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType, EventType as EventType
|
12
12
|
from typing import Any
|
13
13
|
|
14
14
|
DEFAULT_NAME: str
|
@@ -3,10 +3,10 @@ from _typeshed import Incomplete
|
|
3
3
|
from homeassistant.components.lock import DOMAIN as DOMAIN, LockEntity as LockEntity, LockEntityFeature as LockEntityFeature, PLATFORM_SCHEMA as PLATFORM_SCHEMA
|
4
4
|
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
|
-
from homeassistant.core import
|
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.event import async_track_state_change_event as async_track_state_change_event
|
9
|
-
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType
|
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
10
|
from typing import Any
|
11
11
|
|
12
12
|
DEFAULT_NAME: str
|
@@ -5,11 +5,13 @@ 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
6
|
from homeassistant.core import HomeAssistant as HomeAssistant, State as State, callback as callback
|
7
7
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
8
|
-
from homeassistant.helpers.event import async_track_state_change_event as async_track_state_change_event
|
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
|
10
10
|
from typing import Any
|
11
11
|
|
12
|
+
KEY_ANNOUNCE: str
|
12
13
|
KEY_CLEAR_PLAYLIST: str
|
14
|
+
KEY_ENQUEUE: str
|
13
15
|
KEY_ON_OFF: str
|
14
16
|
KEY_PAUSE_PLAY_STOP: str
|
15
17
|
KEY_PLAY_MEDIA: str
|
@@ -30,7 +32,7 @@ class MediaPlayerGroup(MediaPlayerEntity):
|
|
30
32
|
_entities: Incomplete
|
31
33
|
_features: Incomplete
|
32
34
|
def __init__(self, unique_id: str | None, name: str, entities: list[str]) -> None: ...
|
33
|
-
def async_on_state_change(self, event: EventType) -> None: ...
|
35
|
+
def async_on_state_change(self, event: EventType[EventStateChangedData]) -> None: ...
|
34
36
|
def async_update_supported_features(self, entity_id: str, new_state: State | None) -> None: ...
|
35
37
|
async def async_added_to_hass(self) -> None: ...
|
36
38
|
@property
|
@@ -5,10 +5,10 @@ from collections.abc import Callable as Callable
|
|
5
5
|
from homeassistant.components.sensor import CONF_STATE_CLASS as CONF_STATE_CLASS, DEVICE_CLASSES_SCHEMA as DEVICE_CLASSES_SCHEMA, DOMAIN as DOMAIN, STATE_CLASSES_SCHEMA as STATE_CLASSES_SCHEMA, SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorStateClass as SensorStateClass
|
6
6
|
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
|
-
from homeassistant.core import
|
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.event import async_track_state_change_event as async_track_state_change_event
|
11
|
-
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType, StateType as StateType
|
10
|
+
from homeassistant.helpers.event import EventStateChangedData as EventStateChangedData, async_track_state_change_event as async_track_state_change_event
|
11
|
+
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType, EventType as EventType, StateType as StateType
|
12
12
|
from typing import Any
|
13
13
|
|
14
14
|
DEFAULT_NAME: str
|
@@ -3,10 +3,10 @@ from _typeshed import Incomplete
|
|
3
3
|
from homeassistant.components.switch import DOMAIN as DOMAIN, PLATFORM_SCHEMA as PLATFORM_SCHEMA, SwitchEntity as SwitchEntity
|
4
4
|
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
|
-
from homeassistant.core import
|
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.event import async_track_state_change_event as async_track_state_change_event
|
9
|
-
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType
|
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
10
|
from typing import Any
|
11
11
|
|
12
12
|
DEFAULT_NAME: str
|
@@ -10,7 +10,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant, ServiceCall as Se
|
|
10
10
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
11
11
|
from homeassistant.helpers.dispatcher import async_dispatcher_send as async_dispatcher_send
|
12
12
|
from homeassistant.helpers.entity import DeviceInfo as DeviceInfo, EntityDescription as EntityDescription
|
13
|
-
from homeassistant.helpers.issue_registry import IssueSeverity as IssueSeverity, async_create_issue as async_create_issue
|
14
13
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
15
14
|
|
16
15
|
DATA_PAIRED_SENSOR_MANAGER: str
|
@@ -31,7 +30,6 @@ class GuardianData:
|
|
31
30
|
def __init__(self, entry, client, valve_controller_coordinators, paired_sensor_manager) -> None: ...
|
32
31
|
|
33
32
|
def async_get_entry_id_for_service_call(hass: HomeAssistant, call: ServiceCall) -> str: ...
|
34
|
-
def async_log_deprecated_service_call(hass: HomeAssistant, call: ServiceCall, alternate_service: str, alternate_target: str, breaks_in_ha_version: str) -> None: ...
|
35
33
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
36
34
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
37
35
|
|
@@ -10,8 +10,9 @@ from homeassistant.components.websocket_api import messages as messages
|
|
10
10
|
from homeassistant.components.websocket_api.connection import ActiveConnection as ActiveConnection
|
11
11
|
from homeassistant.const import COMPRESSED_STATE_ATTRIBUTES as COMPRESSED_STATE_ATTRIBUTES, COMPRESSED_STATE_LAST_CHANGED as COMPRESSED_STATE_LAST_CHANGED, COMPRESSED_STATE_LAST_UPDATED as COMPRESSED_STATE_LAST_UPDATED, COMPRESSED_STATE_STATE as COMPRESSED_STATE_STATE
|
12
12
|
from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, Event as Event, HomeAssistant as HomeAssistant, State as State, callback as callback, is_callback as is_callback, valid_entity_id as valid_entity_id
|
13
|
-
from homeassistant.helpers.event import async_track_point_in_utc_time as async_track_point_in_utc_time, async_track_state_change_event as async_track_state_change_event
|
13
|
+
from homeassistant.helpers.event import EventStateChangedData as EventStateChangedData, async_track_point_in_utc_time as async_track_point_in_utc_time, async_track_state_change_event as async_track_state_change_event
|
14
14
|
from homeassistant.helpers.json import JSON_DUMP as JSON_DUMP
|
15
|
+
from homeassistant.helpers.typing import EventType as EventType
|
15
16
|
from typing import Any
|
16
17
|
|
17
18
|
_LOGGER: Incomplete
|
@@ -38,6 +38,7 @@ class MultiprotocolAddonManager(AddonManager):
|
|
38
38
|
async def async_setup(self) -> None: ...
|
39
39
|
async def _register_multipan_platform(self, hass: HomeAssistant, integration_domain: str, platform: MultipanProtocol) -> None: ...
|
40
40
|
async def async_change_channel(self, channel: int, delay: float) -> list[asyncio.Task]: ...
|
41
|
+
async def async_active_platforms(self) -> list[str]: ...
|
41
42
|
def async_get_channel(self) -> int | None: ...
|
42
43
|
def async_set_channel(self, channel: int) -> None: ...
|
43
44
|
async def async_load(self) -> None: ...
|
@@ -92,6 +93,8 @@ class OptionsFlowHandler(config_entries.OptionsFlow, ABC, metaclass=abc.ABCMeta)
|
|
92
93
|
async def async_step_addon_installed(self, user_input: dict[str, Any] | None = ...) -> FlowResult: ...
|
93
94
|
async def async_step_show_addon_menu(self, user_input: dict[str, Any] | None = ...) -> FlowResult: ...
|
94
95
|
async def async_step_reconfigure_addon(self, user_input: dict[str, Any] | None = ...) -> FlowResult: ...
|
96
|
+
async def async_step_notify_unknown_multipan_user(self, user_input: dict[str, Any] | None = ...) -> FlowResult: ...
|
97
|
+
async def async_step_change_channel(self, user_input: dict[str, Any] | None = ...) -> FlowResult: ...
|
95
98
|
async def async_step_notify_channel_change(self, user_input: dict[str, Any] | None = ...) -> FlowResult: ...
|
96
99
|
async def async_step_uninstall_addon(self, user_input: dict[str, Any] | None = ...) -> FlowResult: ...
|
97
100
|
async def async_step_show_revert_guide(self, user_input: dict[str, Any] | None = ...) -> FlowResult: ...
|
@@ -7,8 +7,9 @@ from homeassistant.components.media_player import MediaPlayerDeviceClass as Medi
|
|
7
7
|
from homeassistant.components.remote import RemoteEntityFeature as RemoteEntityFeature
|
8
8
|
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass
|
9
9
|
from homeassistant.const import ATTR_BATTERY_CHARGING as ATTR_BATTERY_CHARGING, ATTR_BATTERY_LEVEL as ATTR_BATTERY_LEVEL, ATTR_DEVICE_CLASS as ATTR_DEVICE_CLASS, ATTR_ENTITY_ID as ATTR_ENTITY_ID, ATTR_HW_VERSION as ATTR_HW_VERSION, ATTR_MANUFACTURER as ATTR_MANUFACTURER, ATTR_MODEL as ATTR_MODEL, ATTR_SERVICE as ATTR_SERVICE, ATTR_SUPPORTED_FEATURES as ATTR_SUPPORTED_FEATURES, ATTR_SW_VERSION as ATTR_SW_VERSION, ATTR_UNIT_OF_MEASUREMENT as ATTR_UNIT_OF_MEASUREMENT, CONF_NAME as CONF_NAME, CONF_TYPE as CONF_TYPE, LIGHT_LUX as LIGHT_LUX, PERCENTAGE as PERCENTAGE, STATE_ON as STATE_ON, STATE_UNAVAILABLE as STATE_UNAVAILABLE, UnitOfTemperature as UnitOfTemperature, __version__ as __version__
|
10
|
-
from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, Context as Context,
|
11
|
-
from homeassistant.helpers.event import async_track_state_change_event as async_track_state_change_event
|
10
|
+
from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, Context as Context, HomeAssistant as HomeAssistant, State as State, split_entity_id as split_entity_id
|
11
|
+
from homeassistant.helpers.event import EventStateChangedData as EventStateChangedData, async_track_state_change_event as async_track_state_change_event
|
12
|
+
from homeassistant.helpers.typing import EventType as EventType
|
12
13
|
from homeassistant.util.decorator import Registry as Registry
|
13
14
|
from pyhap.accessory import Accessory, Bridge
|
14
15
|
from pyhap.accessory_driver import AccessoryDriver
|
@@ -41,10 +42,10 @@ class HomeAccessory(Accessory):
|
|
41
42
|
@property
|
42
43
|
def available(self) -> bool: ...
|
43
44
|
async def run(self) -> None: ...
|
44
|
-
def async_update_event_state_callback(self, event:
|
45
|
+
def async_update_event_state_callback(self, event: EventType[EventStateChangedData]) -> None: ...
|
45
46
|
def async_update_state_callback(self, new_state: State | None) -> None: ...
|
46
|
-
def async_update_linked_battery_callback(self, event:
|
47
|
-
def async_update_linked_battery_charging_callback(self, event:
|
47
|
+
def async_update_linked_battery_callback(self, event: EventType[EventStateChangedData]) -> None: ...
|
48
|
+
def async_update_linked_battery_charging_callback(self, event: EventType[EventStateChangedData]) -> None: ...
|
48
49
|
def async_update_battery(self, battery_level: Any, battery_charging: Any) -> None: ...
|
49
50
|
def async_update_state(self, new_state: State) -> None: ...
|
50
51
|
def async_call_service(self, domain: str, service: str, service_data: dict[str, Any] | None, value: Any | None = ...) -> None: ...
|
@@ -5,8 +5,10 @@ from homeassistant.components import binary_sensor as binary_sensor, media_playe
|
|
5
5
|
from homeassistant.components.media_player import MediaPlayerDeviceClass as MediaPlayerDeviceClass, MediaPlayerEntityFeature as MediaPlayerEntityFeature
|
6
6
|
from homeassistant.components.remote import RemoteEntityFeature as RemoteEntityFeature
|
7
7
|
from homeassistant.const import ATTR_CODE as ATTR_CODE, ATTR_DEVICE_CLASS as ATTR_DEVICE_CLASS, ATTR_SUPPORTED_FEATURES as ATTR_SUPPORTED_FEATURES, CONF_NAME as CONF_NAME, CONF_PORT as CONF_PORT, CONF_TYPE as CONF_TYPE, UnitOfTemperature as UnitOfTemperature
|
8
|
-
from homeassistant.core import
|
8
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, State as State, callback as callback, split_entity_id as split_entity_id
|
9
|
+
from homeassistant.helpers.event import EventStateChangedData as EventStateChangedData
|
9
10
|
from homeassistant.helpers.storage import STORAGE_DIR as STORAGE_DIR
|
11
|
+
from homeassistant.helpers.typing import EventType as EventType
|
10
12
|
from homeassistant.util.unit_conversion import TemperatureConverter as TemperatureConverter
|
11
13
|
from pyhap.accessory import Accessory as Accessory
|
12
14
|
from typing import Any
|
@@ -59,4 +61,4 @@ def _async_find_next_available_port(start_port: int, exclude_ports: set) -> int:
|
|
59
61
|
def pid_is_alive(pid: int) -> bool: ...
|
60
62
|
def accessory_friendly_name(hass_name: str, accessory: Accessory) -> str: ...
|
61
63
|
def state_needs_accessory_mode(state: State) -> bool: ...
|
62
|
-
def state_changed_event_is_same_state(event:
|
64
|
+
def state_changed_event_is_same_state(event: EventType[EventStateChangedData]) -> bool: ...
|
@@ -19,6 +19,7 @@ from aiohttp.typedefs import JSONDecoder as JSONDecoder, StrOrURL as StrOrURL
|
|
19
19
|
from aiohttp.web_exceptions import HTTPRedirection as HTTPRedirection
|
20
20
|
from aiohttp.web_log import AccessLogger
|
21
21
|
from aiohttp.web_protocol import RequestHandler as RequestHandler
|
22
|
+
from aiohttp.web_urldispatcher import AbstractResource as AbstractResource, UrlDispatcher, UrlMappingMatchInfo as UrlMappingMatchInfo
|
22
23
|
from homeassistant.components.network import async_get_source_ip as async_get_source_ip
|
23
24
|
from homeassistant.const import EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP, SERVER_PORT as SERVER_PORT
|
24
25
|
from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant
|
@@ -117,3 +118,9 @@ class HomeAssistantHTTP:
|
|
117
118
|
async def stop(self) -> None: ...
|
118
119
|
|
119
120
|
async def start_http_server_and_save_config(hass: HomeAssistant, conf: dict, server: HomeAssistantHTTP) -> None: ...
|
121
|
+
|
122
|
+
class FastUrlDispatcher(UrlDispatcher):
|
123
|
+
_resource_index: Incomplete
|
124
|
+
def __init__(self) -> None: ...
|
125
|
+
def register_resource(self, resource: AbstractResource) -> None: ...
|
126
|
+
async def resolve(self, request: web.Request) -> UrlMappingMatchInfo: ...
|
@@ -7,7 +7,7 @@ from homeassistant.const import CONF_MONITORED_CONDITIONS as CONF_MONITORED_COND
|
|
7
7
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
8
8
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
9
9
|
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType
|
10
|
-
from
|
10
|
+
from pydrawise.legacy import LegacyHydrawise as LegacyHydrawise
|
11
11
|
|
12
12
|
BINARY_SENSOR_STATUS: Incomplete
|
13
13
|
BINARY_SENSOR_TYPES: tuple[BinarySensorEntityDescription, ...]
|
@@ -3,9 +3,9 @@ from _typeshed import Incomplete
|
|
3
3
|
from datetime import timedelta
|
4
4
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
5
5
|
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
6
|
-
from
|
6
|
+
from pydrawise.legacy import LegacyHydrawise as LegacyHydrawise
|
7
7
|
|
8
8
|
class HydrawiseDataUpdateCoordinator(DataUpdateCoordinator[None]):
|
9
9
|
api: Incomplete
|
10
|
-
def __init__(self, hass: HomeAssistant, api:
|
10
|
+
def __init__(self, hass: HomeAssistant, api: LegacyHydrawise, scan_interval: timedelta) -> None: ...
|
11
11
|
async def _async_update_data(self) -> None: ...
|
@@ -7,7 +7,7 @@ from homeassistant.const import CONF_MONITORED_CONDITIONS as CONF_MONITORED_COND
|
|
7
7
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
8
8
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
9
9
|
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType
|
10
|
-
from
|
10
|
+
from pydrawise.legacy import LegacyHydrawise as LegacyHydrawise
|
11
11
|
|
12
12
|
SENSOR_TYPES: tuple[SensorEntityDescription, ...]
|
13
13
|
SENSOR_KEYS: list[str]
|
@@ -7,7 +7,7 @@ from homeassistant.const import CONF_MONITORED_CONDITIONS as CONF_MONITORED_COND
|
|
7
7
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
8
8
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
9
9
|
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType
|
10
|
-
from
|
10
|
+
from pydrawise.legacy import LegacyHydrawise as LegacyHydrawise
|
11
11
|
from typing import Any
|
12
12
|
|
13
13
|
SWITCH_TYPES: tuple[SwitchEntityDescription, ...]
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import httpx
|
1
2
|
from .const import DOMAIN as DOMAIN, IMAGE_TIMEOUT as IMAGE_TIMEOUT
|
2
3
|
from _typeshed import Incomplete
|
3
4
|
from aiohttp import web
|
@@ -59,6 +60,7 @@ class ImageEntity(Entity):
|
|
59
60
|
@property
|
60
61
|
def image_url(self) -> str | None | UndefinedType: ...
|
61
62
|
def image(self) -> bytes | None: ...
|
63
|
+
async def _fetch_url(self, url: str) -> httpx.Response | None: ...
|
62
64
|
async def _async_load_image_from_url(self, url: str) -> Image | None: ...
|
63
65
|
async def async_image(self) -> bytes | None: ...
|
64
66
|
@property
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from _typeshed import Incomplete
|
2
|
-
from
|
2
|
+
from enum import StrEnum
|
3
3
|
from homeassistant.components.camera import Image as Image
|
4
4
|
from homeassistant.const import ATTR_ENTITY_ID as ATTR_ENTITY_ID, ATTR_NAME as ATTR_NAME, CONF_ENTITY_ID as CONF_ENTITY_ID, CONF_NAME as CONF_NAME, CONF_SOURCE as CONF_SOURCE
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant, ServiceCall as ServiceCall, callback as callback
|
@@ -1,4 +1,4 @@
|
|
1
|
-
from .const import DOMAIN as DOMAIN
|
1
|
+
from .const import CONF_ENABLE_PUSH as CONF_ENABLE_PUSH, DOMAIN as DOMAIN
|
2
2
|
from .coordinator import ImapPollingDataUpdateCoordinator as ImapPollingDataUpdateCoordinator, ImapPushDataUpdateCoordinator as ImapPushDataUpdateCoordinator, connect_to_server as connect_to_server
|
3
3
|
from .errors import InvalidAuth as InvalidAuth, InvalidFolder as InvalidFolder
|
4
4
|
from aioimaplib import IMAP4_SSL as IMAP4_SSL
|
@@ -1,4 +1,4 @@
|
|
1
|
-
from .const import CONF_CHARSET as CONF_CHARSET, CONF_CUSTOM_EVENT_DATA_TEMPLATE as CONF_CUSTOM_EVENT_DATA_TEMPLATE, CONF_FOLDER as CONF_FOLDER, CONF_MAX_MESSAGE_SIZE as CONF_MAX_MESSAGE_SIZE, CONF_SEARCH as CONF_SEARCH, CONF_SERVER as CONF_SERVER, CONF_SSL_CIPHER_LIST as CONF_SSL_CIPHER_LIST, DEFAULT_MAX_MESSAGE_SIZE as DEFAULT_MAX_MESSAGE_SIZE, DEFAULT_PORT as DEFAULT_PORT, DOMAIN as DOMAIN, MAX_MESSAGE_SIZE_LIMIT as MAX_MESSAGE_SIZE_LIMIT
|
1
|
+
from .const import CONF_CHARSET as CONF_CHARSET, CONF_CUSTOM_EVENT_DATA_TEMPLATE as CONF_CUSTOM_EVENT_DATA_TEMPLATE, CONF_ENABLE_PUSH as CONF_ENABLE_PUSH, CONF_FOLDER as CONF_FOLDER, CONF_MAX_MESSAGE_SIZE as CONF_MAX_MESSAGE_SIZE, CONF_SEARCH as CONF_SEARCH, CONF_SERVER as CONF_SERVER, CONF_SSL_CIPHER_LIST as CONF_SSL_CIPHER_LIST, DEFAULT_MAX_MESSAGE_SIZE as DEFAULT_MAX_MESSAGE_SIZE, DEFAULT_PORT as DEFAULT_PORT, DOMAIN as DOMAIN, MAX_MESSAGE_SIZE_LIMIT as MAX_MESSAGE_SIZE_LIMIT
|
2
2
|
from .coordinator import connect_to_server as connect_to_server
|
3
3
|
from .errors import InvalidAuth as InvalidAuth, InvalidFolder as InvalidFolder
|
4
4
|
from _typeshed import Incomplete
|
@@ -4,7 +4,7 @@ from _typeshed import Incomplete
|
|
4
4
|
from aioimaplib import IMAP4_SSL
|
5
5
|
from collections.abc import Mapping
|
6
6
|
from datetime import datetime, timedelta
|
7
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
7
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
8
8
|
from homeassistant.const import CONF_PASSWORD as CONF_PASSWORD, CONF_PORT as CONF_PORT, CONF_USERNAME as CONF_USERNAME, CONF_VERIFY_SSL as CONF_VERIFY_SSL, CONTENT_TYPE_TEXT_PLAIN as CONTENT_TYPE_TEXT_PLAIN
|
9
9
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
10
10
|
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryError as ConfigEntryError, TemplateError as TemplateError
|
@@ -17,6 +17,7 @@ from typing import Any
|
|
17
17
|
_LOGGER: Incomplete
|
18
18
|
BACKOFF_TIME: int
|
19
19
|
EVENT_IMAP: str
|
20
|
+
MAX_ERRORS: int
|
20
21
|
MAX_EVENT_DATA_BYTES: int
|
21
22
|
|
22
23
|
async def connect_to_server(data: Mapping[str, Any]) -> IMAP4_SSL: ...
|
@@ -39,6 +40,7 @@ class ImapDataUpdateCoordinator(DataUpdateCoordinator[int | None]):
|
|
39
40
|
config_entry: ConfigEntry
|
40
41
|
custom_event_template: Template | None
|
41
42
|
imap_client: Incomplete
|
43
|
+
auth_errors: int
|
42
44
|
_last_message_id: Incomplete
|
43
45
|
def __init__(self, hass: HomeAssistant, imap_client: IMAP4_SSL, entry: ConfigEntry, update_interval: timedelta | None) -> None: ...
|
44
46
|
async def async_start(self) -> None: ...
|
@@ -50,6 +52,7 @@ class ImapDataUpdateCoordinator(DataUpdateCoordinator[int | None]):
|
|
50
52
|
|
51
53
|
class ImapPollingDataUpdateCoordinator(ImapDataUpdateCoordinator):
|
52
54
|
def __init__(self, hass: HomeAssistant, imap_client: IMAP4_SSL, entry: ConfigEntry) -> None: ...
|
55
|
+
auth_errors: int
|
53
56
|
async def _async_update_data(self) -> int | None: ...
|
54
57
|
|
55
58
|
class ImapPushDataUpdateCoordinator(ImapDataUpdateCoordinator):
|
@@ -57,5 +60,6 @@ class ImapPushDataUpdateCoordinator(ImapDataUpdateCoordinator):
|
|
57
60
|
def __init__(self, hass: HomeAssistant, imap_client: IMAP4_SSL, entry: ConfigEntry) -> None: ...
|
58
61
|
async def _async_update_data(self) -> int | None: ...
|
59
62
|
async def async_start(self) -> None: ...
|
63
|
+
auth_errors: int
|
60
64
|
async def _async_wait_push_loop(self) -> None: ...
|
61
65
|
async def shutdown(self, *_: Any) -> None: ...
|
@@ -9,7 +9,7 @@ from homeassistant.helpers.integration_platform import async_process_integration
|
|
9
9
|
from homeassistant.helpers.restore_state import RestoreEntity as RestoreEntity
|
10
10
|
from homeassistant.helpers.storage import Store as Store
|
11
11
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
12
|
-
from
|
12
|
+
from typing import Self
|
13
13
|
|
14
14
|
DOMAIN: str
|
15
15
|
_LOGGER: Incomplete
|
@@ -9,8 +9,7 @@ from homeassistant.helpers.integration_platform import async_process_integration
|
|
9
9
|
from homeassistant.helpers.restore_state import RestoreEntity as RestoreEntity
|
10
10
|
from homeassistant.helpers.storage import Store as Store
|
11
11
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
12
|
-
from typing import Any
|
13
|
-
from typing_extensions import Self
|
12
|
+
from typing import Any, Self
|
14
13
|
|
15
14
|
_LOGGER: Incomplete
|
16
15
|
DOMAIN: str
|
@@ -4,13 +4,12 @@ from decimal import Decimal
|
|
4
4
|
from homeassistant.components.sensor import PLATFORM_SCHEMA as PLATFORM_SCHEMA, RestoreSensor as RestoreSensor, SensorDeviceClass as SensorDeviceClass, SensorExtraStoredData as SensorExtraStoredData, SensorStateClass as SensorStateClass
|
5
5
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
6
|
from homeassistant.const import ATTR_DEVICE_CLASS as ATTR_DEVICE_CLASS, ATTR_UNIT_OF_MEASUREMENT as ATTR_UNIT_OF_MEASUREMENT, CONF_METHOD as CONF_METHOD, CONF_NAME as CONF_NAME, CONF_UNIQUE_ID as CONF_UNIQUE_ID, STATE_UNAVAILABLE as STATE_UNAVAILABLE, STATE_UNKNOWN as STATE_UNKNOWN, UnitOfTime as UnitOfTime
|
7
|
-
from homeassistant.core import
|
7
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
8
8
|
from homeassistant.helpers.entity import DeviceInfo as DeviceInfo
|
9
9
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
10
|
-
from homeassistant.helpers.event import async_track_state_change_event as async_track_state_change_event
|
11
|
-
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType
|
12
|
-
from typing import Any, Final
|
13
|
-
from typing_extensions import Self
|
10
|
+
from homeassistant.helpers.event import EventStateChangedData as EventStateChangedData, async_track_state_change_event as async_track_state_change_event
|
11
|
+
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType, EventType as EventType
|
12
|
+
from typing import Any, Final, Self
|
14
13
|
|
15
14
|
_LOGGER: Incomplete
|
16
15
|
ATTR_SOURCE_ID: Final[str]
|
@@ -8,6 +8,7 @@ from homeassistant.const import ATTR_TEMPERATURE as ATTR_TEMPERATURE, PRECISION_
|
|
8
8
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
9
9
|
from homeassistant.helpers.entity import DeviceInfo as DeviceInfo
|
10
10
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
11
|
+
from homeassistant.util.enum import try_parse_enum as try_parse_enum
|
11
12
|
from pyisy.nodes import Node as Node
|
12
13
|
from typing import Any
|
13
14
|
|
@@ -5,6 +5,8 @@ from .models import JellyfinData as JellyfinData
|
|
5
5
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
7
|
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
8
|
+
from homeassistant.helpers import device_registry as dr
|
8
9
|
|
9
10
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
10
11
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
12
|
+
async def async_remove_config_entry_device(hass: HomeAssistant, config_entry: ConfigEntry, device_entry: dr.DeviceEntry) -> bool: ...
|
@@ -19,10 +19,12 @@ class JellyfinDataUpdateCoordinator(DataUpdateCoordinator[JellyfinDataT], ABC, m
|
|
19
19
|
client_device_id: Incomplete
|
20
20
|
user_id: Incomplete
|
21
21
|
session_ids: Incomplete
|
22
|
+
device_ids: Incomplete
|
22
23
|
def __init__(self, hass: HomeAssistant, api_client: JellyfinClient, system_info: dict[str, Any], client_device_id: str, user_id: str) -> None: ...
|
23
24
|
async def _async_update_data(self) -> JellyfinDataT: ...
|
24
25
|
@abstractmethod
|
25
26
|
async def _fetch_data(self) -> JellyfinDataT: ...
|
26
27
|
|
27
28
|
class SessionsDataUpdateCoordinator(JellyfinDataUpdateCoordinator[dict[str, dict[str, Any]]]):
|
29
|
+
device_ids: Incomplete
|
28
30
|
async def _fetch_data(self) -> dict[str, dict[str, Any]]: ...
|
@@ -1,4 +1,4 @@
|
|
1
|
-
from .const import COLLECTION_TYPE_MOVIES as COLLECTION_TYPE_MOVIES, COLLECTION_TYPE_MUSIC as COLLECTION_TYPE_MUSIC,
|
1
|
+
from .const import COLLECTION_TYPE_MOVIES as COLLECTION_TYPE_MOVIES, COLLECTION_TYPE_MUSIC as COLLECTION_TYPE_MUSIC, DOMAIN as DOMAIN, ITEM_KEY_COLLECTION_TYPE as ITEM_KEY_COLLECTION_TYPE, ITEM_KEY_ID as ITEM_KEY_ID, ITEM_KEY_IMAGE_TAGS as ITEM_KEY_IMAGE_TAGS, ITEM_KEY_INDEX_NUMBER as ITEM_KEY_INDEX_NUMBER, ITEM_KEY_MEDIA_SOURCES as ITEM_KEY_MEDIA_SOURCES, ITEM_KEY_MEDIA_TYPE as ITEM_KEY_MEDIA_TYPE, ITEM_KEY_NAME as ITEM_KEY_NAME, ITEM_TYPE_ALBUM as ITEM_TYPE_ALBUM, ITEM_TYPE_ARTIST as ITEM_TYPE_ARTIST, ITEM_TYPE_AUDIO as ITEM_TYPE_AUDIO, ITEM_TYPE_EPISODE as ITEM_TYPE_EPISODE, ITEM_TYPE_LIBRARY as ITEM_TYPE_LIBRARY, ITEM_TYPE_MOVIE as ITEM_TYPE_MOVIE, ITEM_TYPE_SEASON as ITEM_TYPE_SEASON, ITEM_TYPE_SERIES as ITEM_TYPE_SERIES, MAX_IMAGE_WIDTH as MAX_IMAGE_WIDTH, MEDIA_SOURCE_KEY_PATH as MEDIA_SOURCE_KEY_PATH, MEDIA_TYPE_AUDIO as MEDIA_TYPE_AUDIO, MEDIA_TYPE_NONE as MEDIA_TYPE_NONE, MEDIA_TYPE_VIDEO as MEDIA_TYPE_VIDEO, PLAYABLE_ITEM_TYPES as PLAYABLE_ITEM_TYPES, SUPPORTED_COLLECTION_TYPES as SUPPORTED_COLLECTION_TYPES
|
2
2
|
from .models import JellyfinData as JellyfinData
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from homeassistant.components.media_player import BrowseError as BrowseError, MediaClass as MediaClass
|
@@ -6,10 +6,10 @@ from kaleidescape import Device as KaleidescapeDevice
|
|
6
6
|
_LOGGER: Incomplete
|
7
7
|
|
8
8
|
class KaleidescapeEntity(Entity):
|
9
|
-
|
9
|
+
_attr_has_entity_name: bool
|
10
10
|
_attr_should_poll: bool
|
11
|
+
_device: Incomplete
|
11
12
|
_attr_unique_id: Incomplete
|
12
|
-
_attr_name: Incomplete
|
13
13
|
_attr_device_info: Incomplete
|
14
14
|
def __init__(self, device: KaleidescapeDevice) -> None: ...
|
15
15
|
async def async_added_to_hass(self) -> None: ...
|
@@ -15,6 +15,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_e
|
|
15
15
|
|
16
16
|
class KaleidescapeMediaPlayer(KaleidescapeEntity, MediaPlayerEntity):
|
17
17
|
_attr_supported_features: Incomplete
|
18
|
+
_attr_name: Incomplete
|
18
19
|
async def async_turn_on(self) -> None: ...
|
19
20
|
async def async_turn_off(self) -> None: ...
|
20
21
|
async def async_media_pause(self) -> None: ...
|
@@ -13,6 +13,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_e
|
|
13
13
|
VALID_COMMANDS: Incomplete
|
14
14
|
|
15
15
|
class KaleidescapeRemote(KaleidescapeEntity, RemoteEntity):
|
16
|
+
_attr_name: Incomplete
|
16
17
|
@property
|
17
18
|
def is_on(self) -> bool: ...
|
18
19
|
async def async_turn_on(self, **kwargs: Any) -> None: ...
|
@@ -23,7 +23,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_e
|
|
23
23
|
class KaleidescapeSensor(KaleidescapeEntity, SensorEntity):
|
24
24
|
entity_description: KaleidescapeSensorEntityDescription
|
25
25
|
_attr_unique_id: Incomplete
|
26
|
-
_attr_name: Incomplete
|
27
26
|
def __init__(self, device: KaleidescapeDevice, entity_description: KaleidescapeSensorEntityDescription) -> None: ...
|
28
27
|
@property
|
29
28
|
def native_value(self) -> StateType: ...
|
@@ -2,7 +2,7 @@ from .const import CONF_KNX_CONNECTION_TYPE as CONF_KNX_CONNECTION_TYPE, CONF_KN
|
|
2
2
|
from .device import KNXInterfaceDevice as KNXInterfaceDevice
|
3
3
|
from .expose import KNXExposeSensor as KNXExposeSensor, KNXExposeTime as KNXExposeTime, create_knx_exposure as create_knx_exposure
|
4
4
|
from .project import KNXProject as KNXProject
|
5
|
-
from .schema import BinarySensorSchema as BinarySensorSchema, ButtonSchema as ButtonSchema, ClimateSchema as ClimateSchema, CoverSchema as CoverSchema, EventSchema as EventSchema, ExposeSchema as ExposeSchema, FanSchema as FanSchema, LightSchema as LightSchema, NotifySchema as NotifySchema, NumberSchema as NumberSchema, SceneSchema as SceneSchema, SelectSchema as SelectSchema, SensorSchema as SensorSchema, SwitchSchema as SwitchSchema, TextSchema as TextSchema, TimeSchema as TimeSchema, WeatherSchema as WeatherSchema, ga_validator as ga_validator, sensor_type_validator as sensor_type_validator
|
5
|
+
from .schema import BinarySensorSchema as BinarySensorSchema, ButtonSchema as ButtonSchema, ClimateSchema as ClimateSchema, CoverSchema as CoverSchema, DateSchema as DateSchema, DateTimeSchema as DateTimeSchema, EventSchema as EventSchema, ExposeSchema as ExposeSchema, FanSchema as FanSchema, LightSchema as LightSchema, NotifySchema as NotifySchema, NumberSchema as NumberSchema, SceneSchema as SceneSchema, SelectSchema as SelectSchema, SensorSchema as SensorSchema, SwitchSchema as SwitchSchema, TextSchema as TextSchema, TimeSchema as TimeSchema, WeatherSchema as WeatherSchema, ga_validator as ga_validator, sensor_type_validator as sensor_type_validator
|
6
6
|
from .telegrams import Telegrams as Telegrams
|
7
7
|
from .websocket import register_panel as register_panel
|
8
8
|
from _typeshed import Incomplete
|
@@ -0,0 +1,29 @@
|
|
1
|
+
from .const import CONF_RESPOND_TO_READ as CONF_RESPOND_TO_READ, CONF_STATE_ADDRESS as CONF_STATE_ADDRESS, CONF_SYNC_STATE as CONF_SYNC_STATE, DATA_KNX_CONFIG as DATA_KNX_CONFIG, DOMAIN as DOMAIN, KNX_ADDRESS as KNX_ADDRESS
|
2
|
+
from .knx_entity import KnxEntity as KnxEntity
|
3
|
+
from _typeshed import Incomplete
|
4
|
+
from datetime import date as dt_date
|
5
|
+
from homeassistant import config_entries as config_entries
|
6
|
+
from homeassistant.components.date import DateEntity as DateEntity
|
7
|
+
from homeassistant.const import CONF_ENTITY_CATEGORY as CONF_ENTITY_CATEGORY, CONF_NAME as CONF_NAME, Platform as Platform, STATE_UNAVAILABLE as STATE_UNAVAILABLE, STATE_UNKNOWN as STATE_UNKNOWN
|
8
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
9
|
+
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
10
|
+
from homeassistant.helpers.restore_state import RestoreEntity as RestoreEntity
|
11
|
+
from homeassistant.helpers.typing import ConfigType as ConfigType
|
12
|
+
from typing import Final
|
13
|
+
from xknx import XKNX as XKNX
|
14
|
+
from xknx.devices import DateTime as XknxDateTime
|
15
|
+
|
16
|
+
_DATE_TRANSLATION_FORMAT: Final[str]
|
17
|
+
|
18
|
+
async def async_setup_entry(hass: HomeAssistant, config_entry: config_entries.ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
19
|
+
def _create_xknx_device(xknx: XKNX, config: ConfigType) -> XknxDateTime: ...
|
20
|
+
|
21
|
+
class KNXDate(KnxEntity, DateEntity, RestoreEntity):
|
22
|
+
_device: XknxDateTime
|
23
|
+
_attr_entity_category: Incomplete
|
24
|
+
_attr_unique_id: Incomplete
|
25
|
+
def __init__(self, xknx: XKNX, config: ConfigType) -> None: ...
|
26
|
+
async def async_added_to_hass(self) -> None: ...
|
27
|
+
@property
|
28
|
+
def native_value(self) -> dt_date | None: ...
|
29
|
+
async def async_set_value(self, value: dt_date) -> None: ...
|