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,58 +0,0 @@
|
|
1
|
-
import datetime
|
2
|
-
from .const import DATA_DEVICE_MANAGER as DATA_DEVICE_MANAGER, DOMAIN as DOMAIN
|
3
|
-
from .device_info import NestDeviceInfo as NestDeviceInfo
|
4
|
-
from _typeshed import Incomplete
|
5
|
-
from collections.abc import Callable as Callable
|
6
|
-
from google_nest_sdm.camera_traits import RtspStream as RtspStream
|
7
|
-
from google_nest_sdm.device import Device as Device
|
8
|
-
from google_nest_sdm.device_manager import DeviceManager as DeviceManager
|
9
|
-
from homeassistant.components.camera import Camera as Camera, CameraEntityFeature as CameraEntityFeature, StreamType as StreamType
|
10
|
-
from homeassistant.components.stream import CONF_EXTRA_PART_WAIT_TIME as CONF_EXTRA_PART_WAIT_TIME
|
11
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
12
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
13
|
-
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
14
|
-
from homeassistant.helpers.entity import DeviceInfo as DeviceInfo
|
15
|
-
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
16
|
-
from homeassistant.helpers.event import async_track_point_in_utc_time as async_track_point_in_utc_time
|
17
|
-
from homeassistant.util.dt import utcnow as utcnow
|
18
|
-
|
19
|
-
_LOGGER: Incomplete
|
20
|
-
PLACEHOLDER: Incomplete
|
21
|
-
STREAM_EXPIRATION_BUFFER: Incomplete
|
22
|
-
|
23
|
-
async def async_setup_sdm_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
24
|
-
|
25
|
-
class NestCamera(Camera):
|
26
|
-
_attr_has_entity_name: bool
|
27
|
-
_attr_name: Incomplete
|
28
|
-
_device: Incomplete
|
29
|
-
_device_info: Incomplete
|
30
|
-
_stream: Incomplete
|
31
|
-
_create_stream_url_lock: Incomplete
|
32
|
-
_stream_refresh_unsub: Incomplete
|
33
|
-
_attr_is_streaming: Incomplete
|
34
|
-
def __init__(self, device: Device) -> None: ...
|
35
|
-
@property
|
36
|
-
def unique_id(self) -> str: ...
|
37
|
-
@property
|
38
|
-
def device_info(self) -> DeviceInfo: ...
|
39
|
-
@property
|
40
|
-
def brand(self) -> str | None: ...
|
41
|
-
@property
|
42
|
-
def model(self) -> str | None: ...
|
43
|
-
@property
|
44
|
-
def supported_features(self) -> CameraEntityFeature: ...
|
45
|
-
@property
|
46
|
-
def frontend_stream_type(self) -> StreamType | None: ...
|
47
|
-
@property
|
48
|
-
def available(self) -> bool: ...
|
49
|
-
async def stream_source(self) -> str | None: ...
|
50
|
-
def _schedule_stream_refresh(self) -> None: ...
|
51
|
-
stream: Incomplete
|
52
|
-
async def _handle_stream_refresh(self, now: datetime.datetime) -> None: ...
|
53
|
-
async def async_will_remove_from_hass(self) -> None: ...
|
54
|
-
async def async_added_to_hass(self) -> None: ...
|
55
|
-
async def async_camera_image(self, width: int | None = ..., height: int | None = ...) -> bytes | None: ...
|
56
|
-
@classmethod
|
57
|
-
def placeholder_image(cls) -> bytes: ...
|
58
|
-
async def async_handle_web_rtc_offer(self, offer_sdp: str) -> str | None: ...
|
@@ -1,81 +0,0 @@
|
|
1
|
-
from .const import DATA_DEVICE_MANAGER as DATA_DEVICE_MANAGER, DOMAIN as DOMAIN
|
2
|
-
from .device_info import NestDeviceInfo as NestDeviceInfo
|
3
|
-
from _typeshed import Incomplete
|
4
|
-
from google_nest_sdm.device import Device as Device
|
5
|
-
from google_nest_sdm.device_manager import DeviceManager as DeviceManager
|
6
|
-
from google_nest_sdm.thermostat_traits import ThermostatHeatCoolTrait as ThermostatHeatCoolTrait
|
7
|
-
from homeassistant.components.climate import ATTR_HVAC_MODE as ATTR_HVAC_MODE, ATTR_TARGET_TEMP_HIGH as ATTR_TARGET_TEMP_HIGH, ATTR_TARGET_TEMP_LOW as ATTR_TARGET_TEMP_LOW, ClimateEntity as ClimateEntity, ClimateEntityFeature as ClimateEntityFeature, FAN_OFF as FAN_OFF, FAN_ON as FAN_ON, HVACAction as HVACAction, HVACMode as HVACMode, PRESET_ECO as PRESET_ECO, PRESET_NONE as PRESET_NONE
|
8
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
9
|
-
from homeassistant.const import ATTR_TEMPERATURE as ATTR_TEMPERATURE, UnitOfTemperature as UnitOfTemperature
|
10
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
11
|
-
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
12
|
-
from homeassistant.helpers.entity import DeviceInfo as DeviceInfo
|
13
|
-
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
14
|
-
from typing import Any
|
15
|
-
|
16
|
-
THERMOSTAT_MODE_MAP: dict[str, HVACMode]
|
17
|
-
THERMOSTAT_INV_MODE_MAP: Incomplete
|
18
|
-
THERMOSTAT_ECO_MODE: str
|
19
|
-
THERMOSTAT_HVAC_STATUS_MAP: Incomplete
|
20
|
-
THERMOSTAT_RANGE_MODES: Incomplete
|
21
|
-
PRESET_MODE_MAP: Incomplete
|
22
|
-
PRESET_INV_MODE_MAP: Incomplete
|
23
|
-
FAN_MODE_MAP: Incomplete
|
24
|
-
FAN_INV_MODE_MAP: Incomplete
|
25
|
-
FAN_INV_MODES: Incomplete
|
26
|
-
MAX_FAN_DURATION: int
|
27
|
-
MIN_TEMP: int
|
28
|
-
MAX_TEMP: int
|
29
|
-
|
30
|
-
async def async_setup_sdm_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
31
|
-
|
32
|
-
class ThermostatEntity(ClimateEntity):
|
33
|
-
_attr_min_temp = MIN_TEMP
|
34
|
-
_attr_max_temp = MAX_TEMP
|
35
|
-
_attr_has_entity_name: bool
|
36
|
-
_attr_should_poll: bool
|
37
|
-
_attr_name: Incomplete
|
38
|
-
_device: Incomplete
|
39
|
-
_device_info: Incomplete
|
40
|
-
def __init__(self, device: Device) -> None: ...
|
41
|
-
@property
|
42
|
-
def unique_id(self) -> str | None: ...
|
43
|
-
@property
|
44
|
-
def device_info(self) -> DeviceInfo: ...
|
45
|
-
@property
|
46
|
-
def available(self) -> bool: ...
|
47
|
-
_attr_supported_features: Incomplete
|
48
|
-
async def async_added_to_hass(self) -> None: ...
|
49
|
-
@property
|
50
|
-
def temperature_unit(self) -> str: ...
|
51
|
-
@property
|
52
|
-
def current_temperature(self) -> float | None: ...
|
53
|
-
@property
|
54
|
-
def target_temperature(self) -> float | None: ...
|
55
|
-
@property
|
56
|
-
def target_temperature_high(self) -> float | None: ...
|
57
|
-
@property
|
58
|
-
def target_temperature_low(self) -> float | None: ...
|
59
|
-
@property
|
60
|
-
def _target_temperature_trait(self) -> ThermostatHeatCoolTrait | None: ...
|
61
|
-
@property
|
62
|
-
def hvac_mode(self) -> HVACMode: ...
|
63
|
-
@property
|
64
|
-
def hvac_modes(self) -> list[HVACMode]: ...
|
65
|
-
@property
|
66
|
-
def _get_device_hvac_modes(self) -> set[str]: ...
|
67
|
-
@property
|
68
|
-
def hvac_action(self) -> HVACAction | None: ...
|
69
|
-
@property
|
70
|
-
def preset_mode(self) -> str: ...
|
71
|
-
@property
|
72
|
-
def preset_modes(self) -> list[str]: ...
|
73
|
-
@property
|
74
|
-
def fan_mode(self) -> str: ...
|
75
|
-
@property
|
76
|
-
def fan_modes(self) -> list[str]: ...
|
77
|
-
def _get_supported_features(self) -> ClimateEntityFeature: ...
|
78
|
-
async def async_set_hvac_mode(self, hvac_mode: HVACMode) -> None: ...
|
79
|
-
async def async_set_temperature(self, **kwargs: Any) -> None: ...
|
80
|
-
async def async_set_preset_mode(self, preset_mode: str) -> None: ...
|
81
|
-
async def async_set_fan_mode(self, fan_mode: str) -> None: ...
|
@@ -1,62 +0,0 @@
|
|
1
|
-
from . import local_auth as local_auth
|
2
|
-
from .const import DATA_NEST as DATA_NEST, DATA_NEST_CONFIG as DATA_NEST_CONFIG, DOMAIN as DOMAIN, SIGNAL_NEST_UPDATE as SIGNAL_NEST_UPDATE
|
3
|
-
from _typeshed import Incomplete
|
4
|
-
from collections.abc import Generator
|
5
|
-
from homeassistant import config_entries as config_entries
|
6
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
7
|
-
from homeassistant.const import CONF_CLIENT_ID as CONF_CLIENT_ID, CONF_CLIENT_SECRET as CONF_CLIENT_SECRET, CONF_FILENAME as CONF_FILENAME, CONF_STRUCTURE as CONF_STRUCTURE, EVENT_HOMEASSISTANT_START as EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP, Platform as Platform
|
8
|
-
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
9
|
-
from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect, dispatcher_send as dispatcher_send
|
10
|
-
from homeassistant.helpers.entity import DeviceInfo as DeviceInfo, Entity as Entity
|
11
|
-
|
12
|
-
_CONFIGURING: Incomplete
|
13
|
-
_LOGGER: Incomplete
|
14
|
-
PLATFORMS: Incomplete
|
15
|
-
SERVICE_CANCEL_ETA: str
|
16
|
-
SERVICE_SET_ETA: str
|
17
|
-
NEST_CONFIG_FILE: str
|
18
|
-
ATTR_ETA: str
|
19
|
-
ATTR_ETA_WINDOW: str
|
20
|
-
ATTR_STRUCTURE: str
|
21
|
-
ATTR_TRIP_ID: str
|
22
|
-
AWAY_MODE_AWAY: str
|
23
|
-
AWAY_MODE_HOME: str
|
24
|
-
ATTR_AWAY_MODE: str
|
25
|
-
SERVICE_SET_AWAY_MODE: str
|
26
|
-
SET_AWAY_MODE_SCHEMA: Incomplete
|
27
|
-
SET_ETA_SCHEMA: Incomplete
|
28
|
-
CANCEL_ETA_SCHEMA: Incomplete
|
29
|
-
|
30
|
-
def nest_update_event_broker(hass, nest) -> None: ...
|
31
|
-
async def async_setup_legacy(hass: HomeAssistant, config: dict) -> bool: ...
|
32
|
-
async def async_setup_legacy_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
33
|
-
|
34
|
-
class NestLegacyDevice:
|
35
|
-
hass: Incomplete
|
36
|
-
nest: Incomplete
|
37
|
-
local_structure: Incomplete
|
38
|
-
def __init__(self, hass, conf, nest) -> None: ...
|
39
|
-
def initialize(self): ...
|
40
|
-
def structures(self) -> Generator[Incomplete, None, None]: ...
|
41
|
-
def thermostats(self): ...
|
42
|
-
def smoke_co_alarms(self): ...
|
43
|
-
def cameras(self): ...
|
44
|
-
def _devices(self, device_type) -> Generator[Incomplete, None, None]: ...
|
45
|
-
|
46
|
-
class NestSensorDevice(Entity):
|
47
|
-
_attr_should_poll: bool
|
48
|
-
structure: Incomplete
|
49
|
-
variable: Incomplete
|
50
|
-
device: Incomplete
|
51
|
-
_name: Incomplete
|
52
|
-
_state: Incomplete
|
53
|
-
_unit: Incomplete
|
54
|
-
def __init__(self, structure, device, variable) -> None: ...
|
55
|
-
@property
|
56
|
-
def name(self): ...
|
57
|
-
@property
|
58
|
-
def unique_id(self): ...
|
59
|
-
@property
|
60
|
-
def device_info(self) -> DeviceInfo: ...
|
61
|
-
def update(self) -> None: ...
|
62
|
-
async def async_added_to_hass(self) -> None: ...
|
@@ -1,38 +0,0 @@
|
|
1
|
-
from . import NestSensorDevice as NestSensorDevice
|
2
|
-
from .const import DATA_NEST as DATA_NEST, DATA_NEST_CONFIG as DATA_NEST_CONFIG
|
3
|
-
from _typeshed import Incomplete
|
4
|
-
from homeassistant.components.binary_sensor import BinarySensorDeviceClass as BinarySensorDeviceClass, BinarySensorEntity as BinarySensorEntity
|
5
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
|
-
from homeassistant.const import CONF_BINARY_SENSORS as CONF_BINARY_SENSORS, CONF_MONITORED_CONDITIONS as CONF_MONITORED_CONDITIONS
|
7
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
8
|
-
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
9
|
-
|
10
|
-
_LOGGER: Incomplete
|
11
|
-
BINARY_TYPES: Incomplete
|
12
|
-
CLIMATE_BINARY_TYPES: Incomplete
|
13
|
-
CAMERA_BINARY_TYPES: Incomplete
|
14
|
-
STRUCTURE_BINARY_TYPES: Incomplete
|
15
|
-
STRUCTURE_BINARY_STATE_MAP: Incomplete
|
16
|
-
_BINARY_TYPES_DEPRECATED: Incomplete
|
17
|
-
_VALID_BINARY_SENSOR_TYPES: Incomplete
|
18
|
-
|
19
|
-
async def async_setup_legacy_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
20
|
-
|
21
|
-
class NestBinarySensor(NestSensorDevice, BinarySensorEntity):
|
22
|
-
@property
|
23
|
-
def is_on(self): ...
|
24
|
-
@property
|
25
|
-
def device_class(self): ...
|
26
|
-
_state: Incomplete
|
27
|
-
def update(self) -> None: ...
|
28
|
-
|
29
|
-
class NestActivityZoneSensor(NestBinarySensor):
|
30
|
-
zone: Incomplete
|
31
|
-
_name: Incomplete
|
32
|
-
def __init__(self, structure, device, zone) -> None: ...
|
33
|
-
@property
|
34
|
-
def unique_id(self): ...
|
35
|
-
@property
|
36
|
-
def device_class(self): ...
|
37
|
-
_state: Incomplete
|
38
|
-
def update(self) -> None: ...
|
@@ -1,45 +0,0 @@
|
|
1
|
-
from .const import DATA_NEST as DATA_NEST, DOMAIN as DOMAIN
|
2
|
-
from _typeshed import Incomplete
|
3
|
-
from homeassistant.components.camera import Camera as Camera, CameraEntityFeature as CameraEntityFeature, PLATFORM_SCHEMA as PLATFORM_SCHEMA
|
4
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
|
-
from homeassistant.helpers.entity import DeviceInfo as DeviceInfo
|
7
|
-
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
8
|
-
from homeassistant.util.dt import utcnow as utcnow
|
9
|
-
|
10
|
-
_LOGGER: Incomplete
|
11
|
-
NEST_BRAND: str
|
12
|
-
|
13
|
-
async def async_setup_legacy_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
14
|
-
|
15
|
-
class NestCamera(Camera):
|
16
|
-
_attr_should_poll: bool
|
17
|
-
_attr_supported_features: Incomplete
|
18
|
-
structure: Incomplete
|
19
|
-
device: Incomplete
|
20
|
-
_location: Incomplete
|
21
|
-
_name: Incomplete
|
22
|
-
_online: Incomplete
|
23
|
-
_is_streaming: Incomplete
|
24
|
-
_is_video_history_enabled: bool
|
25
|
-
_time_between_snapshots: Incomplete
|
26
|
-
_last_image: Incomplete
|
27
|
-
_next_snapshot_at: Incomplete
|
28
|
-
def __init__(self, structure, device) -> None: ...
|
29
|
-
@property
|
30
|
-
def name(self): ...
|
31
|
-
@property
|
32
|
-
def unique_id(self): ...
|
33
|
-
@property
|
34
|
-
def device_info(self) -> DeviceInfo: ...
|
35
|
-
@property
|
36
|
-
def is_recording(self): ...
|
37
|
-
@property
|
38
|
-
def brand(self): ...
|
39
|
-
@property
|
40
|
-
def is_on(self): ...
|
41
|
-
def turn_off(self) -> None: ...
|
42
|
-
def turn_on(self) -> None: ...
|
43
|
-
def update(self) -> None: ...
|
44
|
-
def _ready_for_snapshot(self, now): ...
|
45
|
-
def camera_image(self, width: int | None = ..., height: int | None = ...) -> bytes | None: ...
|
@@ -1,89 +0,0 @@
|
|
1
|
-
from .const import DATA_NEST as DATA_NEST, DOMAIN as DOMAIN, SIGNAL_NEST_UPDATE as SIGNAL_NEST_UPDATE
|
2
|
-
from _typeshed import Incomplete
|
3
|
-
from homeassistant.components.climate import ATTR_TARGET_TEMP_HIGH as ATTR_TARGET_TEMP_HIGH, ATTR_TARGET_TEMP_LOW as ATTR_TARGET_TEMP_LOW, ClimateEntity as ClimateEntity, ClimateEntityFeature as ClimateEntityFeature, FAN_AUTO as FAN_AUTO, FAN_ON as FAN_ON, HVACAction as HVACAction, HVACMode as HVACMode, PLATFORM_SCHEMA as PLATFORM_SCHEMA, PRESET_AWAY as PRESET_AWAY, PRESET_ECO as PRESET_ECO, PRESET_NONE as PRESET_NONE
|
4
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
|
-
from homeassistant.const import ATTR_TEMPERATURE as ATTR_TEMPERATURE, CONF_SCAN_INTERVAL as CONF_SCAN_INTERVAL, UnitOfTemperature as UnitOfTemperature
|
6
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
|
-
from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
|
8
|
-
from homeassistant.helpers.entity import DeviceInfo as DeviceInfo
|
9
|
-
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
10
|
-
|
11
|
-
_LOGGER: Incomplete
|
12
|
-
NEST_MODE_HEAT_COOL: str
|
13
|
-
NEST_MODE_ECO: str
|
14
|
-
NEST_MODE_HEAT: str
|
15
|
-
NEST_MODE_COOL: str
|
16
|
-
NEST_MODE_OFF: str
|
17
|
-
MODE_HASS_TO_NEST: Incomplete
|
18
|
-
MODE_NEST_TO_HASS: Incomplete
|
19
|
-
ACTION_NEST_TO_HASS: Incomplete
|
20
|
-
PRESET_AWAY_AND_ECO: str
|
21
|
-
PRESET_MODES: Incomplete
|
22
|
-
|
23
|
-
async def async_setup_legacy_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
24
|
-
|
25
|
-
class NestThermostat(ClimateEntity):
|
26
|
-
_attr_should_poll: bool
|
27
|
-
_unit: Incomplete
|
28
|
-
structure: Incomplete
|
29
|
-
device: Incomplete
|
30
|
-
_fan_modes: Incomplete
|
31
|
-
_attr_supported_features: Incomplete
|
32
|
-
_operation_list: Incomplete
|
33
|
-
_has_fan: Incomplete
|
34
|
-
_away: Incomplete
|
35
|
-
_location: Incomplete
|
36
|
-
_name: Incomplete
|
37
|
-
_humidity: Incomplete
|
38
|
-
_target_temperature: Incomplete
|
39
|
-
_temperature: Incomplete
|
40
|
-
_temperature_scale: Incomplete
|
41
|
-
_mode: Incomplete
|
42
|
-
_action: Incomplete
|
43
|
-
_fan: Incomplete
|
44
|
-
_eco_temperature: Incomplete
|
45
|
-
_is_locked: Incomplete
|
46
|
-
_locked_temperature: Incomplete
|
47
|
-
_min_temperature: Incomplete
|
48
|
-
_max_temperature: Incomplete
|
49
|
-
def __init__(self, structure, device, temp_unit) -> None: ...
|
50
|
-
async def async_added_to_hass(self) -> None: ...
|
51
|
-
@property
|
52
|
-
def unique_id(self): ...
|
53
|
-
@property
|
54
|
-
def device_info(self) -> DeviceInfo: ...
|
55
|
-
@property
|
56
|
-
def name(self): ...
|
57
|
-
@property
|
58
|
-
def temperature_unit(self): ...
|
59
|
-
@property
|
60
|
-
def current_temperature(self): ...
|
61
|
-
@property
|
62
|
-
def hvac_mode(self) -> HVACMode: ...
|
63
|
-
@property
|
64
|
-
def hvac_action(self) -> HVACAction: ...
|
65
|
-
@property
|
66
|
-
def target_temperature(self): ...
|
67
|
-
@property
|
68
|
-
def target_temperature_low(self): ...
|
69
|
-
@property
|
70
|
-
def target_temperature_high(self): ...
|
71
|
-
def set_temperature(self, **kwargs) -> None: ...
|
72
|
-
def set_hvac_mode(self, hvac_mode: HVACMode) -> None: ...
|
73
|
-
@property
|
74
|
-
def hvac_modes(self) -> list[HVACMode]: ...
|
75
|
-
@property
|
76
|
-
def preset_mode(self): ...
|
77
|
-
@property
|
78
|
-
def preset_modes(self): ...
|
79
|
-
def set_preset_mode(self, preset_mode) -> None: ...
|
80
|
-
@property
|
81
|
-
def fan_mode(self): ...
|
82
|
-
@property
|
83
|
-
def fan_modes(self): ...
|
84
|
-
def set_fan_mode(self, fan_mode) -> None: ...
|
85
|
-
@property
|
86
|
-
def min_temp(self): ...
|
87
|
-
@property
|
88
|
-
def max_temp(self): ...
|
89
|
-
def update(self) -> None: ...
|
@@ -1,7 +0,0 @@
|
|
1
|
-
from ..config_flow import CodeInvalid as CodeInvalid, NestAuthError as NestAuthError, register_flow_implementation as register_flow_implementation
|
2
|
-
from .const import DOMAIN as DOMAIN
|
3
|
-
from homeassistant.core import callback as callback
|
4
|
-
|
5
|
-
def initialize(hass, client_id, client_secret) -> None: ...
|
6
|
-
async def generate_auth_url(client_id, flow_id): ...
|
7
|
-
async def resolve_auth_code(hass, client_id, client_secret, code): ...
|
@@ -1,54 +0,0 @@
|
|
1
|
-
from . import NestSensorDevice as NestSensorDevice
|
2
|
-
from .const import DATA_NEST as DATA_NEST, DATA_NEST_CONFIG as DATA_NEST_CONFIG
|
3
|
-
from _typeshed import Incomplete
|
4
|
-
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorStateClass as SensorStateClass
|
5
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
|
-
from homeassistant.const import CONF_MONITORED_CONDITIONS as CONF_MONITORED_CONDITIONS, CONF_SENSORS as CONF_SENSORS, PERCENTAGE as PERCENTAGE, STATE_OFF as STATE_OFF, UnitOfTemperature as UnitOfTemperature
|
7
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
8
|
-
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
9
|
-
|
10
|
-
SENSOR_TYPES: Incomplete
|
11
|
-
TEMP_SENSOR_TYPES: Incomplete
|
12
|
-
PROTECT_SENSOR_TYPES: Incomplete
|
13
|
-
STRUCTURE_SENSOR_TYPES: Incomplete
|
14
|
-
STATE_HEAT: str
|
15
|
-
STATE_COOL: str
|
16
|
-
STRUCTURE_CAMERA_SENSOR_TYPES: Incomplete
|
17
|
-
_VALID_SENSOR_TYPES: Incomplete
|
18
|
-
SENSOR_UNITS: Incomplete
|
19
|
-
SENSOR_DEVICE_CLASSES: Incomplete
|
20
|
-
SENSOR_STATE_CLASSES: Incomplete
|
21
|
-
VARIABLE_NAME_MAPPING: Incomplete
|
22
|
-
VALUE_MAPPING: Incomplete
|
23
|
-
SENSOR_TYPES_DEPRECATED: Incomplete
|
24
|
-
DEPRECATED_WEATHER_VARS: Incomplete
|
25
|
-
_SENSOR_TYPES_DEPRECATED: Incomplete
|
26
|
-
_LOGGER: Incomplete
|
27
|
-
|
28
|
-
async def async_setup_legacy_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
29
|
-
|
30
|
-
class NestBasicSensor(NestSensorDevice, SensorEntity):
|
31
|
-
@property
|
32
|
-
def native_unit_of_measurement(self): ...
|
33
|
-
@property
|
34
|
-
def native_value(self): ...
|
35
|
-
@property
|
36
|
-
def device_class(self): ...
|
37
|
-
@property
|
38
|
-
def state_class(self): ...
|
39
|
-
_unit: Incomplete
|
40
|
-
_state: Incomplete
|
41
|
-
def update(self) -> None: ...
|
42
|
-
|
43
|
-
class NestTempSensor(NestSensorDevice, SensorEntity):
|
44
|
-
@property
|
45
|
-
def native_value(self): ...
|
46
|
-
@property
|
47
|
-
def native_unit_of_measurement(self): ...
|
48
|
-
@property
|
49
|
-
def device_class(self): ...
|
50
|
-
@property
|
51
|
-
def state_class(self): ...
|
52
|
-
_unit: Incomplete
|
53
|
-
_state: Incomplete
|
54
|
-
def update(self) -> None: ...
|
@@ -1,42 +0,0 @@
|
|
1
|
-
from .const import DATA_DEVICE_MANAGER as DATA_DEVICE_MANAGER, DOMAIN as DOMAIN
|
2
|
-
from .device_info import NestDeviceInfo as NestDeviceInfo
|
3
|
-
from _typeshed import Incomplete
|
4
|
-
from google_nest_sdm.device import Device as Device
|
5
|
-
from google_nest_sdm.device_manager import DeviceManager as DeviceManager
|
6
|
-
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorStateClass as SensorStateClass
|
7
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
8
|
-
from homeassistant.const import PERCENTAGE as PERCENTAGE, UnitOfTemperature as UnitOfTemperature
|
9
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
10
|
-
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
11
|
-
|
12
|
-
_LOGGER: Incomplete
|
13
|
-
DEVICE_TYPE_MAP: Incomplete
|
14
|
-
|
15
|
-
async def async_setup_sdm_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
16
|
-
|
17
|
-
class SensorBase(SensorEntity):
|
18
|
-
_attr_should_poll: bool
|
19
|
-
_attr_state_class: Incomplete
|
20
|
-
_attr_has_entity_name: bool
|
21
|
-
_device: Incomplete
|
22
|
-
_device_info: Incomplete
|
23
|
-
_attr_unique_id: Incomplete
|
24
|
-
_attr_device_info: Incomplete
|
25
|
-
def __init__(self, device: Device) -> None: ...
|
26
|
-
@property
|
27
|
-
def available(self) -> bool: ...
|
28
|
-
async def async_added_to_hass(self) -> None: ...
|
29
|
-
|
30
|
-
class TemperatureSensor(SensorBase):
|
31
|
-
_attr_device_class: Incomplete
|
32
|
-
_attr_native_unit_of_measurement: Incomplete
|
33
|
-
_attr_translation_key: str
|
34
|
-
@property
|
35
|
-
def native_value(self) -> float: ...
|
36
|
-
|
37
|
-
class HumiditySensor(SensorBase):
|
38
|
-
_attr_device_class: Incomplete
|
39
|
-
_attr_native_unit_of_measurement = PERCENTAGE
|
40
|
-
_attr_translation_key: str
|
41
|
-
@property
|
42
|
-
def native_value(self) -> int: ...
|
File without changes
|
File without changes
|