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
@@ -1,13 +1,11 @@
|
|
1
1
|
from _typeshed import Incomplete
|
2
2
|
from collections.abc import Callable as Callable, Mapping, Sequence
|
3
|
-
from enum import IntFlag
|
4
|
-
from homeassistant.backports.enum import StrEnum as StrEnum
|
3
|
+
from enum import IntFlag, StrEnum
|
5
4
|
from homeassistant.const import CONF_MODE as CONF_MODE, CONF_UNIT_OF_MEASUREMENT as CONF_UNIT_OF_MEASUREMENT
|
6
5
|
from homeassistant.core import split_entity_id as split_entity_id, valid_entity_id as valid_entity_id
|
7
6
|
from homeassistant.util import decorator as decorator
|
8
7
|
from homeassistant.util.yaml import dumper as dumper
|
9
|
-
from typing import Any, Generic, Literal, TypeVar, TypedDict
|
10
|
-
from typing_extensions import Required
|
8
|
+
from typing import Any, Generic, Literal, Required, TypeVar, TypedDict
|
11
9
|
|
12
10
|
SELECTORS: decorator.Registry[str, type[Selector]]
|
13
11
|
_T = TypeVar('_T', bound=Mapping[str, Any])
|
@@ -24,7 +22,8 @@ class Selector(Generic[_T]):
|
|
24
22
|
def serialize(self) -> dict[str, dict[str, _T]]: ...
|
25
23
|
|
26
24
|
def _entity_features() -> dict[str, type[IntFlag]]: ...
|
27
|
-
def _validate_supported_feature(supported_feature:
|
25
|
+
def _validate_supported_feature(supported_feature: str) -> int: ...
|
26
|
+
def _validate_supported_features(supported_features: int | list[str]) -> int: ...
|
28
27
|
|
29
28
|
ENTITY_FILTER_SELECTOR_CONFIG_SCHEMA: Incomplete
|
30
29
|
|
@@ -122,6 +121,14 @@ class ColorTempSelector(Selector[ColorTempSelectorConfig]):
|
|
122
121
|
def __init__(self, config: ColorTempSelectorConfig | None = ...) -> None: ...
|
123
122
|
def __call__(self, data: Any) -> int: ...
|
124
123
|
|
124
|
+
class ConditionSelectorConfig(TypedDict): ...
|
125
|
+
|
126
|
+
class ConditionSelector(Selector[ConditionSelectorConfig]):
|
127
|
+
selector_type: str
|
128
|
+
CONFIG_SCHEMA: Incomplete
|
129
|
+
def __init__(self, config: ConditionSelectorConfig | None = ...) -> None: ...
|
130
|
+
def __call__(self, data: Any) -> Any: ...
|
131
|
+
|
125
132
|
class ConfigEntrySelectorConfig(TypedDict, total=False):
|
126
133
|
integration: str
|
127
134
|
|
@@ -145,7 +152,7 @@ class ConstantSelector(Selector[ConstantSelectorConfig]):
|
|
145
152
|
class ConversationAgentSelectorConfig(TypedDict, total=False):
|
146
153
|
language: str
|
147
154
|
|
148
|
-
class
|
155
|
+
class ConversationAgentSelector(Selector[ConversationAgentSelectorConfig]):
|
149
156
|
selector_type: str
|
150
157
|
CONFIG_SCHEMA: Incomplete
|
151
158
|
def __init__(self, config: ConversationAgentSelectorConfig) -> None: ...
|
@@ -319,6 +326,7 @@ class TemplateSelector(Selector[TemplateSelectorConfig]):
|
|
319
326
|
|
320
327
|
class TextSelectorConfig(TypedDict, total=False):
|
321
328
|
multiline: bool
|
329
|
+
prefix: str
|
322
330
|
suffix: str
|
323
331
|
type: TextSelectorType
|
324
332
|
autocomplete: str
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import voluptuous as vol
|
2
|
-
from . import area_registry as area_registry, device_registry as device_registry, entity_registry as entity_registry, template as template
|
2
|
+
from . import area_registry as area_registry, device_registry as device_registry, entity_registry as entity_registry, template as template, translation as translation
|
3
3
|
from .entity import Entity as Entity
|
4
4
|
from .entity_platform import EntityPlatform as EntityPlatform
|
5
5
|
from .selector import TargetSelector as TargetSelector
|
@@ -1,24 +1,12 @@
|
|
1
|
-
import datetime as dt
|
2
|
-
from .frame import report as report
|
3
1
|
from _typeshed import Incomplete
|
4
2
|
from collections.abc import Iterable
|
5
3
|
from homeassistant.components.sun import STATE_ABOVE_HORIZON as STATE_ABOVE_HORIZON, STATE_BELOW_HORIZON as STATE_BELOW_HORIZON
|
6
4
|
from homeassistant.const import STATE_CLOSED as STATE_CLOSED, STATE_HOME as STATE_HOME, STATE_LOCKED as STATE_LOCKED, STATE_NOT_HOME as STATE_NOT_HOME, STATE_OFF as STATE_OFF, STATE_ON as STATE_ON, STATE_OPEN as STATE_OPEN, STATE_UNKNOWN as STATE_UNKNOWN, STATE_UNLOCKED as STATE_UNLOCKED
|
7
5
|
from homeassistant.core import Context as Context, HomeAssistant as HomeAssistant, State as State
|
8
6
|
from homeassistant.loader import IntegrationNotFound as IntegrationNotFound, async_get_integration as async_get_integration, bind_hass as bind_hass
|
9
|
-
from types import TracebackType
|
10
7
|
from typing import Any
|
11
8
|
|
12
9
|
_LOGGER: Incomplete
|
13
10
|
|
14
|
-
class AsyncTrackStates:
|
15
|
-
hass: Incomplete
|
16
|
-
states: Incomplete
|
17
|
-
def __init__(self, hass: HomeAssistant) -> None: ...
|
18
|
-
now: Incomplete
|
19
|
-
def __enter__(self) -> list[State]: ...
|
20
|
-
def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: TracebackType | None) -> None: ...
|
21
|
-
|
22
|
-
def get_changed_since(states: Iterable[State], utc_point_in_time: dt.datetime) -> list[State]: ...
|
23
11
|
async def async_reproduce_state(hass: HomeAssistant, states: State | Iterable[State], *, context: Context | None = ..., reproduce_options: dict[str, Any] | None = ...) -> None: ...
|
24
12
|
def state_as_number(state: State) -> float: ...
|
@@ -2,6 +2,7 @@ from _typeshed import Incomplete
|
|
2
2
|
from collections.abc import Callable as Callable, Mapping, Sequence
|
3
3
|
from homeassistant.const import EVENT_HOMEASSISTANT_FINAL_WRITE as EVENT_HOMEASSISTANT_FINAL_WRITE
|
4
4
|
from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, CoreState as CoreState, Event as Event, HomeAssistant as HomeAssistant, callback as callback
|
5
|
+
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
5
6
|
from homeassistant.loader import MAX_LOAD_CONCURRENTLY as MAX_LOAD_CONCURRENTLY, bind_hass as bind_hass
|
6
7
|
from homeassistant.util.file import WriteError as WriteError
|
7
8
|
from json import JSONEncoder
|
@@ -1,6 +1,13 @@
|
|
1
|
+
from _typeshed import Incomplete
|
1
2
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
2
3
|
from homeassistant.loader import bind_hass as bind_hass
|
3
|
-
from homeassistant.util.package import is_virtual_env as is_virtual_env
|
4
|
+
from homeassistant.util.package import is_docker_env as is_docker_env, is_virtual_env as is_virtual_env
|
4
5
|
from typing import Any
|
5
6
|
|
7
|
+
_LOGGER: Incomplete
|
8
|
+
|
9
|
+
def is_official_image() -> bool: ...
|
10
|
+
|
11
|
+
cached_get_user: Incomplete
|
12
|
+
|
6
13
|
async def async_get_system_info(hass: HomeAssistant) -> dict[str, Any]: ...
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import voluptuous as vol
|
2
2
|
from .entity import Entity as Entity
|
3
|
-
from .event import TrackTemplate as TrackTemplate, TrackTemplateResult as TrackTemplateResult, async_track_template_result as async_track_template_result
|
3
|
+
from .event import EventStateChangedData as EventStateChangedData, TrackTemplate as TrackTemplate, TrackTemplateResult as TrackTemplateResult, async_track_template_result as async_track_template_result
|
4
4
|
from .script import Script as Script, _VarsType as _VarsType
|
5
5
|
from .template import Template as Template, TemplateStateFromEntityId as TemplateStateFromEntityId, render_complex as render_complex, result_as_boolean as result_as_boolean
|
6
|
-
from .typing import ConfigType as ConfigType
|
6
|
+
from .typing import ConfigType as ConfigType, EventType as EventType
|
7
7
|
from _typeshed import Incomplete
|
8
8
|
from collections.abc import Callable as Callable
|
9
9
|
from homeassistant.components.sensor import CONF_STATE_CLASS as CONF_STATE_CLASS, DEVICE_CLASSES_SCHEMA as DEVICE_CLASSES_SCHEMA, STATE_CLASSES_SCHEMA as STATE_CLASSES_SCHEMA, SensorEntity as SensorEntity
|
10
|
-
from homeassistant.const import
|
11
|
-
from homeassistant.core import Context as Context, CoreState as CoreState,
|
10
|
+
from homeassistant.const import ATTR_ENTITY_PICTURE as ATTR_ENTITY_PICTURE, ATTR_FRIENDLY_NAME as ATTR_FRIENDLY_NAME, ATTR_ICON as ATTR_ICON, CONF_DEVICE_CLASS as CONF_DEVICE_CLASS, CONF_ICON as CONF_ICON, CONF_NAME as CONF_NAME, CONF_UNIQUE_ID as CONF_UNIQUE_ID, CONF_UNIT_OF_MEASUREMENT as CONF_UNIT_OF_MEASUREMENT, EVENT_HOMEASSISTANT_START as EVENT_HOMEASSISTANT_START, STATE_UNKNOWN as STATE_UNKNOWN
|
11
|
+
from homeassistant.core import Context as Context, CoreState as CoreState, HomeAssistant as HomeAssistant, State as State, callback as callback
|
12
12
|
from homeassistant.exceptions import TemplateError as TemplateError
|
13
13
|
from homeassistant.util.json import JSON_DECODE_EXCEPTIONS as JSON_DECODE_EXCEPTIONS, json_loads as json_loads
|
14
14
|
from typing import Any
|
@@ -35,7 +35,7 @@ class _TemplateAttribute:
|
|
35
35
|
def __init__(self, entity: Entity, attribute: str, template: Template, validator: Callable[[Any], Any] | None = ..., on_update: Callable[[Any], None] | None = ..., none_on_template_error: bool | None = ...) -> None: ...
|
36
36
|
def async_setup(self) -> None: ...
|
37
37
|
def _default_update(self, result: str | TemplateError) -> None: ...
|
38
|
-
def handle_result(self, event:
|
38
|
+
def handle_result(self, event: EventType[EventStateChangedData] | None, template: Template, last_result: str | None | TemplateError, result: str | TemplateError) -> None: ...
|
39
39
|
|
40
40
|
class TemplateEntity(Entity):
|
41
41
|
_attr_available: bool
|
@@ -58,7 +58,7 @@ class TemplateEntity(Entity):
|
|
58
58
|
def _update_state(self, result: str | TemplateError) -> None: ...
|
59
59
|
def _add_attribute_template(self, attribute_key: str, attribute_template: Template) -> None: ...
|
60
60
|
def add_template_attribute(self, attribute: str, template: Template, validator: Callable[[Any], Any] | None = ..., on_update: Callable[[Any], None] | None = ..., none_on_template_error: bool = ...) -> None: ...
|
61
|
-
def _handle_results(self, event:
|
61
|
+
def _handle_results(self, event: EventType[EventStateChangedData] | None, updates: list[TrackTemplateResult]) -> None: ...
|
62
62
|
async def _async_template_startup(self, *_: Any) -> None: ...
|
63
63
|
async def async_added_to_hass(self) -> None: ...
|
64
64
|
async def async_update(self) -> None: ...
|
@@ -104,4 +104,4 @@ class TriggerBaseEntity(Entity):
|
|
104
104
|
|
105
105
|
class ManualTriggerEntity(TriggerBaseEntity):
|
106
106
|
def __init__(self, hass: HomeAssistant, config: dict) -> None: ...
|
107
|
-
def _process_manual_data(self, value:
|
107
|
+
def _process_manual_data(self, value: Any | None = ...) -> None: ...
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import homeassistant.core
|
2
2
|
from _typeshed import Incomplete
|
3
3
|
from enum import Enum
|
4
|
-
from typing import Any
|
4
|
+
from typing import Any, Generic, TypeVar
|
5
5
|
|
6
|
+
_DataT = TypeVar('_DataT')
|
6
7
|
GPSType = tuple[float, float]
|
7
8
|
ConfigType = dict[str, Any]
|
8
9
|
ContextType = homeassistant.core.Context
|
9
10
|
DiscoveryInfoType = dict[str, Any]
|
10
|
-
EventType = homeassistant.core.Event
|
11
11
|
ServiceDataType = dict[str, Any]
|
12
12
|
StateType: Incomplete
|
13
13
|
TemplateVarsType: Incomplete
|
@@ -19,3 +19,6 @@ class UndefinedType(Enum):
|
|
19
19
|
UNDEFINED: Incomplete
|
20
20
|
HomeAssistantType = homeassistant.core.HomeAssistant
|
21
21
|
ServiceCallType = homeassistant.core.ServiceCall
|
22
|
+
|
23
|
+
class EventType(homeassistant.core.Event, Generic[_DataT]):
|
24
|
+
data: _DataT
|
homeassistant-stubs/util/ssl.pyi
CHANGED
@@ -3,8 +3,7 @@ import enum
|
|
3
3
|
from .async_ import run_callback_threadsafe as run_callback_threadsafe
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from types import TracebackType
|
6
|
-
from typing import Any
|
7
|
-
from typing_extensions import Self
|
6
|
+
from typing import Any, Self
|
8
7
|
|
9
8
|
ZONE_GLOBAL: str
|
10
9
|
|
@@ -1,24 +1,23 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: homeassistant-stubs
|
3
|
-
Version: 2023.
|
3
|
+
Version: 2023.8.0
|
4
4
|
Summary: PEP 484 typing stubs for Home Assistant Core
|
5
5
|
Home-page: https://github.com/KapJI/homeassistant-stubs
|
6
6
|
License: MIT
|
7
7
|
Keywords: homeassistant,typing,pep484
|
8
8
|
Author: Ruslan Sayfutdinov
|
9
9
|
Author-email: ruslan@sayfutdinov.com
|
10
|
-
Requires-Python: >=3.
|
10
|
+
Requires-Python: >=3.11,<4.0
|
11
11
|
Classifier: Development Status :: 3 - Alpha
|
12
12
|
Classifier: Intended Audience :: Developers
|
13
13
|
Classifier: License :: OSI Approved :: MIT License
|
14
14
|
Classifier: Operating System :: OS Independent
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
16
|
-
Classifier: Programming Language :: Python :: 3.10
|
17
16
|
Classifier: Programming Language :: Python :: 3.11
|
18
17
|
Classifier: Programming Language :: Python :: 3.10
|
19
18
|
Classifier: Topic :: Software Development
|
20
19
|
Classifier: Typing :: Typed
|
21
|
-
Requires-Dist: homeassistant (==2023.
|
20
|
+
Requires-Dist: homeassistant (==2023.8.0)
|
22
21
|
Project-URL: Bug Tracker, https://github.com/KapJI/homeassistant-stubs/issues
|
23
22
|
Project-URL: Repository, https://github.com/KapJI/homeassistant-stubs
|
24
23
|
Project-URL: Release Notes, https://github.com/KapJI/homeassistant-stubs/releases
|