homeassistant-stubs 2024.11.2__py3-none-any.whl → 2024.12.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- homeassistant-stubs/__main__.pyi +1 -0
- homeassistant-stubs/auth/mfa_modules/totp.pyi +4 -4
- homeassistant-stubs/backup_restore.pyi +17 -0
- homeassistant-stubs/components/airnow/config_flow.pyi +3 -3
- homeassistant-stubs/components/alarm_control_panel/__init__.pyi +2 -2
- homeassistant-stubs/components/amberelectric/config_flow.pyi +1 -1
- homeassistant-stubs/components/amberelectric/coordinator.pyi +7 -7
- homeassistant-stubs/components/amberelectric/sensor.pyi +3 -4
- homeassistant-stubs/components/analytics_insights/config_flow.pyi +3 -3
- homeassistant-stubs/components/androidtv/config_flow.pyi +2 -2
- homeassistant-stubs/components/androidtv_remote/config_flow.pyi +2 -2
- homeassistant-stubs/components/apsystems/coordinator.pyi +1 -1
- homeassistant-stubs/components/assist_pipeline/audio_enhancer.pyi +2 -3
- homeassistant-stubs/components/assist_pipeline/pipeline.pyi +4 -2
- homeassistant-stubs/components/assist_pipeline/vad.pyi +7 -4
- homeassistant-stubs/components/axis/config_flow.pyi +2 -2
- homeassistant-stubs/components/backup/http.pyi +7 -3
- homeassistant-stubs/components/backup/manager.pyi +8 -0
- homeassistant-stubs/components/backup/websocket.pyi +1 -0
- homeassistant-stubs/components/bang_olufsen/const.pyi +1 -6
- homeassistant-stubs/components/bang_olufsen/diagnostics.pyi +6 -0
- homeassistant-stubs/components/bang_olufsen/media_player.pyi +11 -5
- homeassistant-stubs/components/bang_olufsen/websocket.pyi +2 -2
- homeassistant-stubs/components/bmw_connected_drive/config_flow.pyi +7 -3
- homeassistant-stubs/components/bmw_connected_drive/const.pyi +3 -0
- homeassistant-stubs/components/brother/sensor.pyi +0 -1
- homeassistant-stubs/components/cambridge_audio/__init__.pyi +1 -0
- homeassistant-stubs/components/cambridge_audio/config_flow.pyi +1 -0
- homeassistant-stubs/components/cambridge_audio/media_player.pyi +1 -0
- homeassistant-stubs/components/cambridge_audio/select.pyi +3 -1
- homeassistant-stubs/components/cambridge_audio/switch.pyi +3 -1
- homeassistant-stubs/components/camera/__init__.pyi +5 -3
- homeassistant-stubs/components/camera/webrtc.pyi +10 -6
- homeassistant-stubs/components/canary/config_flow.pyi +0 -2
- homeassistant-stubs/components/climate/__init__.pyi +10 -3
- homeassistant-stubs/components/climate/const.pyi +6 -0
- homeassistant-stubs/components/climate/reproduce_state.pyi +1 -1
- homeassistant-stubs/components/climate/significant_change.pyi +1 -1
- homeassistant-stubs/components/cloud/prefs.pyi +1 -1
- homeassistant-stubs/components/crownstone/config_flow.pyi +1 -2
- homeassistant-stubs/components/deconz/config_flow.pyi +1 -5
- homeassistant-stubs/components/demo/climate.pyi +8 -1
- homeassistant-stubs/components/demo/config_flow.pyi +0 -1
- homeassistant-stubs/components/discovergy/config_flow.pyi +2 -5
- homeassistant-stubs/components/dlna_dmr/config_flow.pyi +0 -2
- homeassistant-stubs/components/dnsip/config_flow.pyi +2 -2
- homeassistant-stubs/components/doorbird/config_flow.pyi +0 -2
- homeassistant-stubs/components/dsmr/config_flow.pyi +0 -2
- homeassistant-stubs/components/ecovacs/sensor.pyi +1 -1
- homeassistant-stubs/components/elevenlabs/config_flow.pyi +2 -2
- homeassistant-stubs/components/enphase_envoy/config_flow.pyi +2 -2
- homeassistant-stubs/components/eq3btsmart/__init__.pyi +7 -6
- homeassistant-stubs/components/eq3btsmart/binary_sensor.pyi +26 -0
- homeassistant-stubs/components/eq3btsmart/climate.pyi +4 -15
- homeassistant-stubs/components/eq3btsmart/const.pyi +14 -0
- homeassistant-stubs/components/eq3btsmart/entity.pyi +17 -3
- homeassistant-stubs/components/eq3btsmart/models.pyi +1 -3
- homeassistant-stubs/components/eq3btsmart/number.pyi +33 -0
- homeassistant-stubs/components/eq3btsmart/sensor.pyi +28 -0
- homeassistant-stubs/components/eq3btsmart/switch.pyi +30 -0
- homeassistant-stubs/components/esphome/assist_satellite.pyi +1 -0
- homeassistant-stubs/components/esphome/config_flow.pyi +0 -2
- homeassistant-stubs/components/esphome/entry_data.pyi +8 -1
- homeassistant-stubs/components/esphome/ffmpeg_proxy.pyi +1 -0
- homeassistant-stubs/components/esphome/media_player.pyi +2 -1
- homeassistant-stubs/components/esphome/select.pyi +18 -1
- homeassistant-stubs/components/fan/__init__.pyi +1 -1
- homeassistant-stubs/components/feedreader/config_flow.pyi +2 -2
- homeassistant-stubs/components/filesize/config_flow.pyi +2 -5
- homeassistant-stubs/components/fitbit/config_flow.pyi +0 -1
- homeassistant-stubs/components/fitbit/sensor.pyi +12 -15
- homeassistant-stubs/components/flux_led/config_flow.pyi +1 -3
- homeassistant-stubs/components/forecast_solar/config_flow.pyi +0 -2
- homeassistant-stubs/components/fritz/config_flow.pyi +4 -4
- homeassistant-stubs/components/fritzbox/config_flow.pyi +1 -1
- homeassistant-stubs/components/fritzbox_callmonitor/config_flow.pyi +0 -2
- homeassistant-stubs/components/fully_kiosk/__init__.pyi +3 -2
- homeassistant-stubs/components/fully_kiosk/binary_sensor.pyi +2 -3
- homeassistant-stubs/components/fully_kiosk/button.pyi +2 -3
- homeassistant-stubs/components/fully_kiosk/camera.pyi +2 -3
- homeassistant-stubs/components/fully_kiosk/diagnostics.pyi +2 -3
- homeassistant-stubs/components/fully_kiosk/image.pyi +2 -3
- homeassistant-stubs/components/fully_kiosk/media_player.pyi +3 -3
- homeassistant-stubs/components/fully_kiosk/notify.pyi +2 -3
- homeassistant-stubs/components/fully_kiosk/number.pyi +2 -3
- homeassistant-stubs/components/fully_kiosk/sensor.pyi +2 -3
- homeassistant-stubs/components/fully_kiosk/switch.pyi +2 -3
- homeassistant-stubs/components/fyta/__init__.pyi +1 -0
- homeassistant-stubs/components/glances/__init__.pyi +0 -2
- homeassistant-stubs/components/go2rtc/__init__.pyi +2 -2
- homeassistant-stubs/components/google/config_flow.pyi +0 -2
- homeassistant-stubs/components/google_assistant_sdk/config_flow.pyi +0 -2
- homeassistant-stubs/components/google_cloud/config_flow.pyi +2 -2
- homeassistant-stubs/components/google_cloud/helpers.pyi +1 -1
- homeassistant-stubs/components/here_travel_time/config_flow.pyi +1 -2
- homeassistant-stubs/components/history/__init__.pyi +1 -1
- homeassistant-stubs/components/history/helpers.pyi +1 -2
- homeassistant-stubs/components/history/websocket_api.pyi +1 -1
- homeassistant-stubs/components/history_stats/data.pyi +1 -0
- homeassistant-stubs/components/homeassistant_hardware/firmware_config_flow.pyi +4 -3
- homeassistant-stubs/components/homeassistant_hardware/silabs_multiprotocol_addon.pyi +0 -1
- homeassistant-stubs/components/homekit/config_flow.pyi +1 -2
- homeassistant-stubs/components/homewizard/button.pyi +2 -0
- homeassistant-stubs/components/homewizard/config_flow.pyi +5 -1
- homeassistant-stubs/components/homewizard/const.pyi +1 -1
- homeassistant-stubs/components/homewizard/coordinator.pyi +3 -3
- homeassistant-stubs/components/homewizard/number.pyi +2 -0
- homeassistant-stubs/components/homewizard/sensor.pyi +1 -1
- homeassistant-stubs/components/homewizard/switch.pyi +4 -2
- homeassistant-stubs/components/huawei_lte/config_flow.pyi +0 -2
- homeassistant-stubs/components/husqvarna_automower/api.pyi +6 -0
- homeassistant-stubs/components/husqvarna_automower/binary_sensor.pyi +7 -0
- homeassistant-stubs/components/husqvarna_automower/button.pyi +1 -0
- homeassistant-stubs/components/husqvarna_automower/config_flow.pyi +2 -1
- homeassistant-stubs/components/husqvarna_automower/lawn_mower.pyi +2 -1
- homeassistant-stubs/components/husqvarna_automower/number.pyi +1 -0
- homeassistant-stubs/components/husqvarna_automower/select.pyi +1 -0
- homeassistant-stubs/components/husqvarna_automower/switch.pyi +1 -0
- homeassistant-stubs/components/hydrawise/sensor.pyi +2 -9
- homeassistant-stubs/components/hyperion/config_flow.pyi +0 -2
- homeassistant-stubs/components/ibeacon/config_flow.pyi +0 -3
- homeassistant-stubs/components/imap/config_flow.pyi +3 -3
- homeassistant-stubs/components/imap/sensor.pyi +1 -1
- homeassistant-stubs/components/intent/timers.pyi +6 -0
- homeassistant-stubs/components/islamic_prayer_times/config_flow.pyi +0 -3
- homeassistant-stubs/components/isy994/config_flow.pyi +0 -2
- homeassistant-stubs/components/jellyfin/config_flow.pyi +3 -3
- homeassistant-stubs/components/jewish_calendar/__init__.pyi +6 -17
- homeassistant-stubs/components/jewish_calendar/binary_sensor.pyi +2 -4
- homeassistant-stubs/components/jewish_calendar/config_flow.pyi +3 -4
- homeassistant-stubs/components/jewish_calendar/entity.pyi +15 -4
- homeassistant-stubs/components/jewish_calendar/sensor.pyi +3 -5
- homeassistant-stubs/components/knx/__init__.pyi +1 -1
- homeassistant-stubs/components/knx/config_flow.pyi +0 -1
- homeassistant-stubs/components/knx/light.pyi +3 -3
- homeassistant-stubs/components/knx/telegrams.pyi +1 -0
- homeassistant-stubs/components/knx/websocket.pyi +1 -0
- homeassistant-stubs/components/kraken/config_flow.pyi +0 -3
- homeassistant-stubs/components/lamarzocco/__init__.pyi +1 -1
- homeassistant-stubs/components/lamarzocco/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/lamarzocco/button.pyi +7 -3
- homeassistant-stubs/components/lamarzocco/calendar.pyi +1 -1
- homeassistant-stubs/components/lamarzocco/config_flow.pyi +10 -6
- homeassistant-stubs/components/lamarzocco/coordinator.pyi +3 -3
- homeassistant-stubs/components/lamarzocco/diagnostics.pyi +1 -1
- homeassistant-stubs/components/lamarzocco/entity.pyi +3 -2
- homeassistant-stubs/components/lamarzocco/number.pyi +5 -3
- homeassistant-stubs/components/lamarzocco/select.pyi +3 -2
- homeassistant-stubs/components/lamarzocco/sensor.pyi +1 -1
- homeassistant-stubs/components/lamarzocco/switch.pyi +4 -2
- homeassistant-stubs/components/lamarzocco/update.pyi +3 -1
- homeassistant-stubs/components/lcn/__init__.pyi +4 -4
- homeassistant-stubs/components/lcn/config_flow.pyi +0 -4
- homeassistant-stubs/components/lcn/helpers.pyi +2 -4
- homeassistant-stubs/components/lcn/schemas.pyi +2 -13
- homeassistant-stubs/components/lcn/services.pyi +2 -0
- homeassistant-stubs/components/lektrico/binary_sensor.pyi +27 -0
- homeassistant-stubs/components/linkplay/button.pyi +28 -0
- homeassistant-stubs/components/linkplay/diagnostics.pyi +5 -0
- homeassistant-stubs/components/linkplay/entity.pyi +16 -0
- homeassistant-stubs/components/linkplay/media_player.pyi +3 -8
- homeassistant-stubs/components/linkplay/utils.pyi +12 -0
- homeassistant-stubs/components/litejet/config_flow.pyi +0 -3
- homeassistant-stubs/components/matter/adapter.pyi +1 -0
- homeassistant-stubs/components/matter/const.pyi +1 -0
- homeassistant-stubs/components/matter/discovery.pyi +1 -0
- homeassistant-stubs/components/matter/entity.pyi +2 -1
- homeassistant-stubs/components/matter/models.pyi +4 -2
- homeassistant-stubs/components/media_extractor/__init__.pyi +1 -2
- homeassistant-stubs/components/media_extractor/config_flow.pyi +0 -1
- homeassistant-stubs/components/mikrotik/config_flow.pyi +0 -3
- homeassistant-stubs/components/mjpeg/config_flow.pyi +0 -3
- homeassistant-stubs/components/mold_indicator/sensor.pyi +3 -5
- homeassistant-stubs/components/monzo/coordinator.pyi +1 -1
- homeassistant-stubs/components/mopeka/config_flow.pyi +0 -2
- homeassistant-stubs/components/mqtt/__init__.pyi +1 -0
- 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/climate.pyi +1 -0
- homeassistant-stubs/components/mqtt/config_flow.pyi +3 -4
- homeassistant-stubs/components/mqtt/cover.pyi +1 -0
- homeassistant-stubs/components/mqtt/device_tracker.pyi +1 -0
- homeassistant-stubs/components/mqtt/entity.pyi +1 -0
- homeassistant-stubs/components/mqtt/event.pyi +1 -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/lawn_mower.pyi +1 -0
- homeassistant-stubs/components/mqtt/light/__init__.pyi +2 -0
- homeassistant-stubs/components/mqtt/lock.pyi +1 -0
- homeassistant-stubs/components/mqtt/notify.pyi +1 -0
- homeassistant-stubs/components/mqtt/number.pyi +1 -0
- homeassistant-stubs/components/mqtt/scene.pyi +1 -0
- homeassistant-stubs/components/mqtt/select.pyi +1 -0
- homeassistant-stubs/components/mqtt/sensor.pyi +1 -0
- homeassistant-stubs/components/mqtt/siren.pyi +1 -0
- homeassistant-stubs/components/mqtt/subscription.pyi +1 -1
- homeassistant-stubs/components/mqtt/switch.pyi +1 -0
- homeassistant-stubs/components/mqtt/text.pyi +1 -0
- homeassistant-stubs/components/mqtt/update.pyi +1 -0
- homeassistant-stubs/components/mqtt/vacuum.pyi +1 -0
- homeassistant-stubs/components/mqtt/valve.pyi +1 -0
- homeassistant-stubs/components/mqtt/water_heater.pyi +1 -0
- homeassistant-stubs/components/music_assistant/__init__.pyi +27 -0
- homeassistant-stubs/components/music_assistant/config_flow.pyi +24 -0
- homeassistant-stubs/components/music_assistant/const.pyi +12 -0
- homeassistant-stubs/components/music_assistant/entity.pyi +24 -0
- homeassistant-stubs/components/music_assistant/media_browser.pyi +33 -0
- homeassistant-stubs/components/music_assistant/media_player.pyi +96 -0
- homeassistant-stubs/components/nasweb/__init__.pyi +19 -0
- homeassistant-stubs/components/nasweb/config_flow.pyi +27 -0
- homeassistant-stubs/components/nasweb/const.pyi +5 -0
- homeassistant-stubs/components/nasweb/coordinator.pyi +42 -0
- homeassistant-stubs/components/nasweb/nasweb_data.pyi +20 -0
- homeassistant-stubs/components/nasweb/switch.pyi +35 -0
- homeassistant-stubs/components/nest/camera.pyi +3 -5
- homeassistant-stubs/components/netatmo/config_flow.pyi +0 -1
- homeassistant-stubs/components/nightscout/sensor.pyi +4 -3
- homeassistant-stubs/components/nordpool/__init__.pyi +9 -0
- homeassistant-stubs/components/nordpool/config_flow.pyi +19 -0
- homeassistant-stubs/components/nordpool/const.pyi +9 -0
- homeassistant-stubs/components/nordpool/coordinator.pyi +20 -0
- homeassistant-stubs/components/nordpool/diagnostics.pyi +5 -0
- homeassistant-stubs/components/nordpool/entity.pyi +14 -0
- homeassistant-stubs/components/nordpool/sensor.pyi +69 -0
- homeassistant-stubs/components/number/const.pyi +3 -1
- homeassistant-stubs/components/nut/__init__.pyi +4 -1
- homeassistant-stubs/components/nut/config_flow.pyi +0 -2
- homeassistant-stubs/components/nut/sensor.pyi +1 -1
- homeassistant-stubs/components/onewire/config_flow.pyi +4 -2
- homeassistant-stubs/components/onkyo/config_flow.pyi +3 -2
- homeassistant-stubs/components/openai_conversation/config_flow.pyi +0 -1
- homeassistant-stubs/components/opensky/config_flow.pyi +3 -3
- homeassistant-stubs/components/p1_monitor/__init__.pyi +3 -3
- homeassistant-stubs/components/p1_monitor/diagnostics.pyi +1 -2
- homeassistant-stubs/components/p1_monitor/sensor.pyi +1 -1
- homeassistant-stubs/components/ping/__init__.pyi +2 -6
- homeassistant-stubs/components/ping/config_flow.pyi +2 -2
- homeassistant-stubs/components/plugwise/climate.pyi +4 -2
- homeassistant-stubs/components/plugwise/entity.pyi +2 -2
- homeassistant-stubs/components/plugwise/number.pyi +2 -2
- homeassistant-stubs/components/plugwise/select.pyi +2 -1
- homeassistant-stubs/components/proximity/config_flow.pyi +0 -3
- homeassistant-stubs/components/pure_energie/__init__.pyi +4 -5
- homeassistant-stubs/components/pure_energie/diagnostics.pyi +2 -4
- homeassistant-stubs/components/pure_energie/sensor.pyi +3 -3
- homeassistant-stubs/components/purpleair/config_flow.pyi +1 -2
- homeassistant-stubs/components/rainmachine/config_flow.pyi +0 -3
- homeassistant-stubs/components/recollect_waste/config_flow.pyi +1 -3
- homeassistant-stubs/components/recorder/core.pyi +1 -0
- homeassistant-stubs/components/recorder/history/legacy.pyi +4 -4
- homeassistant-stubs/components/recorder/history/modern.pyi +2 -2
- homeassistant-stubs/components/recorder/pool.pyi +1 -1
- homeassistant-stubs/components/recorder/queries.pyi +1 -0
- homeassistant-stubs/components/recorder/statistics.pyi +1 -1
- homeassistant-stubs/components/recorder/table_managers/states.pyi +7 -0
- homeassistant-stubs/components/recorder/websocket_api.pyi +1 -1
- homeassistant-stubs/components/renault/config_flow.pyi +4 -5
- homeassistant-stubs/components/renault/services.pyi +1 -0
- homeassistant-stubs/components/reolink/__init__.pyi +28 -0
- homeassistant-stubs/components/reolink/binary_sensor.pyi +34 -0
- homeassistant-stubs/components/reolink/button.pyi +48 -0
- homeassistant-stubs/components/reolink/camera.pyi +28 -0
- homeassistant-stubs/components/reolink/config_flow.pyi +35 -0
- homeassistant-stubs/components/reolink/const.pyi +2 -0
- homeassistant-stubs/components/reolink/diagnostics.pyi +5 -0
- homeassistant-stubs/components/reolink/entity.pyi +69 -0
- homeassistant-stubs/components/reolink/exceptions.pyi +7 -0
- homeassistant-stubs/components/reolink/host.pyi +82 -0
- homeassistant-stubs/components/reolink/light.pyi +55 -0
- homeassistant-stubs/components/reolink/media_source.pyi +27 -0
- homeassistant-stubs/components/reolink/number.pyi +69 -0
- homeassistant-stubs/components/reolink/select.pyi +54 -0
- homeassistant-stubs/components/reolink/sensor.pyi +55 -0
- homeassistant-stubs/components/reolink/services.pyi +12 -0
- homeassistant-stubs/components/reolink/siren.pyi +26 -0
- homeassistant-stubs/components/reolink/switch.pyi +65 -0
- homeassistant-stubs/components/reolink/update.pyi +71 -0
- homeassistant-stubs/components/reolink/util.pyi +18 -0
- homeassistant-stubs/components/rfxtrx/config_flow.pyi +2 -3
- homeassistant-stubs/components/ring/__init__.pyi +0 -1
- homeassistant-stubs/components/ring/camera.pyi +22 -6
- homeassistant-stubs/components/rituals_perfume_genie/select.pyi +1 -1
- homeassistant-stubs/components/roborock/config_flow.pyi +5 -3
- homeassistant-stubs/components/roborock/sensor.pyi +1 -1
- homeassistant-stubs/components/roku/config_flow.pyi +3 -3
- homeassistant-stubs/components/romy/sensor.pyi +1 -1
- homeassistant-stubs/components/rtsp_to_webrtc/__init__.pyi +1 -0
- homeassistant-stubs/components/rtsp_to_webrtc/config_flow.pyi +0 -2
- homeassistant-stubs/components/sensor/const.pyi +4 -2
- homeassistant-stubs/components/sensor/device_condition.pyi +2 -0
- homeassistant-stubs/components/sensor/device_trigger.pyi +2 -0
- homeassistant-stubs/components/shelly/config_flow.pyi +0 -2
- homeassistant-stubs/components/shelly/update.pyi +4 -1
- homeassistant-stubs/components/simplisafe/config_flow.pyi +0 -2
- homeassistant-stubs/components/smlight/config_flow.pyi +1 -1
- homeassistant-stubs/components/solarlog/coordinator.pyi +1 -0
- homeassistant-stubs/components/sonarr/config_flow.pyi +0 -2
- homeassistant-stubs/components/speedtestdotnet/config_flow.pyi +1 -2
- homeassistant-stubs/components/spotify/browse_media.pyi +2 -2
- homeassistant-stubs/components/spotify/coordinator.pyi +2 -4
- homeassistant-stubs/components/sql/config_flow.pyi +2 -2
- homeassistant-stubs/components/statistics/sensor.pyi +2 -4
- homeassistant-stubs/components/stookwijzer/__init__.pyi +15 -0
- homeassistant-stubs/components/stookwijzer/config_flow.pyi +10 -0
- homeassistant-stubs/components/stookwijzer/const.pyi +5 -0
- homeassistant-stubs/components/stookwijzer/coordinator.pyi +15 -0
- homeassistant-stubs/components/stookwijzer/diagnostics.pyi +5 -0
- homeassistant-stubs/components/stookwijzer/sensor.pyi +31 -0
- homeassistant-stubs/components/stream/const.pyi +3 -2
- homeassistant-stubs/components/stream/core.pyi +2 -2
- homeassistant-stubs/components/stream/worker.pyi +15 -13
- homeassistant-stubs/components/suez_water/__init__.pyi +3 -3
- homeassistant-stubs/components/suez_water/config_flow.pyi +2 -1
- homeassistant-stubs/components/suez_water/const.pyi +3 -0
- homeassistant-stubs/components/suez_water/coordinator.pyi +35 -0
- homeassistant-stubs/components/suez_water/sensor.pyi +23 -17
- homeassistant-stubs/components/switchbot_cloud/sensor.pyi +3 -1
- homeassistant-stubs/components/switcher_kis/button.pyi +1 -1
- homeassistant-stubs/components/switcher_kis/cover.pyi +1 -1
- homeassistant-stubs/components/switcher_kis/light.pyi +1 -1
- homeassistant-stubs/components/switcher_kis/sensor.pyi +2 -0
- homeassistant-stubs/components/synology_dsm/config_flow.pyi +0 -2
- homeassistant-stubs/components/tedee/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/tedee/coordinator.pyi +2 -2
- homeassistant-stubs/components/tedee/entity.pyi +1 -1
- homeassistant-stubs/components/tedee/lock.pyi +3 -1
- homeassistant-stubs/components/tedee/sensor.pyi +1 -1
- homeassistant-stubs/components/thethingsnetwork/__init__.pyi +1 -4
- homeassistant-stubs/components/threshold/binary_sensor.pyi +4 -0
- homeassistant-stubs/components/tibber/__init__.pyi +1 -2
- homeassistant-stubs/components/tibber/notify.pyi +1 -10
- homeassistant-stubs/components/tod/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/tolo/config_flow.pyi +1 -1
- homeassistant-stubs/components/tplink/__init__.pyi +1 -1
- homeassistant-stubs/components/tplink/config_flow.pyi +6 -3
- homeassistant-stubs/components/tplink_omada/__init__.pyi +2 -2
- homeassistant-stubs/components/trafikverket_camera/config_flow.pyi +1 -1
- homeassistant-stubs/components/trafikverket_camera/coordinator.pyi +2 -3
- homeassistant-stubs/components/trafikverket_train/__init__.pyi +3 -0
- homeassistant-stubs/components/trafikverket_train/config_flow.pyi +4 -3
- homeassistant-stubs/components/trafikverket_train/util.pyi +1 -2
- homeassistant-stubs/components/transmission/config_flow.pyi +0 -2
- homeassistant-stubs/components/trend/binary_sensor.pyi +1 -0
- homeassistant-stubs/components/tts/__init__.pyi +3 -1
- homeassistant-stubs/components/unifi/config_flow.pyi +2 -3
- homeassistant-stubs/components/unifiprotect/__init__.pyi +1 -1
- homeassistant-stubs/components/unifiprotect/config_flow.pyi +0 -2
- homeassistant-stubs/components/unifiprotect/const.pyi +5 -0
- homeassistant-stubs/components/unifiprotect/event.pyi +17 -4
- homeassistant-stubs/components/unifiprotect/views.pyi +7 -1
- homeassistant-stubs/components/upcloud/config_flow.pyi +0 -2
- homeassistant-stubs/components/watttime/config_flow.pyi +1 -3
- homeassistant-stubs/components/webostv/config_flow.pyi +0 -2
- homeassistant-stubs/components/websocket_api/http.pyi +2 -1
- homeassistant-stubs/components/wemo/config_flow.pyi +0 -3
- homeassistant-stubs/components/wled/config_flow.pyi +2 -2
- homeassistant-stubs/components/workday/config_flow.pyi +2 -2
- homeassistant-stubs/components/yale_smart_alarm/config_flow.pyi +5 -3
- homeassistant-stubs/components/yalexs_ble/config_flow.pyi +0 -2
- homeassistant-stubs/components/youtube/config_flow.pyi +2 -2
- homeassistant-stubs/components/zeroconf/usage.pyi +1 -1
- homeassistant-stubs/components/zwave_js/__init__.pyi +1 -1
- homeassistant-stubs/components/zwave_js/api.pyi +9 -1
- homeassistant-stubs/components/zwave_js/config_flow.pyi +1 -2
- homeassistant-stubs/components/zwave_js/const.pyi +1 -0
- homeassistant-stubs/config_entries.pyi +15 -7
- homeassistant-stubs/const.pyi +26 -1
- homeassistant-stubs/core_config.pyi +1 -1
- homeassistant-stubs/data_entry_flow.pyi +3 -3
- homeassistant-stubs/helpers/device_registry.pyi +0 -1
- homeassistant-stubs/helpers/entity.pyi +1 -0
- homeassistant-stubs/helpers/entity_platform.pyi +1 -0
- homeassistant-stubs/helpers/frame.pyi +12 -3
- homeassistant-stubs/helpers/intent.pyi +1 -0
- homeassistant-stubs/helpers/llm.pyi +2 -3
- homeassistant-stubs/helpers/restore_state.pyi +0 -3
- homeassistant-stubs/helpers/schema_config_entry_flow.pyi +5 -2
- homeassistant-stubs/helpers/trigger_template_entity.pyi +1 -1
- homeassistant-stubs/helpers/update_coordinator.pyi +3 -3
- homeassistant-stubs/loader.pyi +1 -0
- homeassistant-stubs/runner.pyi +0 -4
- homeassistant-stubs/util/json.pyi +3 -3
- homeassistant-stubs/util/unit_conversion.pyi +20 -1
- homeassistant-stubs/util/unit_system.pyi +7 -4
- homeassistant-stubs/util/yaml/loader.pyi +0 -19
- {homeassistant_stubs-2024.11.2.dist-info → homeassistant_stubs-2024.12.0.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2024.11.2.dist-info → homeassistant_stubs-2024.12.0.dist-info}/RECORD +392 -337
- homeassistant-stubs/components/spotify/sensor.pyi +0 -31
- {homeassistant_stubs-2024.11.2.dist-info → homeassistant_stubs-2024.12.0.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2024.11.2.dist-info → homeassistant_stubs-2024.12.0.dist-info}/licenses/LICENSE +0 -0
@@ -8,7 +8,7 @@ from typing import Any
|
|
8
8
|
_LOGGER: Incomplete
|
9
9
|
STEP_USER_DATA_SCHEMA: Incomplete
|
10
10
|
|
11
|
-
def validate_input(data: dict[str, Any]) -> None: ...
|
11
|
+
async def validate_input(data: dict[str, Any]) -> None: ...
|
12
12
|
|
13
13
|
class SuezWaterConfigFlow(ConfigFlow, domain=DOMAIN):
|
14
14
|
VERSION: int
|
@@ -16,3 +16,4 @@ class SuezWaterConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
16
16
|
|
17
17
|
class CannotConnect(HomeAssistantError): ...
|
18
18
|
class InvalidAuth(HomeAssistantError): ...
|
19
|
+
class CounterNotFound(HomeAssistantError): ...
|
@@ -0,0 +1,35 @@
|
|
1
|
+
from .const import CONF_COUNTER_ID as CONF_COUNTER_ID, DATA_REFRESH_INTERVAL as DATA_REFRESH_INTERVAL, DOMAIN as DOMAIN
|
2
|
+
from collections.abc import Mapping
|
3
|
+
from dataclasses import dataclass
|
4
|
+
from datetime import date
|
5
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
|
+
from homeassistant.const import CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME
|
7
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, _LOGGER as _LOGGER
|
8
|
+
from homeassistant.exceptions import ConfigEntryError as ConfigEntryError
|
9
|
+
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
10
|
+
from pysuez import SuezClient
|
11
|
+
from typing import Any
|
12
|
+
|
13
|
+
@dataclass
|
14
|
+
class SuezWaterAggregatedAttributes:
|
15
|
+
this_month_consumption: dict[date, float]
|
16
|
+
previous_month_consumption: dict[date, float]
|
17
|
+
last_year_overall: dict[str, float]
|
18
|
+
this_year_overall: dict[str, float]
|
19
|
+
history: dict[date, float]
|
20
|
+
highest_monthly_consumption: float
|
21
|
+
def __init__(self, this_month_consumption, previous_month_consumption, last_year_overall, this_year_overall, history, highest_monthly_consumption) -> None: ...
|
22
|
+
|
23
|
+
@dataclass
|
24
|
+
class SuezWaterData:
|
25
|
+
aggregated_value: float
|
26
|
+
aggregated_attr: Mapping[str, Any]
|
27
|
+
price: float
|
28
|
+
def __init__(self, aggregated_value, aggregated_attr, price) -> None: ...
|
29
|
+
|
30
|
+
class SuezWaterCoordinator(DataUpdateCoordinator[SuezWaterData]):
|
31
|
+
_suez_client: SuezClient
|
32
|
+
config_entry: ConfigEntry
|
33
|
+
def __init__(self, hass: HomeAssistant, config_entry: ConfigEntry) -> None: ...
|
34
|
+
async def _async_setup(self) -> None: ...
|
35
|
+
async def _async_update_data(self) -> SuezWaterData: ...
|
@@ -1,30 +1,36 @@
|
|
1
1
|
from .const import CONF_COUNTER_ID as CONF_COUNTER_ID, DOMAIN as DOMAIN
|
2
|
+
from .coordinator import SuezWaterCoordinator as SuezWaterCoordinator, SuezWaterData as SuezWaterData
|
2
3
|
from _typeshed import Incomplete
|
3
|
-
from
|
4
|
+
from collections.abc import Callable as Callable, Mapping
|
5
|
+
from dataclasses import dataclass
|
6
|
+
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription
|
4
7
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
|
-
from homeassistant.const import UnitOfVolume as UnitOfVolume
|
8
|
+
from homeassistant.const import CURRENCY_EURO as CURRENCY_EURO, UnitOfVolume as UnitOfVolume
|
6
9
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
10
|
from homeassistant.helpers.device_registry import DeviceEntryType as DeviceEntryType, DeviceInfo as DeviceInfo
|
8
11
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
9
|
-
from
|
12
|
+
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
13
|
+
from pysuez.const import ATTRIBUTION
|
14
|
+
from typing import Any
|
10
15
|
|
11
|
-
|
12
|
-
|
16
|
+
@dataclass(frozen=True, kw_only=True)
|
17
|
+
class SuezWaterSensorEntityDescription(SensorEntityDescription):
|
18
|
+
value_fn: Callable[[SuezWaterData], float | str | None]
|
19
|
+
attr_fn: Callable[[SuezWaterData], Mapping[str, Any] | None] = ...
|
20
|
+
def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., last_reset=..., native_unit_of_measurement=..., options=..., state_class=..., suggested_display_precision=..., suggested_unit_of_measurement=..., value_fn, attr_fn=...) -> None: ...
|
21
|
+
|
22
|
+
SENSORS: tuple[SuezWaterSensorEntityDescription, ...]
|
13
23
|
|
14
24
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
15
25
|
|
16
|
-
class
|
26
|
+
class SuezWaterSensor(CoordinatorEntity[SuezWaterCoordinator], SensorEntity):
|
17
27
|
_attr_has_entity_name: bool
|
18
|
-
|
19
|
-
|
20
|
-
_attr_device_class: Incomplete
|
21
|
-
client: Incomplete
|
22
|
-
_attr_extra_state_attributes: Incomplete
|
28
|
+
_attr_attribution = ATTRIBUTION
|
29
|
+
entity_description: SuezWaterSensorEntityDescription
|
23
30
|
_attr_unique_id: Incomplete
|
24
31
|
_attr_device_info: Incomplete
|
25
|
-
def __init__(self,
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
def
|
30
|
-
def update(self) -> None: ...
|
32
|
+
def __init__(self, coordinator: SuezWaterCoordinator, counter_id: int, entity_description: SuezWaterSensorEntityDescription) -> None: ...
|
33
|
+
@property
|
34
|
+
def native_value(self) -> float | str | None: ...
|
35
|
+
@property
|
36
|
+
def extra_state_attributes(self) -> Mapping[str, Any] | None: ...
|
@@ -5,7 +5,7 @@ from .entity import SwitchBotCloudEntity as SwitchBotCloudEntity
|
|
5
5
|
from _typeshed import Incomplete
|
6
6
|
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
|
7
7
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
8
|
-
from homeassistant.const import PERCENTAGE as PERCENTAGE, UnitOfTemperature as UnitOfTemperature
|
8
|
+
from homeassistant.const import CONCENTRATION_PARTS_PER_MILLION as CONCENTRATION_PARTS_PER_MILLION, PERCENTAGE as PERCENTAGE, UnitOfTemperature as UnitOfTemperature
|
9
9
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
10
10
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
11
11
|
from switchbot_api import Device as Device, SwitchBotAPI as SwitchBotAPI
|
@@ -13,7 +13,9 @@ from switchbot_api import Device as Device, SwitchBotAPI as SwitchBotAPI
|
|
13
13
|
SENSOR_TYPE_TEMPERATURE: str
|
14
14
|
SENSOR_TYPE_HUMIDITY: str
|
15
15
|
SENSOR_TYPE_BATTERY: str
|
16
|
+
SENSOR_TYPE_CO2: str
|
16
17
|
METER_PLUS_SENSOR_DESCRIPTIONS: Incomplete
|
18
|
+
METER_PRO_CO2_SENSOR_DESCRIPTIONS: Incomplete
|
17
19
|
|
18
20
|
async def async_setup_entry(hass: HomeAssistant, config: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
19
21
|
|
@@ -4,7 +4,7 @@ from .coordinator import SwitcherDataUpdateCoordinator as SwitcherDataUpdateCoor
|
|
4
4
|
from .entity import SwitcherEntity as SwitcherEntity
|
5
5
|
from .utils import get_breeze_remote_manager as get_breeze_remote_manager
|
6
6
|
from _typeshed import Incomplete
|
7
|
-
from aioswitcher.api import SwitcherApi
|
7
|
+
from aioswitcher.api import SwitcherApi, SwitcherBaseResponse as SwitcherBaseResponse
|
8
8
|
from aioswitcher.api.remotes import SwitcherBreezeRemote
|
9
9
|
from collections.abc import Callable as Callable, Coroutine
|
10
10
|
from dataclasses import dataclass
|
@@ -39,7 +39,7 @@ class SwitcherSingleCoverEntity(SwitcherBaseCoverEntity):
|
|
39
39
|
_attr_unique_id: Incomplete
|
40
40
|
def __init__(self, coordinator: SwitcherDataUpdateCoordinator, cover_id: int) -> None: ...
|
41
41
|
|
42
|
-
class
|
42
|
+
class SwitcherMultiCoverEntity(SwitcherBaseCoverEntity):
|
43
43
|
_attr_translation_key: str
|
44
44
|
_cover_id: Incomplete
|
45
45
|
_attr_translation_placeholders: Incomplete
|
@@ -35,7 +35,7 @@ class SwitcherSingleLightEntity(SwitcherBaseLightEntity):
|
|
35
35
|
_attr_unique_id: Incomplete
|
36
36
|
def __init__(self, coordinator: SwitcherDataUpdateCoordinator, light_id: int) -> None: ...
|
37
37
|
|
38
|
-
class
|
38
|
+
class SwitcherMultiLightEntity(SwitcherBaseLightEntity):
|
39
39
|
_attr_translation_key: str
|
40
40
|
_light_id: Incomplete
|
41
41
|
control_result: Incomplete
|
@@ -12,8 +12,10 @@ from homeassistant.helpers.typing import StateType as StateType
|
|
12
12
|
|
13
13
|
POWER_SENSORS: list[SensorEntityDescription]
|
14
14
|
TIME_SENSORS: list[SensorEntityDescription]
|
15
|
+
TEMPERATURE_SENSORS: list[SensorEntityDescription]
|
15
16
|
POWER_PLUG_SENSORS = POWER_SENSORS
|
16
17
|
WATER_HEATER_SENSORS: Incomplete
|
18
|
+
THERMOSTAT_SENSORS = TEMPERATURE_SENSORS
|
17
19
|
|
18
20
|
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
19
21
|
|
@@ -44,8 +44,6 @@ class SynologyDSMFlowHandler(ConfigFlow, domain=DOMAIN):
|
|
44
44
|
def _async_get_existing_entry(self, discovered_mac: str) -> ConfigEntry | None: ...
|
45
45
|
|
46
46
|
class SynologyDSMOptionsFlowHandler(OptionsFlow):
|
47
|
-
config_entry: Incomplete
|
48
|
-
def __init__(self, config_entry: ConfigEntry) -> None: ...
|
49
47
|
async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
50
48
|
|
51
49
|
async def _login_and_fetch_syno_info(api: SynologyDSM, otp_code: str | None) -> str: ...
|
@@ -1,12 +1,12 @@
|
|
1
1
|
from .coordinator import TedeeConfigEntry as TedeeConfigEntry
|
2
2
|
from .entity import TedeeDescriptionEntity as TedeeDescriptionEntity
|
3
|
+
from aiotedee import TedeeLock as TedeeLock
|
3
4
|
from collections.abc import Callable as Callable
|
4
5
|
from dataclasses import dataclass
|
5
6
|
from homeassistant.components.binary_sensor import BinarySensorDeviceClass as BinarySensorDeviceClass, BinarySensorEntity as BinarySensorEntity, BinarySensorEntityDescription as BinarySensorEntityDescription
|
6
7
|
from homeassistant.const import EntityCategory as EntityCategory
|
7
8
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
8
9
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
9
|
-
from pytedee_async import TedeeLock as TedeeLock
|
10
10
|
|
11
11
|
@dataclass(frozen=True, kw_only=True)
|
12
12
|
class TedeeBinarySensorEntityDescription(BinarySensorEntityDescription):
|
@@ -1,5 +1,7 @@
|
|
1
1
|
from .const import CONF_LOCAL_ACCESS_TOKEN as CONF_LOCAL_ACCESS_TOKEN, DOMAIN as DOMAIN
|
2
2
|
from _typeshed import Incomplete
|
3
|
+
from aiotedee import TedeeLock
|
4
|
+
from aiotedee.bridge import TedeeBridge as TedeeBridge
|
3
5
|
from collections.abc import Awaitable, Callable as Callable
|
4
6
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
7
|
from homeassistant.const import CONF_HOST as CONF_HOST
|
@@ -7,8 +9,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
|
|
7
9
|
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed
|
8
10
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
9
11
|
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
10
|
-
from pytedee_async import TedeeLock
|
11
|
-
from pytedee_async.bridge import TedeeBridge as TedeeBridge
|
12
12
|
from typing import Any
|
13
13
|
|
14
14
|
SCAN_INTERVAL: Incomplete
|
@@ -1,11 +1,11 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
2
2
|
from .coordinator import TedeeApiCoordinator as TedeeApiCoordinator
|
3
3
|
from _typeshed import Incomplete
|
4
|
+
from aiotedee.lock import TedeeLock as TedeeLock
|
4
5
|
from homeassistant.core import callback as callback
|
5
6
|
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
6
7
|
from homeassistant.helpers.entity import EntityDescription as EntityDescription
|
7
8
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
8
|
-
from pytedee_async.lock import TedeeLock as TedeeLock
|
9
9
|
|
10
10
|
class TedeeEntity(CoordinatorEntity[TedeeApiCoordinator]):
|
11
11
|
_attr_has_entity_name: bool
|
@@ -2,13 +2,15 @@ from .const import DOMAIN as DOMAIN
|
|
2
2
|
from .coordinator import TedeeApiCoordinator as TedeeApiCoordinator, TedeeConfigEntry as TedeeConfigEntry
|
3
3
|
from .entity import TedeeEntity as TedeeEntity
|
4
4
|
from _typeshed import Incomplete
|
5
|
+
from aiotedee import TedeeLock as TedeeLock
|
5
6
|
from homeassistant.components.lock import LockEntity as LockEntity, LockEntityFeature as LockEntityFeature
|
6
7
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
8
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
8
9
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
9
|
-
from pytedee_async import TedeeLock as TedeeLock
|
10
10
|
from typing import Any
|
11
11
|
|
12
|
+
PARALLEL_UPDATES: int
|
13
|
+
|
12
14
|
async def async_setup_entry(hass: HomeAssistant, entry: TedeeConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
13
15
|
|
14
16
|
class TedeeLockEntity(TedeeEntity, LockEntity):
|
@@ -1,12 +1,12 @@
|
|
1
1
|
from .coordinator import TedeeConfigEntry as TedeeConfigEntry
|
2
2
|
from .entity import TedeeDescriptionEntity as TedeeDescriptionEntity
|
3
|
+
from aiotedee import TedeeLock as TedeeLock
|
3
4
|
from collections.abc import Callable as Callable
|
4
5
|
from dataclasses import dataclass
|
5
6
|
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
|
6
7
|
from homeassistant.const import EntityCategory as EntityCategory, PERCENTAGE as PERCENTAGE, UnitOfTime as UnitOfTime
|
7
8
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
8
9
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
9
|
-
from pytedee_async import TedeeLock as TedeeLock
|
10
10
|
|
11
11
|
@dataclass(frozen=True, kw_only=True)
|
12
12
|
class TedeeSensorEntityDescription(SensorEntityDescription):
|
@@ -1,14 +1,11 @@
|
|
1
|
-
from .const import
|
1
|
+
from .const import DOMAIN as DOMAIN, PLATFORMS as PLATFORMS, TTN_API_HOST as TTN_API_HOST
|
2
2
|
from .coordinator import TTNCoordinator as TTNCoordinator
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
5
|
from homeassistant.const import CONF_API_KEY as CONF_API_KEY, CONF_HOST as CONF_HOST
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
|
-
from homeassistant.helpers.typing import ConfigType as ConfigType
|
8
7
|
|
9
8
|
_LOGGER: Incomplete
|
10
|
-
CONFIG_SCHEMA: Incomplete
|
11
9
|
|
12
|
-
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
|
13
10
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
14
11
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
@@ -14,6 +14,9 @@ from typing import Any, Final
|
|
14
14
|
|
15
15
|
_LOGGER: Incomplete
|
16
16
|
DEFAULT_NAME: Final[str]
|
17
|
+
|
18
|
+
def no_missing_threshold(value: dict) -> dict: ...
|
19
|
+
|
17
20
|
PLATFORM_SCHEMA: Incomplete
|
18
21
|
|
19
22
|
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
@@ -22,6 +25,7 @@ def _threshold_type(lower: float | None, upper: float | None) -> str: ...
|
|
22
25
|
|
23
26
|
class ThresholdSensor(BinarySensorEntity):
|
24
27
|
_attr_should_poll: bool
|
28
|
+
_unrecorded_attributes: Incomplete
|
25
29
|
_preview_callback: Incomplete
|
26
30
|
_attr_unique_id: Incomplete
|
27
31
|
_attr_device_info: Incomplete
|
@@ -2,10 +2,9 @@ from .const import DATA_HASS_CONFIG as DATA_HASS_CONFIG, DOMAIN as DOMAIN
|
|
2
2
|
from .services import async_setup_services as async_setup_services
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
|
-
from homeassistant.const import CONF_ACCESS_TOKEN as CONF_ACCESS_TOKEN,
|
5
|
+
from homeassistant.const import CONF_ACCESS_TOKEN as CONF_ACCESS_TOKEN, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP, Platform as Platform
|
6
6
|
from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant
|
7
7
|
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
8
|
-
from homeassistant.helpers import discovery as discovery
|
9
8
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
10
9
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
11
10
|
|
@@ -1,23 +1,14 @@
|
|
1
1
|
from . import DOMAIN as TIBBER_DOMAIN
|
2
2
|
from _typeshed import Incomplete
|
3
|
-
from
|
4
|
-
from homeassistant.components.notify import ATTR_TITLE as ATTR_TITLE, ATTR_TITLE_DEFAULT as ATTR_TITLE_DEFAULT, BaseNotificationService as BaseNotificationService, NotifyEntity as NotifyEntity, NotifyEntityFeature as NotifyEntityFeature, migrate_notify_issue as migrate_notify_issue
|
3
|
+
from homeassistant.components.notify import ATTR_TITLE_DEFAULT as ATTR_TITLE_DEFAULT, NotifyEntity as NotifyEntity, NotifyEntityFeature as NotifyEntityFeature
|
5
4
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
6
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
8
7
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
9
|
-
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType
|
10
8
|
from tibber import Tibber as Tibber
|
11
|
-
from typing import Any
|
12
9
|
|
13
|
-
async def async_get_service(hass: HomeAssistant, config: ConfigType, discovery_info: DiscoveryInfoType | None = None) -> TibberNotificationService: ...
|
14
10
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
15
11
|
|
16
|
-
class TibberNotificationService(BaseNotificationService):
|
17
|
-
_notify: Incomplete
|
18
|
-
def __init__(self, notify: Callable) -> None: ...
|
19
|
-
async def async_send_message(self, message: str = '', **kwargs: Any) -> None: ...
|
20
|
-
|
21
12
|
class TibberNotificationEntity(NotifyEntity):
|
22
13
|
_attr_supported_features: Incomplete
|
23
14
|
_attr_name = TIBBER_DOMAIN
|
@@ -25,11 +25,11 @@ def _is_sun_event(sun_event: time | SunEventType) -> TypeGuard[SunEventType]: ..
|
|
25
25
|
|
26
26
|
class TodSensor(BinarySensorEntity):
|
27
27
|
_attr_should_poll: bool
|
28
|
+
_time_before: datetime
|
29
|
+
_time_after: datetime
|
30
|
+
_next_update: datetime
|
28
31
|
_attr_unique_id: Incomplete
|
29
32
|
_attr_name: Incomplete
|
30
|
-
_time_before: Incomplete
|
31
|
-
_time_after: Incomplete
|
32
|
-
_next_update: Incomplete
|
33
33
|
_after_offset: Incomplete
|
34
34
|
_before_offset: Incomplete
|
35
35
|
_before: Incomplete
|
@@ -10,7 +10,7 @@ _LOGGER: Incomplete
|
|
10
10
|
|
11
11
|
class ToloSaunaConfigFlow(ConfigFlow, domain=DOMAIN):
|
12
12
|
VERSION: int
|
13
|
-
_discovered_host: str
|
13
|
+
_discovered_host: str
|
14
14
|
@staticmethod
|
15
15
|
def _check_device_availability(host: str) -> bool: ...
|
16
16
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -7,7 +7,7 @@ from collections.abc import Iterable
|
|
7
7
|
from homeassistant import config_entries as config_entries
|
8
8
|
from homeassistant.components import network as network
|
9
9
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
10
|
-
from homeassistant.const import CONF_ALIAS as CONF_ALIAS, CONF_AUTHENTICATION as CONF_AUTHENTICATION, CONF_DEVICE as CONF_DEVICE, CONF_HOST as CONF_HOST, CONF_MAC as CONF_MAC, CONF_MODEL as CONF_MODEL, CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME
|
10
|
+
from homeassistant.const import CONF_ALIAS as CONF_ALIAS, CONF_AUTHENTICATION as CONF_AUTHENTICATION, CONF_DEVICE as CONF_DEVICE, CONF_HOST as CONF_HOST, CONF_MAC as CONF_MAC, CONF_MODEL as CONF_MODEL, CONF_PASSWORD as CONF_PASSWORD, CONF_PORT as CONF_PORT, CONF_USERNAME as CONF_USERNAME
|
11
11
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
12
12
|
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryNotReady as ConfigEntryNotReady
|
13
13
|
from homeassistant.helpers import device_registry as dr, discovery_flow as discovery_flow
|
@@ -4,7 +4,7 @@ from _typeshed import Incomplete
|
|
4
4
|
from collections.abc import Mapping
|
5
5
|
from homeassistant.components import dhcp as dhcp
|
6
6
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigEntryState as ConfigEntryState, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, SOURCE_REAUTH as SOURCE_REAUTH
|
7
|
-
from homeassistant.const import CONF_ALIAS as CONF_ALIAS, CONF_DEVICE as CONF_DEVICE, CONF_HOST as CONF_HOST, CONF_MAC as CONF_MAC, CONF_MODEL as CONF_MODEL, CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME
|
7
|
+
from homeassistant.const import CONF_ALIAS as CONF_ALIAS, CONF_DEVICE as CONF_DEVICE, CONF_HOST as CONF_HOST, CONF_MAC as CONF_MAC, CONF_MODEL as CONF_MODEL, CONF_PASSWORD as CONF_PASSWORD, CONF_PORT as CONF_PORT, CONF_USERNAME as CONF_USERNAME
|
8
8
|
from homeassistant.core import callback as callback
|
9
9
|
from homeassistant.helpers.typing import DiscoveryInfoType as DiscoveryInfoType
|
10
10
|
from kasa import Credentials, Device
|
@@ -17,6 +17,7 @@ class TPLinkConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
17
17
|
VERSION: int
|
18
18
|
MINOR_VERSION = CONF_CONFIG_ENTRY_MINOR_VERSION
|
19
19
|
host: str | None
|
20
|
+
port: int | None
|
20
21
|
_discovered_devices: Incomplete
|
21
22
|
_discovered_device: Incomplete
|
22
23
|
def __init__(self) -> None: ...
|
@@ -29,13 +30,15 @@ class TPLinkConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
29
30
|
async def async_step_discovery_auth_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
30
31
|
def _async_make_placeholders_from_discovery(self) -> dict[str, str]: ...
|
31
32
|
async def async_step_discovery_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
33
|
+
@staticmethod
|
34
|
+
def _async_get_host_port(host_str: str) -> tuple[str, int | None]: ...
|
32
35
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
33
36
|
async def async_step_user_auth_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
34
37
|
async def async_step_pick_device(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
35
38
|
async def _async_reload_requires_auth_entries(self) -> None: ...
|
36
39
|
def _async_create_entry_from_device(self, device: Device) -> ConfigFlowResult: ...
|
37
|
-
async def _async_try_connect_all(self, host: str, credentials: Credentials | None, raise_on_progress: bool) -> Device | None: ...
|
38
|
-
async def _async_try_discover_and_update(self, host: str, credentials: Credentials | None, raise_on_progress: bool, raise_on_timeout: bool) -> Device | None: ...
|
40
|
+
async def _async_try_connect_all(self, host: str, credentials: Credentials | None, raise_on_progress: bool, *, port: int | None = None) -> Device | None: ...
|
41
|
+
async def _async_try_discover_and_update(self, host: str, credentials: Credentials | None, raise_on_progress: bool, raise_on_timeout: bool, *, port: int | None = None) -> Device | None: ...
|
39
42
|
async def _async_try_connect(self, discovered_device: Device, credentials: Credentials | None) -> Device: ...
|
40
43
|
async def async_step_reauth(self, entry_data: Mapping[str, Any]) -> ConfigFlowResult: ...
|
41
44
|
async def async_step_reauth_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -1,9 +1,9 @@
|
|
1
1
|
from .config_flow import CONF_SITE as CONF_SITE, create_omada_client as create_omada_client
|
2
2
|
from .const import DOMAIN as DOMAIN
|
3
3
|
from .controller import OmadaSiteController as OmadaSiteController
|
4
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
4
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigEntryState as ConfigEntryState
|
5
5
|
from homeassistant.const import Platform as Platform
|
6
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, ServiceCall as ServiceCall
|
7
7
|
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryNotReady as ConfigEntryNotReady
|
8
8
|
from tplink_omada_client.devices import OmadaListDevice as OmadaListDevice
|
9
9
|
|
@@ -4,7 +4,7 @@ from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowRes
|
|
4
4
|
from homeassistant.const import CONF_API_KEY as CONF_API_KEY, CONF_ID as CONF_ID, CONF_LOCATION as CONF_LOCATION
|
5
5
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
6
6
|
from homeassistant.helpers.selector import SelectOptionDict as SelectOptionDict, SelectSelector as SelectSelector, SelectSelectorConfig as SelectSelectorConfig, SelectSelectorMode as SelectSelectorMode, TextSelector as TextSelector
|
7
|
-
from pytrafikverket
|
7
|
+
from pytrafikverket import CameraInfoModel as CameraInfoModel
|
8
8
|
from typing import Any
|
9
9
|
|
10
10
|
class TVCameraConfigFlow(ConfigFlow, domain=DOMAIN):
|
@@ -7,7 +7,7 @@ from homeassistant.core import HomeAssistant as HomeAssistant
|
|
7
7
|
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed
|
8
8
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
9
9
|
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
10
|
-
from pytrafikverket
|
10
|
+
from pytrafikverket import CameraInfoModel as CameraInfoModel
|
11
11
|
|
12
12
|
_LOGGER: Incomplete
|
13
13
|
TIME_BETWEEN_UPDATES: Incomplete
|
@@ -19,9 +19,8 @@ class CameraData:
|
|
19
19
|
def __init__(self, data, image) -> None: ...
|
20
20
|
|
21
21
|
class TVDataUpdateCoordinator(DataUpdateCoordinator[CameraData]):
|
22
|
-
config_entry: TVCameraConfigEntry
|
23
22
|
session: Incomplete
|
24
23
|
_camera_api: Incomplete
|
25
24
|
_id: Incomplete
|
26
|
-
def __init__(self, hass: HomeAssistant) -> None: ...
|
25
|
+
def __init__(self, hass: HomeAssistant, config_entry: TVCameraConfigEntry) -> None: ...
|
27
26
|
async def _async_update_data(self) -> CameraData: ...
|
@@ -1,10 +1,13 @@
|
|
1
1
|
from .const import PLATFORMS as PLATFORMS
|
2
2
|
from .coordinator import TVDataUpdateCoordinator as TVDataUpdateCoordinator
|
3
|
+
from _typeshed import Incomplete
|
3
4
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
4
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
5
6
|
|
6
7
|
TVTrainConfigEntry = ConfigEntry[TVDataUpdateCoordinator]
|
8
|
+
_LOGGER: Incomplete
|
7
9
|
|
8
10
|
async def async_setup_entry(hass: HomeAssistant, entry: TVTrainConfigEntry) -> bool: ...
|
9
11
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
10
12
|
async def update_listener(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
|
13
|
+
async def async_migrate_entry(hass: HomeAssistant, entry: TVTrainConfigEntry) -> bool: ...
|
@@ -1,8 +1,8 @@
|
|
1
1
|
from .const import CONF_FILTER_PRODUCT as CONF_FILTER_PRODUCT, CONF_FROM as CONF_FROM, CONF_TIME as CONF_TIME, CONF_TO as CONF_TO, DOMAIN as DOMAIN
|
2
|
-
from .util import
|
2
|
+
from .util import next_departuredate as next_departuredate
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from collections.abc import Mapping
|
5
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult,
|
5
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow
|
6
6
|
from homeassistant.const import CONF_API_KEY as CONF_API_KEY, CONF_NAME as CONF_NAME, CONF_WEEKDAY as CONF_WEEKDAY, WEEKDAYS as WEEKDAYS
|
7
7
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
8
8
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
@@ -18,11 +18,12 @@ async def validate_input(hass: HomeAssistant, api_key: str, train_from: str, tra
|
|
18
18
|
|
19
19
|
class TVTrainConfigFlow(ConfigFlow, domain=DOMAIN):
|
20
20
|
VERSION: int
|
21
|
+
MINOR_VERSION: int
|
21
22
|
@staticmethod
|
22
23
|
def async_get_options_flow(config_entry: ConfigEntry) -> TVTrainOptionsFlowHandler: ...
|
23
24
|
async def async_step_reauth(self, entry_data: Mapping[str, Any]) -> ConfigFlowResult: ...
|
24
25
|
async def async_step_reauth_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
25
26
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
26
27
|
|
27
|
-
class TVTrainOptionsFlowHandler(
|
28
|
+
class TVTrainOptionsFlowHandler(OptionsFlow):
|
28
29
|
async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -1,6 +1,5 @@
|
|
1
|
-
from datetime import date
|
1
|
+
from datetime import date
|
2
2
|
from homeassistant.const import WEEKDAYS as WEEKDAYS
|
3
3
|
|
4
|
-
def create_unique_id(from_station: str, to_station: str, depart_time: time | str | None, weekdays: list) -> str: ...
|
5
4
|
def next_weekday(fromdate: date, weekday: int) -> date: ...
|
6
5
|
def next_departuredate(departure: list[str]) -> date: ...
|
@@ -20,6 +20,4 @@ class TransmissionFlowHandler(ConfigFlow, domain=DOMAIN):
|
|
20
20
|
async def async_step_reauth_confirm(self, user_input: dict[str, str] | None = None) -> ConfigFlowResult: ...
|
21
21
|
|
22
22
|
class TransmissionOptionsFlowHandler(OptionsFlow):
|
23
|
-
config_entry: Incomplete
|
24
|
-
def __init__(self, config_entry: ConfigEntry) -> None: ...
|
25
23
|
async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -46,6 +46,7 @@ class SensorTrend(BinarySensorEntity, RestoreEntity):
|
|
46
46
|
def __init__(self, name: str, entity_id: str, attribute: str | None, invert: bool, sample_duration: int, min_gradient: float, min_samples: int, max_samples: int, unique_id: str | None = None, device_class: BinarySensorDeviceClass | None = None, sensor_entity_id: str | None = None, device_info: dr.DeviceInfo | None = None) -> None: ...
|
47
47
|
@property
|
48
48
|
def extra_state_attributes(self) -> Mapping[str, Any]: ...
|
49
|
+
_attr_available: bool
|
49
50
|
_attr_is_on: Incomplete
|
50
51
|
async def async_added_to_hass(self) -> None: ...
|
51
52
|
async def async_update(self) -> None: ...
|
@@ -58,6 +58,8 @@ class SpeechManager:
|
|
58
58
|
time_memory: Incomplete
|
59
59
|
file_cache: Incomplete
|
60
60
|
mem_cache: Incomplete
|
61
|
+
filename_to_token: Incomplete
|
62
|
+
token_to_filename: Incomplete
|
61
63
|
def __init__(self, hass: HomeAssistant, use_cache: bool, cache_dir: str, time_memory: int) -> None: ...
|
62
64
|
def _init_cache(self) -> dict[str, str]: ...
|
63
65
|
async def async_init_cache(self) -> None: ...
|
@@ -71,7 +73,7 @@ class SpeechManager:
|
|
71
73
|
async def _async_save_tts_audio(self, cache_key: str, filename: str, data: bytes) -> None: ...
|
72
74
|
async def _async_file_to_mem(self, cache_key: str) -> None: ...
|
73
75
|
def _async_store_to_memcache(self, cache_key: str, filename: str, data: bytes) -> None: ...
|
74
|
-
async def async_read_tts(self,
|
76
|
+
async def async_read_tts(self, token: str) -> tuple[str | None, bytes]: ...
|
75
77
|
@staticmethod
|
76
78
|
def write_tags(filename: str, data: bytes, engine_name: str, message: str, language: str, options: dict | None) -> bytes: ...
|
77
79
|
|
@@ -6,7 +6,7 @@ from _typeshed import Incomplete
|
|
6
6
|
from aiounifi.interfaces.sites import Sites as Sites
|
7
7
|
from collections.abc import Mapping
|
8
8
|
from homeassistant.components import ssdp as ssdp
|
9
|
-
from homeassistant.config_entries import
|
9
|
+
from homeassistant.config_entries import ConfigEntryState as ConfigEntryState, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow, SOURCE_REAUTH as SOURCE_REAUTH
|
10
10
|
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_PASSWORD as CONF_PASSWORD, CONF_PORT as CONF_PORT, CONF_USERNAME as CONF_USERNAME, CONF_VERIFY_SSL as CONF_VERIFY_SSL
|
11
11
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
12
12
|
from homeassistant.helpers.device_registry import format_mac as format_mac
|
@@ -21,7 +21,7 @@ class UnifiFlowHandler(ConfigFlow, domain=UNIFI_DOMAIN):
|
|
21
21
|
VERSION: int
|
22
22
|
sites: Sites
|
23
23
|
@staticmethod
|
24
|
-
def async_get_options_flow(config_entry:
|
24
|
+
def async_get_options_flow(config_entry: UnifiConfigEntry) -> UnifiOptionsFlowHandler: ...
|
25
25
|
config: Incomplete
|
26
26
|
reauth_schema: Incomplete
|
27
27
|
def __init__(self) -> None: ...
|
@@ -32,7 +32,6 @@ class UnifiFlowHandler(ConfigFlow, domain=UNIFI_DOMAIN):
|
|
32
32
|
|
33
33
|
class UnifiOptionsFlowHandler(OptionsFlow):
|
34
34
|
hub: UnifiHub
|
35
|
-
config_entry: Incomplete
|
36
35
|
options: Incomplete
|
37
36
|
def __init__(self, config_entry: UnifiConfigEntry) -> None: ...
|
38
37
|
async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -4,7 +4,7 @@ from .discovery import async_start_discovery as async_start_discovery
|
|
4
4
|
from .migrate import async_migrate_data as async_migrate_data
|
5
5
|
from .services import async_setup_services as async_setup_services
|
6
6
|
from .utils import _async_unifi_mac_from_hass as _async_unifi_mac_from_hass, async_create_api_client as async_create_api_client, async_get_devices as async_get_devices
|
7
|
-
from .views import ThumbnailProxyView as ThumbnailProxyView, VideoProxyView as VideoProxyView
|
7
|
+
from .views import ThumbnailProxyView as ThumbnailProxyView, VideoEventProxyView as VideoEventProxyView, VideoProxyView as VideoProxyView
|
8
8
|
from _typeshed import Incomplete
|
9
9
|
from homeassistant.const import EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP
|
10
10
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
@@ -41,6 +41,4 @@ class ProtectFlowHandler(ConfigFlow, domain=DOMAIN):
|
|
41
41
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
42
42
|
|
43
43
|
class OptionsFlowHandler(OptionsFlow):
|
44
|
-
config_entry: Incomplete
|
45
|
-
def __init__(self, config_entry: ConfigEntry) -> None: ...
|
46
44
|
async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -1,5 +1,6 @@
|
|
1
1
|
from _typeshed import Incomplete
|
2
2
|
from homeassistant.const import Platform as Platform
|
3
|
+
from typing import Final
|
3
4
|
|
4
5
|
DOMAIN: str
|
5
6
|
AUTH_RETRIES: int
|
@@ -34,3 +35,7 @@ PLATFORMS: Incomplete
|
|
34
35
|
DISPATCH_ADD: str
|
35
36
|
DISPATCH_ADOPT: str
|
36
37
|
DISPATCH_CHANNELS: str
|
38
|
+
EVENT_TYPE_FINGERPRINT_IDENTIFIED: Final[str]
|
39
|
+
EVENT_TYPE_FINGERPRINT_NOT_IDENTIFIED: Final[str]
|
40
|
+
EVENT_TYPE_NFC_SCANNED: Final[str]
|
41
|
+
EVENT_TYPE_DOORBELL_RING: Final[str]
|