homeassistant-stubs 2025.1.0b9__py3-none-any.whl → 2025.1.1__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/auth/__init__.pyi +2 -2
- homeassistant-stubs/auth/auth_store.pyi +4 -4
- homeassistant-stubs/auth/mfa_modules/notify.pyi +5 -5
- homeassistant-stubs/auth/mfa_modules/totp.pyi +1 -1
- homeassistant-stubs/auth/models.pyi +3 -0
- homeassistant-stubs/auth/providers/__init__.pyi +4 -4
- homeassistant-stubs/auth/providers/command_line.pyi +1 -1
- homeassistant-stubs/auth/providers/homeassistant.pyi +2 -2
- homeassistant-stubs/bootstrap.pyi +2 -1
- homeassistant-stubs/components/abode/camera.pyi +2 -1
- homeassistant-stubs/components/abode/config_flow.pyi +3 -3
- homeassistant-stubs/components/acaia/config_flow.pyi +2 -2
- homeassistant-stubs/components/acmeda/config_flow.pyi +1 -2
- homeassistant-stubs/components/acmeda/hub.pyi +4 -3
- homeassistant-stubs/components/actiontec/device_tracker.pyi +4 -4
- homeassistant-stubs/components/aftership/sensor.pyi +2 -2
- homeassistant-stubs/components/airgradient/config_flow.pyi +3 -2
- homeassistant-stubs/components/airgradient/update.pyi +2 -0
- homeassistant-stubs/components/airq/sensor.pyi +1 -1
- homeassistant-stubs/components/airthings_ble/config_flow.pyi +2 -2
- homeassistant-stubs/components/airvisual/config_flow.pyi +2 -2
- homeassistant-stubs/components/alarm_control_panel/__init__.pyi +6 -1
- homeassistant-stubs/components/alert/entity.pyi +1 -1
- homeassistant-stubs/components/alexa/auth.pyi +3 -2
- homeassistant-stubs/components/alexa/config.pyi +3 -3
- homeassistant-stubs/components/alexa/intent.pyi +5 -5
- homeassistant-stubs/components/alexa/resources.pyi +5 -5
- homeassistant-stubs/components/alexa/state_report.pyi +6 -6
- homeassistant-stubs/components/amazon_polly/tts.pyi +2 -2
- homeassistant-stubs/components/amberelectric/config_flow.pyi +3 -4
- homeassistant-stubs/components/ambient_network/config_flow.pyi +1 -2
- homeassistant-stubs/components/ambient_station/__init__.pyi +1 -1
- homeassistant-stubs/components/amcrest/__init__.pyi +1 -1
- homeassistant-stubs/components/amcrest/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/amcrest/camera.pyi +9 -8
- homeassistant-stubs/components/analytics/analytics.pyi +1 -1
- homeassistant-stubs/components/androidtv/config_flow.pyi +4 -4
- homeassistant-stubs/components/androidtv/media_player.pyi +8 -7
- homeassistant-stubs/components/androidtv_remote/config_flow.pyi +2 -2
- homeassistant-stubs/components/androidtv_remote/entity.pyi +2 -1
- homeassistant-stubs/components/androidtv_remote/media_player.pyi +2 -1
- homeassistant-stubs/components/anova/coordinator.pyi +1 -1
- homeassistant-stubs/components/apple_tv/config_flow.pyi +2 -2
- homeassistant-stubs/components/apple_tv/media_player.pyi +2 -2
- homeassistant-stubs/components/aranet/config_flow.pyi +3 -3
- homeassistant-stubs/components/arris_tg2492lg/device_tracker.pyi +1 -1
- homeassistant-stubs/components/aruba/device_tracker.pyi +4 -4
- homeassistant-stubs/components/assist_pipeline/audio_enhancer.pyi +4 -2
- homeassistant-stubs/components/assist_pipeline/pipeline.pyi +4 -4
- homeassistant-stubs/components/assist_satellite/entity.pyi +0 -1
- homeassistant-stubs/components/asuswrt/bridge.pyi +6 -6
- homeassistant-stubs/components/asuswrt/config_flow.pyi +1 -1
- homeassistant-stubs/components/asuswrt/router.pyi +8 -8
- homeassistant-stubs/components/auth/indieauth.pyi +1 -1
- homeassistant-stubs/components/automation/__init__.pyi +15 -1
- homeassistant-stubs/components/automation/trace.pyi +1 -2
- homeassistant-stubs/components/axis/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/axis/config_flow.pyi +2 -2
- homeassistant-stubs/components/axis/hub/entity_loader.pyi +3 -3
- homeassistant-stubs/components/axis/hub/hub.pyi +2 -1
- homeassistant-stubs/components/backup/agent.pyi +2 -0
- homeassistant-stubs/components/backup/backup.pyi +1 -1
- homeassistant-stubs/components/backup/manager.pyi +11 -11
- homeassistant-stubs/components/backup/store.pyi +1 -1
- homeassistant-stubs/components/baf/config_flow.pyi +1 -1
- homeassistant-stubs/components/bang_olufsen/entity.pyi +10 -9
- homeassistant-stubs/components/bang_olufsen/media_player.pyi +13 -13
- homeassistant-stubs/components/bayesian/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/binary_sensor/__init__.pyi +4 -2
- homeassistant-stubs/components/blue_current/__init__.pyi +3 -2
- homeassistant-stubs/components/blueprint/models.pyi +1 -1
- homeassistant-stubs/components/bluesound/config_flow.pyi +2 -2
- homeassistant-stubs/components/bluesound/media_player.pyi +10 -9
- homeassistant-stubs/components/bluetooth/active_update_coordinator.pyi +3 -3
- homeassistant-stubs/components/bluetooth/active_update_processor.pyi +2 -2
- homeassistant-stubs/components/bluetooth/config_flow.pyi +4 -4
- homeassistant-stubs/components/bluetooth/manager.pyi +1 -1
- homeassistant-stubs/components/bluetooth/match.pyi +13 -11
- homeassistant-stubs/components/bluetooth/passive_update_coordinator.pyi +1 -2
- homeassistant-stubs/components/bluetooth/passive_update_processor.pyi +4 -4
- homeassistant-stubs/components/bluetooth/storage.pyi +2 -3
- homeassistant-stubs/components/bluetooth/update_coordinator.pyi +1 -1
- homeassistant-stubs/components/bmw_connected_drive/config_flow.pyi +2 -2
- homeassistant-stubs/components/bmw_connected_drive/coordinator.pyi +1 -1
- homeassistant-stubs/components/bond/config_flow.pyi +1 -1
- homeassistant-stubs/components/bond/entity.pyi +1 -1
- homeassistant-stubs/components/bond/fan.pyi +3 -3
- homeassistant-stubs/components/bond/utils.pyi +5 -5
- homeassistant-stubs/components/braviatv/config_flow.pyi +3 -3
- homeassistant-stubs/components/braviatv/coordinator.pyi +14 -13
- homeassistant-stubs/components/brother/config_flow.pyi +3 -2
- homeassistant-stubs/components/bthome/config_flow.pyi +3 -4
- homeassistant-stubs/components/button/__init__.pyi +4 -2
- homeassistant-stubs/components/calendar/__init__.pyi +0 -1
- homeassistant-stubs/components/calendar/trigger.pyi +3 -3
- homeassistant-stubs/components/cambridge_audio/config_flow.pyi +1 -1
- homeassistant-stubs/components/camera/__init__.pyi +24 -9
- homeassistant-stubs/components/camera/prefs.pyi +1 -1
- homeassistant-stubs/components/canary/alarm_control_panel.pyi +1 -1
- homeassistant-stubs/components/canary/camera.pyi +3 -3
- homeassistant-stubs/components/cert_expiry/config_flow.pyi +1 -1
- homeassistant-stubs/components/cert_expiry/coordinator.pyi +1 -1
- homeassistant-stubs/components/clickatell/notify.pyi +2 -2
- homeassistant-stubs/components/clicksend/notify.pyi +4 -4
- homeassistant-stubs/components/climate/__init__.pyi +26 -1
- homeassistant-stubs/components/cloud/alexa_config.pyi +3 -3
- homeassistant-stubs/components/cloud/client.pyi +4 -4
- homeassistant-stubs/components/cloud/prefs.pyi +2 -2
- homeassistant-stubs/components/command_line/binary_sensor.pyi +2 -1
- homeassistant-stubs/components/command_line/cover.pyi +3 -2
- homeassistant-stubs/components/command_line/sensor.pyi +4 -3
- homeassistant-stubs/components/command_line/switch.pyi +2 -1
- homeassistant-stubs/components/configurator/__init__.pyi +1 -1
- homeassistant-stubs/components/counter/__init__.pyi +2 -2
- homeassistant-stubs/components/cover/__init__.pyi +8 -2
- homeassistant-stubs/components/crownstone/config_flow.pyi +4 -4
- homeassistant-stubs/components/crownstone/entry_manager.pyi +3 -2
- homeassistant-stubs/components/date/__init__.pyi +4 -1
- homeassistant-stubs/components/datetime/__init__.pyi +4 -1
- homeassistant-stubs/components/deconz/button.pyi +1 -1
- homeassistant-stubs/components/deconz/deconz_event.pyi +1 -1
- homeassistant-stubs/components/deconz/entity.pyi +1 -1
- homeassistant-stubs/components/deconz/hub/hub.pyi +6 -6
- homeassistant-stubs/components/deconz/light.pyi +2 -2
- homeassistant-stubs/components/demo/cover.pyi +4 -4
- homeassistant-stubs/components/demo/fan.pyi +4 -4
- homeassistant-stubs/components/demo/geo_location.pyi +1 -1
- homeassistant-stubs/components/demo/media_player.pyi +2 -2
- homeassistant-stubs/components/demo/remote.pyi +1 -1
- homeassistant-stubs/components/demo/vacuum.pyi +1 -1
- homeassistant-stubs/components/derivative/sensor.pyi +3 -2
- homeassistant-stubs/components/device_tracker/config_entry.pyi +10 -2
- homeassistant-stubs/components/device_tracker/legacy.pyi +6 -4
- homeassistant-stubs/components/devolo_home_control/entity.pyi +2 -2
- homeassistant-stubs/components/devolo_home_network/binary_sensor.pyi +1 -2
- homeassistant-stubs/components/devolo_home_network/image.pyi +1 -1
- homeassistant-stubs/components/devolo_home_network/update.pyi +1 -1
- homeassistant-stubs/components/dhcp/__init__.pyi +5 -3
- homeassistant-stubs/components/dlna_dmr/config_flow.pyi +7 -7
- homeassistant-stubs/components/dlna_dmr/media_player.pyi +1 -1
- homeassistant-stubs/components/dlna_dms/config_flow.pyi +4 -4
- homeassistant-stubs/components/dlna_dms/dms.pyi +2 -0
- homeassistant-stubs/components/doorbird/camera.pyi +1 -1
- homeassistant-stubs/components/doorbird/config_flow.pyi +1 -1
- homeassistant-stubs/components/doorbird/device.pyi +9 -3
- homeassistant-stubs/components/dormakaba_dkey/config_flow.pyi +4 -3
- homeassistant-stubs/components/dsmr/config_flow.pyi +1 -1
- homeassistant-stubs/components/dsmr/sensor.pyi +1 -1
- homeassistant-stubs/components/dunehd/media_player.pyi +2 -2
- homeassistant-stubs/components/ecovacs/controller.pyi +4 -4
- homeassistant-stubs/components/ecovacs/entity.pyi +3 -3
- homeassistant-stubs/components/ecovacs/vacuum.pyi +1 -1
- homeassistant-stubs/components/ecowitt/entity.pyi +1 -1
- homeassistant-stubs/components/eheimdigital/config_flow.pyi +1 -1
- homeassistant-stubs/components/eheimdigital/coordinator.pyi +2 -2
- homeassistant-stubs/components/electrasmart/config_flow.pyi +6 -5
- homeassistant-stubs/components/electric_kiwi/coordinator.pyi +1 -1
- homeassistant-stubs/components/elevenlabs/config_flow.pyi +5 -5
- homeassistant-stubs/components/elkm1/alarm_control_panel.pyi +5 -5
- homeassistant-stubs/components/elkm1/config_flow.pyi +2 -2
- homeassistant-stubs/components/elkm1/entity.pyi +1 -1
- homeassistant-stubs/components/emulated_hue/config.pyi +12 -12
- homeassistant-stubs/components/emulated_hue/upnp.pyi +1 -1
- homeassistant-stubs/components/energy/data.pyi +2 -2
- homeassistant-stubs/components/energy/sensor.pyi +3 -3
- homeassistant-stubs/components/enphase_envoy/config_flow.pyi +2 -2
- homeassistant-stubs/components/enphase_envoy/coordinator.pyi +1 -1
- homeassistant-stubs/components/esphome/assist_satellite.pyi +4 -4
- homeassistant-stubs/components/esphome/bluetooth.pyi +1 -2
- homeassistant-stubs/components/esphome/camera.pyi +2 -1
- homeassistant-stubs/components/esphome/config_flow.pyi +8 -8
- homeassistant-stubs/components/esphome/coordinator.pyi +1 -1
- homeassistant-stubs/components/esphome/dashboard.pyi +5 -4
- homeassistant-stubs/components/esphome/domain_data.pyi +1 -3
- homeassistant-stubs/components/esphome/entity.pyi +1 -1
- homeassistant-stubs/components/esphome/enum_mapper.pyi +1 -1
- homeassistant-stubs/components/esphome/manager.pyi +3 -3
- homeassistant-stubs/components/esphome/select.pyi +1 -1
- homeassistant-stubs/components/event/__init__.pyi +5 -3
- homeassistant-stubs/components/evohome/__init__.pyi +7 -5
- homeassistant-stubs/components/evohome/coordinator.pyi +1 -1
- homeassistant-stubs/components/evohome/entity.pyi +3 -3
- homeassistant-stubs/components/fan/__init__.pyi +8 -1
- homeassistant-stubs/components/feedreader/coordinator.pyi +6 -6
- homeassistant-stubs/components/filter/sensor.pyi +7 -6
- homeassistant-stubs/components/fitbit/api.pyi +1 -1
- homeassistant-stubs/components/flux_led/config_flow.pyi +2 -3
- homeassistant-stubs/components/flux_led/entity.pyi +2 -2
- homeassistant-stubs/components/flux_led/number.pyi +4 -2
- homeassistant-stubs/components/fritz/config_flow.pyi +1 -1
- homeassistant-stubs/components/fritz/coordinator.pyi +22 -19
- homeassistant-stubs/components/fritz/device_tracker.pyi +2 -1
- homeassistant-stubs/components/fritz/entity.pyi +3 -4
- homeassistant-stubs/components/fritz/image.pyi +1 -1
- homeassistant-stubs/components/fritz/switch.pyi +1 -1
- homeassistant-stubs/components/fritzbox/config_flow.pyi +3 -3
- homeassistant-stubs/components/fritzbox/coordinator.pyi +2 -2
- homeassistant-stubs/components/fritzbox/light.pyi +1 -1
- homeassistant-stubs/components/fritzbox_callmonitor/config_flow.pyi +1 -1
- homeassistant-stubs/components/fritzbox_callmonitor/sensor.pyi +4 -3
- homeassistant-stubs/components/fronius/__init__.pyi +8 -8
- homeassistant-stubs/components/fronius/config_flow.pyi +1 -1
- homeassistant-stubs/components/fronius/coordinator.pyi +1 -1
- homeassistant-stubs/components/frontend/__init__.pyi +4 -1
- homeassistant-stubs/components/fully_kiosk/config_flow.pyi +1 -2
- homeassistant-stubs/components/fully_kiosk/switch.pyi +2 -2
- homeassistant-stubs/components/fyta/coordinator.pyi +2 -2
- homeassistant-stubs/components/generic_hygrostat/humidifier.pyi +2 -2
- homeassistant-stubs/components/generic_thermostat/climate.pyi +1 -1
- homeassistant-stubs/components/geo_location/__init__.pyi +5 -0
- homeassistant-stubs/components/glances/coordinator.pyi +1 -1
- homeassistant-stubs/components/go2rtc/__init__.pyi +2 -2
- homeassistant-stubs/components/go2rtc/server.pyi +5 -4
- homeassistant-stubs/components/google/api.pyi +5 -5
- homeassistant-stubs/components/google/calendar.pyi +1 -1
- homeassistant-stubs/components/google/config_flow.pyi +1 -1
- homeassistant-stubs/components/google/coordinator.pyi +1 -1
- homeassistant-stubs/components/google/store.pyi +1 -1
- homeassistant-stubs/components/google_assistant_sdk/__init__.pyi +4 -3
- homeassistant-stubs/components/google_assistant_sdk/helpers.pyi +3 -3
- homeassistant-stubs/components/govee_ble/config_flow.pyi +4 -4
- homeassistant-stubs/components/govee_ble/coordinator.pyi +1 -1
- homeassistant-stubs/components/greeneye_monitor/sensor.pyi +5 -5
- homeassistant-stubs/components/group/cover.pyi +2 -2
- homeassistant-stubs/components/group/entity.pyi +5 -5
- homeassistant-stubs/components/group/fan.pyi +2 -2
- homeassistant-stubs/components/group/media_player.pyi +1 -1
- homeassistant-stubs/components/group/registry.pyi +4 -4
- homeassistant-stubs/components/group/sensor.pyi +4 -4
- homeassistant-stubs/components/guardian/__init__.pyi +2 -2
- homeassistant-stubs/components/guardian/config_flow.pyi +1 -1
- homeassistant-stubs/components/here_travel_time/config_flow.pyi +2 -2
- homeassistant-stubs/components/history_stats/coordinator.pyi +2 -2
- homeassistant-stubs/components/history_stats/data.pyi +2 -2
- homeassistant-stubs/components/holiday/config_flow.pyi +1 -1
- homeassistant-stubs/components/homeassistant/exposed_entities.pyi +2 -2
- homeassistant-stubs/components/homeassistant/repairs.pyi +1 -1
- homeassistant-stubs/components/homeassistant_hardware/firmware_config_flow.pyi +7 -5
- homeassistant-stubs/components/homeassistant_hardware/silabs_multiprotocol_addon.pyi +9 -9
- homeassistant-stubs/components/homeassistant_sky_connect/config_flow.pyi +2 -2
- homeassistant-stubs/components/homekit/__init__.pyi +7 -6
- homeassistant-stubs/components/homekit/accessories.pyi +2 -2
- homeassistant-stubs/components/homekit/aidmanager.pyi +3 -3
- homeassistant-stubs/components/homekit/config_flow.pyi +3 -3
- homeassistant-stubs/components/homekit/iidmanager.pyi +3 -3
- homeassistant-stubs/components/homekit/type_cameras.pyi +1 -1
- homeassistant-stubs/components/homekit/type_covers.pyi +1 -1
- homeassistant-stubs/components/homekit/type_fans.pyi +2 -2
- homeassistant-stubs/components/homekit/type_humidifiers.pyi +1 -1
- homeassistant-stubs/components/homekit/type_lights.pyi +2 -2
- homeassistant-stubs/components/homekit/type_media_players.pyi +2 -2
- homeassistant-stubs/components/homekit/type_remotes.pyi +2 -2
- homeassistant-stubs/components/homekit/type_switches.pyi +1 -1
- homeassistant-stubs/components/homekit/type_thermostats.pyi +3 -3
- homeassistant-stubs/components/homekit/type_triggers.pyi +1 -1
- homeassistant-stubs/components/homekit_controller/config_flow.pyi +7 -7
- homeassistant-stubs/components/homekit_controller/storage.pyi +1 -1
- homeassistant-stubs/components/http/__init__.pyi +3 -3
- homeassistant-stubs/components/http/ban.pyi +1 -1
- homeassistant-stubs/components/huawei_lte/device_tracker.pyi +1 -1
- homeassistant-stubs/components/huawei_lte/entity.pyi +1 -1
- homeassistant-stubs/components/humidifier/__init__.pyi +11 -2
- homeassistant-stubs/components/husqvarna_automower/api.pyi +1 -1
- homeassistant-stubs/components/husqvarna_automower/calendar.pyi +1 -1
- homeassistant-stubs/components/hyperion/camera.pyi +1 -1
- homeassistant-stubs/components/hyperion/config_flow.pyi +5 -4
- homeassistant-stubs/components/hyperion/light.pyi +6 -6
- homeassistant-stubs/components/hyperion/sensor.pyi +1 -1
- homeassistant-stubs/components/ibeacon/coordinator.pyi +14 -14
- homeassistant-stubs/components/idasen_desk/config_flow.pyi +2 -2
- homeassistant-stubs/components/image/__init__.pyi +6 -2
- homeassistant-stubs/components/image_processing/__init__.pyi +4 -5
- homeassistant-stubs/components/imap/coordinator.pyi +8 -7
- homeassistant-stubs/components/integration/sensor.pyi +7 -7
- homeassistant-stubs/components/intent/timers.pyi +6 -3
- homeassistant-stubs/components/ipp/config_flow.pyi +1 -1
- homeassistant-stubs/components/iron_os/config_flow.pyi +2 -3
- homeassistant-stubs/components/islamic_prayer_times/coordinator.pyi +1 -1
- homeassistant-stubs/components/isy994/binary_sensor.pyi +4 -4
- homeassistant-stubs/components/isy994/button.pyi +1 -1
- homeassistant-stubs/components/isy994/config_flow.pyi +2 -2
- homeassistant-stubs/components/isy994/entity.pyi +5 -5
- homeassistant-stubs/components/isy994/light.pyi +1 -1
- homeassistant-stubs/components/isy994/number.pyi +2 -2
- homeassistant-stubs/components/isy994/select.pyi +1 -1
- homeassistant-stubs/components/isy994/sensor.pyi +2 -2
- homeassistant-stubs/components/isy994/switch.pyi +1 -1
- homeassistant-stubs/components/jellyfin/config_flow.pyi +1 -1
- homeassistant-stubs/components/jellyfin/coordinator.pyi +8 -8
- homeassistant-stubs/components/jellyfin/entity.pyi +5 -5
- homeassistant-stubs/components/jellyfin/media_player.pyi +2 -2
- homeassistant-stubs/components/jewish_calendar/sensor.pyi +1 -1
- homeassistant-stubs/components/knocki/coordinator.pyi +1 -1
- homeassistant-stubs/components/knx/__init__.pyi +7 -6
- homeassistant-stubs/components/knx/climate.pyi +3 -3
- homeassistant-stubs/components/knx/config_flow.pyi +10 -9
- homeassistant-stubs/components/knx/cover.pyi +1 -1
- homeassistant-stubs/components/knx/device.pyi +1 -1
- homeassistant-stubs/components/knx/expose.pyi +7 -6
- homeassistant-stubs/components/knx/fan.pyi +1 -1
- homeassistant-stubs/components/knx/light.pyi +6 -4
- homeassistant-stubs/components/knx/select.pyi +1 -1
- homeassistant-stubs/components/knx/sensor.pyi +1 -1
- homeassistant-stubs/components/knx/storage/config_store.pyi +1 -1
- homeassistant-stubs/components/knx/telegrams.pyi +3 -2
- homeassistant-stubs/components/kraken/__init__.pyi +2 -2
- homeassistant-stubs/components/lacrosse/sensor.pyi +1 -1
- homeassistant-stubs/components/lacrosse_view/config_flow.pyi +2 -2
- homeassistant-stubs/components/lamarzocco/config_flow.pyi +3 -3
- homeassistant-stubs/components/lamarzocco/coordinator.pyi +1 -1
- homeassistant-stubs/components/lawn_mower/__init__.pyi +3 -1
- homeassistant-stubs/components/lcn/entity.pyi +3 -3
- homeassistant-stubs/components/ld2410_ble/config_flow.pyi +2 -2
- homeassistant-stubs/components/ld2410_ble/coordinator.pyi +1 -1
- homeassistant-stubs/components/led_ble/config_flow.pyi +2 -2
- homeassistant-stubs/components/lektrico/coordinator.pyi +3 -3
- homeassistant-stubs/components/lifx/__init__.pyi +1 -1
- homeassistant-stubs/components/lifx/config_flow.pyi +2 -3
- homeassistant-stubs/components/lifx/coordinator.pyi +7 -1
- homeassistant-stubs/components/lifx/light.pyi +3 -2
- homeassistant-stubs/components/lifx/manager.pyi +1 -1
- homeassistant-stubs/components/light/__init__.pyi +19 -2
- homeassistant-stubs/components/linear_garage_door/config_flow.pyi +1 -1
- homeassistant-stubs/components/linkplay/config_flow.pyi +1 -1
- homeassistant-stubs/components/lock/__init__.pyi +10 -1
- homeassistant-stubs/components/logbook/models.pyi +7 -0
- homeassistant-stubs/components/logbook/processor.pyi +3 -3
- homeassistant-stubs/components/logger/helpers.pyi +1 -1
- homeassistant-stubs/components/lookin/__init__.pyi +2 -2
- homeassistant-stubs/components/lookin/config_flow.pyi +2 -2
- homeassistant-stubs/components/lookin/entity.pyi +2 -2
- homeassistant-stubs/components/lookin/media_player.pyi +1 -1
- homeassistant-stubs/components/madvr/sensor.pyi +1 -1
- homeassistant-stubs/components/manual/alarm_control_panel.pyi +6 -6
- homeassistant-stubs/components/matrix/__init__.pyi +4 -4
- homeassistant-stubs/components/matter/adapter.pyi +2 -2
- homeassistant-stubs/components/matter/climate.pyi +1 -1
- homeassistant-stubs/components/matter/config_flow.pyi +4 -3
- homeassistant-stubs/components/matter/entity.pyi +4 -2
- homeassistant-stubs/components/media_player/__init__.pyi +37 -3
- homeassistant-stubs/components/met_eireann/__init__.pyi +3 -3
- homeassistant-stubs/components/mikrotik/coordinator.pyi +4 -4
- homeassistant-stubs/components/mikrotik/device.pyi +3 -3
- homeassistant-stubs/components/min_max/sensor.pyi +11 -11
- homeassistant-stubs/components/modbus/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/modbus/climate.pyi +4 -4
- homeassistant-stubs/components/modbus/entity.pyi +5 -5
- homeassistant-stubs/components/modbus/modbus.pyi +4 -3
- homeassistant-stubs/components/modbus/sensor.pyi +1 -1
- homeassistant-stubs/components/modem_callerid/config_flow.pyi +1 -1
- homeassistant-stubs/components/mold_indicator/sensor.pyi +6 -6
- homeassistant-stubs/components/mopeka/config_flow.pyi +4 -3
- homeassistant-stubs/components/motionmount/config_flow.pyi +1 -1
- homeassistant-stubs/components/motionmount/select.pyi +1 -1
- homeassistant-stubs/components/mqtt/client.pyi +13 -12
- homeassistant-stubs/components/mqtt/config_flow.pyi +4 -3
- homeassistant-stubs/components/mqtt/entity.pyi +10 -10
- homeassistant-stubs/components/mqtt/models.pyi +3 -3
- homeassistant-stubs/components/mqtt/tag.pyi +1 -1
- homeassistant-stubs/components/mqtt/util.pyi +2 -2
- homeassistant-stubs/components/mqtt/vacuum.pyi +1 -1
- homeassistant-stubs/components/music_assistant/config_flow.pyi +1 -2
- homeassistant-stubs/components/music_assistant/media_player.pyi +1 -1
- homeassistant-stubs/components/mysensors/config_flow.pyi +1 -1
- homeassistant-stubs/components/mysensors/entity.pyi +7 -7
- homeassistant-stubs/components/mysensors/light.pyi +1 -1
- homeassistant-stubs/components/nasweb/coordinator.pyi +4 -4
- homeassistant-stubs/components/neato/camera.pyi +4 -4
- homeassistant-stubs/components/neato/entity.pyi +1 -1
- homeassistant-stubs/components/neato/hub.pyi +1 -1
- homeassistant-stubs/components/neato/sensor.pyi +3 -2
- homeassistant-stubs/components/neato/switch.pyi +2 -2
- homeassistant-stubs/components/neato/vacuum.pyi +18 -18
- homeassistant-stubs/components/nest/camera.pyi +4 -4
- homeassistant-stubs/components/nest/config_flow.pyi +5 -5
- homeassistant-stubs/components/nest/media_source.pyi +2 -2
- homeassistant-stubs/components/netatmo/data_handler.pyi +3 -2
- homeassistant-stubs/components/netatmo/entity.pyi +2 -1
- homeassistant-stubs/components/network/network.pyi +2 -2
- homeassistant-stubs/components/nextdns/config_flow.pyi +2 -2
- homeassistant-stubs/components/nextdns/sensor.pyi +1 -1
- homeassistant-stubs/components/nightscout/sensor.pyi +2 -1
- homeassistant-stubs/components/nissan_leaf/__init__.pyi +6 -6
- homeassistant-stubs/components/nordpool/coordinator.pyi +1 -1
- homeassistant-stubs/components/notify/__init__.pyi +2 -1
- homeassistant-stubs/components/number/__init__.pyi +18 -11
- homeassistant-stubs/components/nut/__init__.pyi +3 -3
- homeassistant-stubs/components/nut/config_flow.pyi +4 -4
- homeassistant-stubs/components/onewire/config_flow.pyi +1 -1
- homeassistant-stubs/components/onewire/entity.pyi +2 -2
- homeassistant-stubs/components/onewire/onewirehub.pyi +3 -2
- homeassistant-stubs/components/openai_conversation/conversation.pyi +1 -1
- homeassistant-stubs/components/openexchangerates/config_flow.pyi +1 -2
- homeassistant-stubs/components/opensky/coordinator.pyi +1 -1
- homeassistant-stubs/components/openuv/config_flow.pyi +1 -1
- homeassistant-stubs/components/oralb/config_flow.pyi +4 -4
- homeassistant-stubs/components/overkiz/climate/atlantic_pass_apc_zone_control_zone.pyi +4 -1
- homeassistant-stubs/components/overkiz/coordinator.pyi +2 -2
- homeassistant-stubs/components/overkiz/light.pyi +1 -1
- homeassistant-stubs/components/overkiz/water_heater/domestic_hot_water_production.pyi +1 -1
- homeassistant-stubs/components/pi_hole/config_flow.pyi +1 -1
- homeassistant-stubs/components/plugwise/coordinator.pyi +2 -2
- homeassistant-stubs/components/powerwall/config_flow.pyi +2 -2
- homeassistant-stubs/components/private_ble_device/coordinator.pyi +8 -8
- homeassistant-stubs/components/private_ble_device/entity.pyi +1 -1
- homeassistant-stubs/components/prometheus/__init__.pyi +3 -3
- homeassistant-stubs/components/proximity/coordinator.pyi +8 -8
- homeassistant-stubs/components/purpleair/config_flow.pyi +2 -2
- homeassistant-stubs/components/pushbullet/api.pyi +1 -1
- homeassistant-stubs/components/radarr/coordinator.pyi +2 -2
- homeassistant-stubs/components/rainforest_raven/config_flow.pyi +2 -3
- homeassistant-stubs/components/rainmachine/coordinator.pyi +1 -1
- homeassistant-stubs/components/rainmachine/sensor.pyi +2 -2
- homeassistant-stubs/components/recollect_waste/calendar.pyi +1 -1
- homeassistant-stubs/components/recorder/core.pyi +26 -22
- homeassistant-stubs/components/recorder/executor.pyi +1 -1
- homeassistant-stubs/components/recorder/models/legacy.pyi +5 -5
- homeassistant-stubs/components/recorder/models/state.pyi +12 -2
- homeassistant-stubs/components/recorder/table_managers/__init__.pyi +1 -1
- homeassistant-stubs/components/recorder/table_managers/event_types.pyi +2 -2
- homeassistant-stubs/components/recorder/table_managers/recorder_runs.pyi +2 -2
- homeassistant-stubs/components/recorder/table_managers/states.pyi +4 -5
- homeassistant-stubs/components/recorder/table_managers/statistics_meta.pyi +2 -1
- homeassistant-stubs/components/remote/__init__.pyi +4 -1
- homeassistant-stubs/components/renault/config_flow.pyi +1 -1
- homeassistant-stubs/components/renault/renault_hub.pyi +2 -2
- homeassistant-stubs/components/renault/renault_vehicle.pyi +1 -1
- homeassistant-stubs/components/reolink/config_flow.pyi +2 -2
- homeassistant-stubs/components/reolink/host.pyi +12 -10
- homeassistant-stubs/components/reolink/update.pyi +3 -3
- homeassistant-stubs/components/rest/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/rest/data.pyi +4 -4
- homeassistant-stubs/components/rest/switch.pyi +10 -10
- homeassistant-stubs/components/rfxtrx/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/rfxtrx/config_flow.pyi +5 -5
- homeassistant-stubs/components/rfxtrx/cover.pyi +1 -1
- homeassistant-stubs/components/rfxtrx/entity.pyi +1 -1
- homeassistant-stubs/components/ridwell/calendar.pyi +1 -1
- homeassistant-stubs/components/ridwell/config_flow.pyi +2 -2
- homeassistant-stubs/components/ridwell/coordinator.pyi +1 -1
- homeassistant-stubs/components/ring/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/ring/camera.pyi +4 -4
- homeassistant-stubs/components/ring/coordinator.pyi +5 -5
- homeassistant-stubs/components/roborock/config_flow.pyi +2 -2
- homeassistant-stubs/components/roborock/coordinator.pyi +10 -4
- homeassistant-stubs/components/ruuvi_gateway/coordinator.pyi +1 -1
- homeassistant-stubs/components/ruuvitag_ble/config_flow.pyi +4 -4
- homeassistant-stubs/components/samsungtv/__init__.pyi +2 -1
- homeassistant-stubs/components/samsungtv/bridge.pyi +16 -14
- homeassistant-stubs/components/samsungtv/config_flow.pyi +15 -14
- homeassistant-stubs/components/samsungtv/coordinator.pyi +4 -3
- homeassistant-stubs/components/samsungtv/entity.pyi +2 -2
- homeassistant-stubs/components/samsungtv/media_player.pyi +8 -5
- homeassistant-stubs/components/schlage/coordinator.pyi +1 -1
- homeassistant-stubs/components/script/__init__.pyi +16 -0
- homeassistant-stubs/components/search/__init__.pyi +2 -1
- homeassistant-stubs/components/select/__init__.pyi +4 -2
- homeassistant-stubs/components/sensirion_ble/config_flow.pyi +4 -4
- homeassistant-stubs/components/sensor/__init__.pyi +17 -9
- homeassistant-stubs/components/sensoterra/coordinator.pyi +1 -1
- homeassistant-stubs/components/shelly/climate.pyi +8 -7
- homeassistant-stubs/components/shelly/coordinator.pyi +19 -15
- homeassistant-stubs/components/shelly/cover.pyi +1 -1
- homeassistant-stubs/components/shelly/entity.pyi +6 -6
- homeassistant-stubs/components/shelly/light.pyi +1 -1
- homeassistant-stubs/components/shelly/number.pyi +1 -1
- homeassistant-stubs/components/shelly/sensor.pyi +2 -2
- homeassistant-stubs/components/shelly/switch.pyi +2 -2
- homeassistant-stubs/components/shelly/update.pyi +2 -2
- homeassistant-stubs/components/shelly/valve.pyi +1 -1
- homeassistant-stubs/components/shopping_list/__init__.pyi +2 -2
- homeassistant-stubs/components/simplepush/notify.pyi +4 -4
- homeassistant-stubs/components/simplisafe/__init__.pyi +8 -6
- homeassistant-stubs/components/simplisafe/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/simplisafe/config_flow.pyi +1 -1
- homeassistant-stubs/components/simplisafe/sensor.pyi +1 -1
- homeassistant-stubs/components/siren/__init__.pyi +4 -2
- homeassistant-stubs/components/skybell/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/smhi/weather.pyi +2 -2
- homeassistant-stubs/components/smlight/config_flow.pyi +2 -1
- homeassistant-stubs/components/smlight/coordinator.pyi +1 -1
- homeassistant-stubs/components/smlight/sensor.pyi +1 -1
- homeassistant-stubs/components/smlight/update.pyi +2 -2
- homeassistant-stubs/components/snooz/config_flow.pyi +4 -4
- homeassistant-stubs/components/solarlog/config_flow.pyi +2 -3
- homeassistant-stubs/components/solarlog/coordinator.pyi +2 -2
- homeassistant-stubs/components/sonarr/coordinator.pyi +1 -1
- homeassistant-stubs/components/speedtestdotnet/config_flow.pyi +1 -2
- homeassistant-stubs/components/speedtestdotnet/coordinator.pyi +1 -1
- homeassistant-stubs/components/speedtestdotnet/sensor.pyi +2 -2
- homeassistant-stubs/components/spotify/coordinator.pyi +2 -2
- homeassistant-stubs/components/squeezebox/config_flow.pyi +1 -1
- homeassistant-stubs/components/squeezebox/coordinator.pyi +1 -1
- homeassistant-stubs/components/squeezebox/media_player.pyi +2 -2
- homeassistant-stubs/components/ssdp/__init__.pyi +9 -8
- homeassistant-stubs/components/statistics/sensor.pyi +15 -15
- homeassistant-stubs/components/steamist/config_flow.pyi +2 -2
- homeassistant-stubs/components/stream/__init__.pyi +5 -4
- homeassistant-stubs/components/stream/core.pyi +7 -6
- homeassistant-stubs/components/stream/diagnostics.pyi +3 -3
- homeassistant-stubs/components/stream/recorder.pyi +1 -1
- homeassistant-stubs/components/stream/worker.pyi +6 -4
- homeassistant-stubs/components/sun/entity.pyi +4 -4
- homeassistant-stubs/components/switch/__init__.pyi +3 -2
- homeassistant-stubs/components/switchbee/climate.pyi +1 -1
- homeassistant-stubs/components/switchbee/coordinator.pyi +1 -1
- homeassistant-stubs/components/switcher_kis/light.pyi +2 -2
- homeassistant-stubs/components/switcher_kis/switch.pyi +1 -1
- homeassistant-stubs/components/synology_dsm/common.pyi +19 -11
- homeassistant-stubs/components/synology_dsm/config_flow.pyi +4 -4
- homeassistant-stubs/components/synology_dsm/coordinator.pyi +1 -1
- homeassistant-stubs/components/synology_dsm/entity.pyi +5 -5
- homeassistant-stubs/components/synology_dsm/sensor.pyi +2 -3
- homeassistant-stubs/components/system_log/__init__.pyi +1 -1
- homeassistant-stubs/components/systemmonitor/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/systemmonitor/coordinator.pyi +2 -2
- homeassistant-stubs/components/systemmonitor/sensor.pyi +3 -3
- homeassistant-stubs/components/tag/__init__.pyi +1 -1
- homeassistant-stubs/components/tautulli/coordinator.pyi +3 -3
- homeassistant-stubs/components/tcp/entity.pyi +4 -3
- homeassistant-stubs/components/tedee/coordinator.pyi +3 -3
- homeassistant-stubs/components/text/__init__.pyi +10 -5
- homeassistant-stubs/components/threshold/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/tibber/sensor.pyi +5 -4
- homeassistant-stubs/components/tile/config_flow.pyi +2 -2
- homeassistant-stubs/components/tilt_ble/config_flow.pyi +4 -4
- homeassistant-stubs/components/time/__init__.pyi +4 -1
- homeassistant-stubs/components/timer/__init__.pyi +7 -7
- homeassistant-stubs/components/tod/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/todo/__init__.pyi +2 -0
- homeassistant-stubs/components/tplink/camera.pyi +2 -2
- homeassistant-stubs/components/tplink/config_flow.pyi +2 -2
- homeassistant-stubs/components/tplink/siren.pyi +1 -1
- homeassistant-stubs/components/tplink_omada/config_flow.pyi +2 -2
- homeassistant-stubs/components/tplink_omada/controller.pyi +1 -1
- homeassistant-stubs/components/trace/models.pyi +10 -9
- homeassistant-stubs/components/tractive/__init__.pyi +2 -1
- homeassistant-stubs/components/tractive/device_tracker.pyi +3 -3
- homeassistant-stubs/components/tradfri/config_flow.pyi +1 -1
- homeassistant-stubs/components/tradfri/coordinator.pyi +1 -1
- homeassistant-stubs/components/tradfri/entity.pyi +1 -1
- homeassistant-stubs/components/trafikverket_ferry/coordinator.pyi +5 -5
- homeassistant-stubs/components/trafikverket_train/coordinator.pyi +4 -4
- homeassistant-stubs/components/transmission/coordinator.pyi +5 -5
- homeassistant-stubs/components/trend/binary_sensor.pyi +2 -1
- homeassistant-stubs/components/tts/__init__.pyi +10 -5
- homeassistant-stubs/components/tts/notify.pyi +2 -2
- homeassistant-stubs/components/twentemilieu/calendar.pyi +1 -1
- homeassistant-stubs/components/unifi/__init__.pyi +3 -3
- homeassistant-stubs/components/unifi/config_flow.pyi +3 -2
- homeassistant-stubs/components/unifi/device_tracker.pyi +3 -0
- homeassistant-stubs/components/unifi/hub/entity_helper.pyi +4 -4
- homeassistant-stubs/components/unifi/hub/entity_loader.pyi +2 -2
- homeassistant-stubs/components/unifi/hub/websocket.pyi +3 -2
- homeassistant-stubs/components/unifiprotect/camera.pyi +1 -1
- homeassistant-stubs/components/unifiprotect/config_flow.pyi +1 -1
- homeassistant-stubs/components/unifiprotect/data.pyi +4 -3
- homeassistant-stubs/components/update/__init__.pyi +15 -4
- homeassistant-stubs/components/usb/__init__.pyi +7 -4
- homeassistant-stubs/components/uvc/camera.pyi +2 -2
- homeassistant-stubs/components/vacuum/__init__.pyi +8 -1
- homeassistant-stubs/components/velbus/config_flow.pyi +1 -2
- homeassistant-stubs/components/velbus/sensor.pyi +1 -1
- homeassistant-stubs/components/waqi/config_flow.pyi +1 -1
- homeassistant-stubs/components/water_heater/__init__.pyi +9 -2
- homeassistant-stubs/components/watttime/config_flow.pyi +3 -2
- homeassistant-stubs/components/weather/__init__.pyi +20 -2
- homeassistant-stubs/components/webostv/config_flow.pyi +1 -1
- homeassistant-stubs/components/webostv/media_player.pyi +1 -1
- homeassistant-stubs/components/websocket_api/connection.pyi +7 -6
- homeassistant-stubs/components/websocket_api/http.pyi +9 -7
- homeassistant-stubs/components/wemo/__init__.pyi +6 -6
- homeassistant-stubs/components/wemo/coordinator.pyi +1 -1
- homeassistant-stubs/components/withings/coordinator.pyi +2 -2
- homeassistant-stubs/components/wiz/config_flow.pyi +1 -1
- homeassistant-stubs/components/wled/coordinator.pyi +1 -1
- homeassistant-stubs/components/workday/repairs.pyi +3 -3
- homeassistant-stubs/components/xiaomi_ble/config_flow.pyi +3 -3
- homeassistant-stubs/components/yale_smart_alarm/coordinator.pyi +2 -2
- homeassistant-stubs/components/yale_smart_alarm/entity.pyi +3 -3
- homeassistant-stubs/components/yalexs_ble/config_flow.pyi +4 -3
- homeassistant-stubs/components/zeroconf/__init__.pyi +2 -2
- homeassistant-stubs/components/zone/__init__.pyi +3 -3
- homeassistant-stubs/components/zwave_js/__init__.pyi +3 -3
- homeassistant-stubs/components/zwave_js/climate.pyi +6 -6
- homeassistant-stubs/components/zwave_js/config_flow.pyi +14 -13
- homeassistant-stubs/components/zwave_js/event.pyi +1 -1
- homeassistant-stubs/components/zwave_js/light.pyi +8 -8
- homeassistant-stubs/components/zwave_js/number.pyi +1 -1
- homeassistant-stubs/components/zwave_js/repairs.pyi +2 -3
- homeassistant-stubs/components/zwave_js/switch.pyi +1 -1
- homeassistant-stubs/components/zwave_js/update.pyi +8 -8
- homeassistant-stubs/config_entries.pyi +11 -8
- homeassistant-stubs/core.pyi +50 -28
- homeassistant-stubs/core_config.pyi +18 -18
- homeassistant-stubs/data_entry_flow.pyi +6 -5
- homeassistant-stubs/helpers/area_registry.pyi +4 -2
- homeassistant-stubs/helpers/category_registry.pyi +1 -1
- homeassistant-stubs/helpers/check_config.pyi +2 -3
- homeassistant-stubs/helpers/collection.pyi +6 -6
- homeassistant-stubs/helpers/config_entry_oauth2_flow.pyi +2 -2
- homeassistant-stubs/helpers/debounce.pyi +3 -2
- homeassistant-stubs/helpers/device_registry.pyi +9 -5
- homeassistant-stubs/helpers/discovery_flow.pyi +1 -1
- homeassistant-stubs/helpers/dispatcher.pyi +8 -8
- homeassistant-stubs/helpers/entity.pyi +43 -14
- homeassistant-stubs/helpers/entity_component.pyi +3 -3
- homeassistant-stubs/helpers/entity_platform.pyi +12 -12
- homeassistant-stubs/helpers/entity_registry.pyi +13 -6
- homeassistant-stubs/helpers/entityfilter.pyi +1 -1
- homeassistant-stubs/helpers/event.pyi +6 -6
- homeassistant-stubs/helpers/frame.pyi +4 -0
- homeassistant-stubs/helpers/icon.pyi +2 -2
- homeassistant-stubs/helpers/intent.pyi +15 -12
- homeassistant-stubs/helpers/issue_registry.pyi +1 -1
- homeassistant-stubs/helpers/normalized_name_base_registry.pyi +1 -2
- homeassistant-stubs/helpers/ratelimit.pyi +4 -3
- homeassistant-stubs/helpers/restore_state.pyi +3 -3
- homeassistant-stubs/helpers/schema_config_entry_flow.pyi +1 -1
- homeassistant-stubs/helpers/script.pyi +16 -10
- homeassistant-stubs/helpers/script_variables.pyi +1 -1
- homeassistant-stubs/helpers/service.pyi +1 -1
- homeassistant-stubs/helpers/significant_change.pyi +1 -1
- homeassistant-stubs/helpers/storage.pyi +12 -9
- homeassistant-stubs/helpers/template.pyi +22 -18
- homeassistant-stubs/helpers/trace.pyi +6 -6
- homeassistant-stubs/helpers/trigger_template_entity.pyi +2 -2
- homeassistant-stubs/helpers/update_coordinator.pyi +10 -7
- homeassistant-stubs/loader.pyi +23 -4
- homeassistant-stubs/requirements.pyi +4 -3
- homeassistant-stubs/util/aiohttp.pyi +2 -2
- homeassistant-stubs/util/async_.pyi +1 -1
- homeassistant-stubs/util/frozen_dataclass_compat.pyi +3 -1
- homeassistant-stubs/util/logging.pyi +7 -7
- homeassistant-stubs/util/signal_type.pyi +1 -1
- homeassistant-stubs/util/timeout.pyi +29 -30
- homeassistant-stubs/util/yaml/loader.pyi +4 -1
- {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/RECORD +641 -641
- {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/licenses/LICENSE +0 -0
@@ -1,3 +1,4 @@
|
|
1
|
+
import datetime
|
1
2
|
import tibber
|
2
3
|
from .const import MANUFACTURER as MANUFACTURER
|
3
4
|
from .coordinator import TibberDataCoordinator as TibberDataCoordinator
|
@@ -33,8 +34,8 @@ class TibberSensor(SensorEntity):
|
|
33
34
|
_attr_has_entity_name: bool
|
34
35
|
_tibber_home: Incomplete
|
35
36
|
_home_name: Incomplete
|
36
|
-
_device_name:
|
37
|
-
_model:
|
37
|
+
_device_name: str | None
|
38
|
+
_model: str | None
|
38
39
|
def __init__(self, *args: Any, tibber_home: tibber.TibberHome, **kwargs: Any) -> None: ...
|
39
40
|
@property
|
40
41
|
def device_info(self) -> DeviceInfo: ...
|
@@ -42,7 +43,7 @@ class TibberSensor(SensorEntity):
|
|
42
43
|
class TibberSensorElPrice(TibberSensor):
|
43
44
|
_attr_state_class: Incomplete
|
44
45
|
_attr_translation_key: str
|
45
|
-
_last_updated:
|
46
|
+
_last_updated: datetime.datetime | None
|
46
47
|
_spread_load_constant: Incomplete
|
47
48
|
_attr_available: bool
|
48
49
|
_attr_extra_state_attributes: Incomplete
|
@@ -80,7 +81,7 @@ class TibberSensorRT(TibberSensor, CoordinatorEntity['TibberRtDataCoordinator'])
|
|
80
81
|
class TibberRtEntityCreator:
|
81
82
|
_async_add_entities: Incomplete
|
82
83
|
_tibber_home: Incomplete
|
83
|
-
_added_sensors:
|
84
|
+
_added_sensors: set[str]
|
84
85
|
_entity_registry: Incomplete
|
85
86
|
def __init__(self, async_add_entities: AddEntitiesCallback, tibber_home: tibber.TibberHome, entity_registry: er.EntityRegistry) -> None: ...
|
86
87
|
def _migrate_unique_id(self, sensor_description: SensorEntityDescription) -> None: ...
|
@@ -12,8 +12,8 @@ STEP_USER_SCHEMA: Incomplete
|
|
12
12
|
|
13
13
|
class TileFlowHandler(ConfigFlow, domain=DOMAIN):
|
14
14
|
VERSION: int
|
15
|
-
_password:
|
16
|
-
_username:
|
15
|
+
_password: str | None
|
16
|
+
_username: str | None
|
17
17
|
def __init__(self) -> None: ...
|
18
18
|
async def _async_verify(self, step_id: str, schema: vol.Schema) -> ConfigFlowResult: ...
|
19
19
|
async def async_step_import(self, import_data: dict[str, Any]) -> ConfigFlowResult: ...
|
@@ -1,15 +1,15 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
2
|
-
from _typeshed import Incomplete
|
3
2
|
from homeassistant.components.bluetooth import BluetoothServiceInfoBleak as BluetoothServiceInfoBleak, async_discovered_service_info as async_discovered_service_info
|
4
3
|
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
|
5
4
|
from homeassistant.const import CONF_ADDRESS as CONF_ADDRESS
|
5
|
+
from tilt_ble import TiltBluetoothDeviceData as DeviceData
|
6
6
|
from typing import Any
|
7
7
|
|
8
8
|
class TiltConfigFlow(ConfigFlow, domain=DOMAIN):
|
9
9
|
VERSION: int
|
10
|
-
_discovery_info:
|
11
|
-
_discovered_device:
|
12
|
-
_discovered_devices:
|
10
|
+
_discovery_info: BluetoothServiceInfoBleak | None
|
11
|
+
_discovered_device: DeviceData | None
|
12
|
+
_discovered_devices: dict[str, str]
|
13
13
|
def __init__(self) -> None: ...
|
14
14
|
async def async_step_bluetooth(self, discovery_info: BluetoothServiceInfoBleak) -> ConfigFlowResult: ...
|
15
15
|
async def async_step_bluetooth_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -1,22 +1,25 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
2
2
|
from datetime import time
|
3
3
|
from homeassistant.helpers.entity import Entity, EntityDescription
|
4
|
+
from propcache import cached_property
|
4
5
|
|
5
6
|
__all__ = ['DOMAIN', 'TimeEntity', 'TimeEntityDescription']
|
6
7
|
|
7
8
|
class TimeEntityDescription(EntityDescription, frozen_or_thawed=True):
|
8
9
|
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=...) -> None: ...
|
9
|
-
def __replace__(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=...) -> None: ...
|
10
10
|
|
11
11
|
class TimeEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
12
12
|
entity_description: TimeEntityDescription
|
13
13
|
_attr_native_value: time | None
|
14
14
|
_attr_device_class: None
|
15
15
|
_attr_state: None
|
16
|
+
@cached_property
|
16
17
|
def device_class(self) -> None: ...
|
18
|
+
@cached_property
|
17
19
|
def state_attributes(self) -> None: ...
|
18
20
|
@property
|
19
21
|
def state(self) -> str | None: ...
|
22
|
+
@cached_property
|
20
23
|
def native_value(self) -> time | None: ...
|
21
24
|
def set_value(self, value: time) -> None: ...
|
22
25
|
async def async_set_value(self, value: time) -> None: ...
|
@@ -58,14 +58,14 @@ class TimerStorageCollection(collection.DictStorageCollection):
|
|
58
58
|
|
59
59
|
class Timer(collection.CollectionEntity, RestoreEntity):
|
60
60
|
editable: bool
|
61
|
-
_config:
|
62
|
-
_state:
|
61
|
+
_config: dict
|
62
|
+
_state: str
|
63
63
|
_configured_duration: Incomplete
|
64
|
-
_running_duration:
|
65
|
-
_remaining:
|
66
|
-
_end:
|
67
|
-
_listener:
|
68
|
-
_restore:
|
64
|
+
_running_duration: timedelta
|
65
|
+
_remaining: timedelta | None
|
66
|
+
_end: datetime | None
|
67
|
+
_listener: Callable[[], None] | None
|
68
|
+
_restore: bool
|
69
69
|
_attr_should_poll: bool
|
70
70
|
_attr_force_update: bool
|
71
71
|
def __init__(self, config: ConfigType) -> None: ...
|
@@ -34,7 +34,7 @@ class TodSensor(BinarySensorEntity):
|
|
34
34
|
_before_offset: Incomplete
|
35
35
|
_before: Incomplete
|
36
36
|
_after: Incomplete
|
37
|
-
_unsub_update:
|
37
|
+
_unsub_update: Callable[[], None] | None
|
38
38
|
def __init__(self, name: str, after: time, after_offset: timedelta, before: time, before_offset: timedelta, unique_id: str | None) -> None: ...
|
39
39
|
@property
|
40
40
|
def is_on(self) -> bool: ...
|
@@ -13,6 +13,7 @@ from homeassistant.helpers.entity import Entity as Entity
|
|
13
13
|
from homeassistant.helpers.entity_component import EntityComponent as EntityComponent
|
14
14
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
15
15
|
from homeassistant.util.json import JsonValueType as JsonValueType
|
16
|
+
from propcache import cached_property
|
16
17
|
from typing import Any
|
17
18
|
|
18
19
|
_LOGGER: Incomplete
|
@@ -54,6 +55,7 @@ class TodoListEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
|
54
55
|
_update_listeners: list[Callable[[list[JsonValueType] | None], None]] | None
|
55
56
|
@property
|
56
57
|
def state(self) -> int | None: ...
|
58
|
+
@cached_property
|
57
59
|
def todo_items(self) -> list[TodoItem] | None: ...
|
58
60
|
async def async_create_todo_item(self, item: TodoItem) -> None: ...
|
59
61
|
async def async_update_todo_item(self, item: TodoItem) -> None: ...
|
@@ -30,10 +30,10 @@ class TPLinkCameraEntity(CoordinatedTPLinkEntity, Camera):
|
|
30
30
|
entity_description: TPLinkCameraEntityDescription
|
31
31
|
_camera_module: Incomplete
|
32
32
|
_video_url: Incomplete
|
33
|
-
_image:
|
33
|
+
_image: bytes | None
|
34
34
|
_ffmpeg_manager: Incomplete
|
35
35
|
_image_lock: Incomplete
|
36
|
-
_last_update:
|
36
|
+
_last_update: float
|
37
37
|
_camera_credentials: Incomplete
|
38
38
|
_can_stream: bool
|
39
39
|
_http_mpeg_stream_running: bool
|
@@ -20,8 +20,8 @@ class TPLinkConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
20
20
|
MINOR_VERSION = CONF_CONFIG_ENTRY_MINOR_VERSION
|
21
21
|
host: str | None
|
22
22
|
port: int | None
|
23
|
-
_discovered_devices:
|
24
|
-
_discovered_device:
|
23
|
+
_discovered_devices: dict[str, Device]
|
24
|
+
_discovered_device: Device | None
|
25
25
|
def __init__(self) -> None: ...
|
26
26
|
async def async_step_dhcp(self, discovery_info: dhcp.DhcpServiceInfo) -> ConfigFlowResult: ...
|
27
27
|
async def async_step_integration_discovery(self, discovery_info: DiscoveryInfoType) -> ConfigFlowResult: ...
|
@@ -14,7 +14,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: TPLinkConfigEntry
|
|
14
14
|
class TPLinkSirenEntity(CoordinatedTPLinkEntity, SirenEntity):
|
15
15
|
_attr_name: Incomplete
|
16
16
|
_attr_supported_features: Incomplete
|
17
|
-
_alarm_module:
|
17
|
+
_alarm_module: Alarm
|
18
18
|
def __init__(self, device: Device, coordinator: TPLinkDataUpdateCoordinator) -> None: ...
|
19
19
|
async def async_turn_on(self, **kwargs: Any) -> None: ...
|
20
20
|
async def async_turn_off(self, **kwargs: Any) -> None: ...
|
@@ -25,8 +25,8 @@ async def _validate_input(hass: HomeAssistant, data: dict[str, Any]) -> HubInfo:
|
|
25
25
|
|
26
26
|
class TpLinkOmadaConfigFlow(ConfigFlow, domain=DOMAIN):
|
27
27
|
VERSION: int
|
28
|
-
_omada_opts:
|
29
|
-
_sites:
|
28
|
+
_omada_opts: dict[str, Any]
|
29
|
+
_sites: list[OmadaSite]
|
30
30
|
_controller_name: str
|
31
31
|
def __init__(self) -> None: ...
|
32
32
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -8,7 +8,7 @@ class OmadaSiteController:
|
|
8
8
|
_gateway_coordinator: OmadaGatewayCoordinator | None
|
9
9
|
_hass: Incomplete
|
10
10
|
_omada_client: Incomplete
|
11
|
-
_switch_port_coordinators:
|
11
|
+
_switch_port_coordinators: dict[str, OmadaSwitchPortCoordinator]
|
12
12
|
_devices_coordinator: Incomplete
|
13
13
|
_clients_coordinator: Incomplete
|
14
14
|
def __init__(self, hass: HomeAssistant, omada_client: OmadaSiteClient) -> None: ...
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import abc
|
2
|
+
import datetime as dt
|
2
3
|
from _typeshed import Incomplete
|
3
4
|
from collections import deque
|
4
5
|
from homeassistant.core import Context as Context
|
@@ -19,19 +20,19 @@ class BaseTrace(abc.ABC, metaclass=abc.ABCMeta):
|
|
19
20
|
|
20
21
|
class ActionTrace(BaseTrace):
|
21
22
|
_domain: str | None
|
22
|
-
_trace:
|
23
|
+
_trace: dict[str, deque[TraceElement]] | None
|
23
24
|
_config: Incomplete
|
24
25
|
_blueprint_inputs: Incomplete
|
25
|
-
context:
|
26
|
-
_error:
|
26
|
+
context: Context
|
27
|
+
_error: Exception | None
|
27
28
|
_state: str
|
28
|
-
_script_execution:
|
29
|
-
run_id:
|
30
|
-
_timestamp_finish:
|
31
|
-
_timestamp_start:
|
29
|
+
_script_execution: str | None
|
30
|
+
run_id: str
|
31
|
+
_timestamp_finish: dt.datetime | None
|
32
|
+
_timestamp_start: dt.datetime
|
32
33
|
key: Incomplete
|
33
|
-
_dict:
|
34
|
-
_short_dict:
|
34
|
+
_dict: dict[str, Any] | None
|
35
|
+
_short_dict: dict[str, Any] | None
|
35
36
|
def __init__(self, item_id: str | None, config: dict[str, Any] | None, blueprint_inputs: dict[str, Any] | None, context: Context) -> None: ...
|
36
37
|
def set_trace(self, trace: dict[str, deque[TraceElement]] | None) -> None: ...
|
37
38
|
def set_error(self, ex: Exception) -> None: ...
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import aiotractive
|
2
|
+
import asyncio
|
2
3
|
from .const import ATTR_ACTIVITY_LABEL as ATTR_ACTIVITY_LABEL, ATTR_CALORIES as ATTR_CALORIES, ATTR_DAILY_GOAL as ATTR_DAILY_GOAL, ATTR_MINUTES_ACTIVE as ATTR_MINUTES_ACTIVE, ATTR_MINUTES_DAY_SLEEP as ATTR_MINUTES_DAY_SLEEP, ATTR_MINUTES_NIGHT_SLEEP as ATTR_MINUTES_NIGHT_SLEEP, ATTR_MINUTES_REST as ATTR_MINUTES_REST, ATTR_SLEEP_LABEL as ATTR_SLEEP_LABEL, ATTR_TRACKER_STATE as ATTR_TRACKER_STATE, CLIENT_ID as CLIENT_ID, RECONNECT_INTERVAL as RECONNECT_INTERVAL, SERVER_UNAVAILABLE as SERVER_UNAVAILABLE, SWITCH_KEY_MAP as SWITCH_KEY_MAP, TRACKER_HARDWARE_STATUS_UPDATED as TRACKER_HARDWARE_STATUS_UPDATED, TRACKER_POSITION_UPDATED as TRACKER_POSITION_UPDATED, TRACKER_SWITCH_STATUS_UPDATED as TRACKER_SWITCH_STATUS_UPDATED, TRACKER_WELLNESS_STATUS_UPDATED as TRACKER_WELLNESS_STATUS_UPDATED
|
3
4
|
from _typeshed import Incomplete
|
4
5
|
from dataclasses import dataclass
|
@@ -39,7 +40,7 @@ class TractiveClient:
|
|
39
40
|
_user_id: Incomplete
|
40
41
|
_last_hw_time: int
|
41
42
|
_last_pos_time: int
|
42
|
-
_listen_task:
|
43
|
+
_listen_task: asyncio.Task | None
|
43
44
|
_config_entry: Incomplete
|
44
45
|
def __init__(self, hass: HomeAssistant, client: aiotractive.Tractive, user_id: str, config_entry: ConfigEntry) -> None: ...
|
45
46
|
@property
|
@@ -12,11 +12,11 @@ async def async_setup_entry(hass: HomeAssistant, entry: TractiveConfigEntry, asy
|
|
12
12
|
|
13
13
|
class TractiveDeviceTracker(TractiveEntity, TrackerEntity):
|
14
14
|
_attr_translation_key: str
|
15
|
-
_battery_level:
|
15
|
+
_battery_level: int | None
|
16
16
|
_attr_latitude: Incomplete
|
17
17
|
_attr_longitude: Incomplete
|
18
|
-
_attr_location_accuracy:
|
19
|
-
_source_type:
|
18
|
+
_attr_location_accuracy: int
|
19
|
+
_source_type: str
|
20
20
|
_attr_unique_id: Incomplete
|
21
21
|
def __init__(self, client: TractiveClient, item: Trackables) -> None: ...
|
22
22
|
@property
|
@@ -14,7 +14,7 @@ class AuthError(Exception):
|
|
14
14
|
|
15
15
|
class FlowHandler(ConfigFlow, domain=DOMAIN):
|
16
16
|
VERSION: int
|
17
|
-
_host:
|
17
|
+
_host: str | None
|
18
18
|
def __init__(self) -> None: ...
|
19
19
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
20
20
|
async def async_step_auth(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -12,7 +12,7 @@ SCAN_INTERVAL: int
|
|
12
12
|
class TradfriDeviceDataUpdateCoordinator(DataUpdateCoordinator[Device]):
|
13
13
|
api: Incomplete
|
14
14
|
device: Incomplete
|
15
|
-
_exception:
|
15
|
+
_exception: Exception | None
|
16
16
|
def __init__(self, hass: HomeAssistant, *, api: Callable[[Command | list[Command]], Any], device: Device) -> None: ...
|
17
17
|
last_update_success: bool
|
18
18
|
async def set_hub_available(self, available: bool) -> None: ...
|
@@ -16,7 +16,7 @@ def handle_error(func: Callable[[Command | list[Command]], Any]) -> Callable[[Co
|
|
16
16
|
class TradfriBaseEntity(CoordinatorEntity[TradfriDeviceDataUpdateCoordinator], metaclass=abc.ABCMeta):
|
17
17
|
_attr_has_entity_name: bool
|
18
18
|
_gateway_id: Incomplete
|
19
|
-
_device:
|
19
|
+
_device: Device
|
20
20
|
_device_id: Incomplete
|
21
21
|
_api: Incomplete
|
22
22
|
_attr_device_info: Incomplete
|
@@ -1,7 +1,7 @@
|
|
1
1
|
from . import TVFerryConfigEntry as TVFerryConfigEntry
|
2
2
|
from .const import CONF_FROM as CONF_FROM, CONF_TIME as CONF_TIME, CONF_TO as CONF_TO, DOMAIN as DOMAIN
|
3
3
|
from _typeshed import Incomplete
|
4
|
-
from datetime import date
|
4
|
+
from datetime import date, time
|
5
5
|
from homeassistant.const import CONF_API_KEY as CONF_API_KEY, CONF_WEEKDAY as CONF_WEEKDAY, WEEKDAYS as WEEKDAYS
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
7
|
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed
|
@@ -19,9 +19,9 @@ def next_departuredate(departure: list[str]) -> date: ...
|
|
19
19
|
class TVDataUpdateCoordinator(DataUpdateCoordinator):
|
20
20
|
config_entry: TVFerryConfigEntry
|
21
21
|
_ferry_api: Incomplete
|
22
|
-
_from:
|
23
|
-
_to:
|
24
|
-
_time:
|
25
|
-
_weekdays:
|
22
|
+
_from: str
|
23
|
+
_to: str
|
24
|
+
_time: time | None
|
25
|
+
_weekdays: list[str]
|
26
26
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
27
27
|
async def _async_update_data(self) -> dict[str, Any]: ...
|
@@ -3,7 +3,7 @@ from .const import CONF_FILTER_PRODUCT as CONF_FILTER_PRODUCT, CONF_FROM as CONF
|
|
3
3
|
from .util import next_departuredate as next_departuredate
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from dataclasses import dataclass
|
6
|
-
from datetime import datetime
|
6
|
+
from datetime import datetime, time
|
7
7
|
from homeassistant.const import CONF_API_KEY as CONF_API_KEY, CONF_WEEKDAY as CONF_WEEKDAY
|
8
8
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
9
9
|
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed
|
@@ -38,9 +38,9 @@ class TVDataUpdateCoordinator(DataUpdateCoordinator[TrainData]):
|
|
38
38
|
from_station: StationInfoModel
|
39
39
|
to_station: StationInfoModel
|
40
40
|
_train_api: Incomplete
|
41
|
-
_time:
|
42
|
-
_weekdays:
|
43
|
-
_filter_product:
|
41
|
+
_time: time | None
|
42
|
+
_weekdays: list[str]
|
43
|
+
_filter_product: str | None
|
44
44
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
45
45
|
async def _async_setup(self) -> None: ...
|
46
46
|
async def _async_update_data(self) -> TrainData: ...
|
@@ -13,11 +13,11 @@ class TransmissionDataUpdateCoordinator(DataUpdateCoordinator[SessionStats]):
|
|
13
13
|
config_entry: ConfigEntry
|
14
14
|
api: Incomplete
|
15
15
|
host: Incomplete
|
16
|
-
_session:
|
17
|
-
_all_torrents:
|
18
|
-
_completed_torrents:
|
19
|
-
_started_torrents:
|
20
|
-
torrents:
|
16
|
+
_session: transmission_rpc.Session | None
|
17
|
+
_all_torrents: list[transmission_rpc.Torrent]
|
18
|
+
_completed_torrents: list[transmission_rpc.Torrent]
|
19
|
+
_started_torrents: list[transmission_rpc.Torrent]
|
20
|
+
torrents: list[transmission_rpc.Torrent]
|
21
21
|
def __init__(self, hass: HomeAssistant, entry: ConfigEntry, api: transmission_rpc.Client) -> None: ...
|
22
22
|
@property
|
23
23
|
def limit(self) -> int: ...
|
@@ -1,6 +1,7 @@
|
|
1
1
|
from . import PLATFORMS as PLATFORMS
|
2
2
|
from .const import ATTR_GRADIENT as ATTR_GRADIENT, ATTR_INVERT as ATTR_INVERT, ATTR_MIN_GRADIENT as ATTR_MIN_GRADIENT, ATTR_SAMPLE_COUNT as ATTR_SAMPLE_COUNT, ATTR_SAMPLE_DURATION as ATTR_SAMPLE_DURATION, CONF_INVERT as CONF_INVERT, CONF_MAX_SAMPLES as CONF_MAX_SAMPLES, CONF_MIN_GRADIENT as CONF_MIN_GRADIENT, CONF_MIN_SAMPLES as CONF_MIN_SAMPLES, CONF_SAMPLE_DURATION as CONF_SAMPLE_DURATION, DEFAULT_MAX_SAMPLES as DEFAULT_MAX_SAMPLES, DEFAULT_MIN_GRADIENT as DEFAULT_MIN_GRADIENT, DEFAULT_MIN_SAMPLES as DEFAULT_MIN_SAMPLES, DEFAULT_SAMPLE_DURATION as DEFAULT_SAMPLE_DURATION, DOMAIN as DOMAIN
|
3
3
|
from _typeshed import Incomplete
|
4
|
+
from collections import deque
|
4
5
|
from collections.abc import Mapping
|
5
6
|
from homeassistant.components.binary_sensor import BinarySensorDeviceClass as BinarySensorDeviceClass, BinarySensorEntity as BinarySensorEntity, DEVICE_CLASSES_SCHEMA as DEVICE_CLASSES_SCHEMA, ENTITY_ID_FORMAT as ENTITY_ID_FORMAT
|
6
7
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
@@ -37,7 +38,7 @@ class SensorTrend(BinarySensorEntity, RestoreEntity):
|
|
37
38
|
_sample_duration: Incomplete
|
38
39
|
_min_gradient: Incomplete
|
39
40
|
_min_samples: Incomplete
|
40
|
-
samples:
|
41
|
+
samples: deque
|
41
42
|
_attr_name: Incomplete
|
42
43
|
_attr_device_class: Incomplete
|
43
44
|
_attr_unique_id: Incomplete
|
@@ -10,6 +10,7 @@ from homeassistant.components.http import HomeAssistantView
|
|
10
10
|
from homeassistant.core import HomeAssistant
|
11
11
|
from homeassistant.helpers.restore_state import RestoreEntity
|
12
12
|
from homeassistant.helpers.typing import ConfigType
|
13
|
+
from propcache import cached_property
|
13
14
|
from typing import Any, TypedDict
|
14
15
|
|
15
16
|
__all__ = ['async_default_engine', 'async_get_media_source_audio', 'async_support_options', 'ATTR_AUDIO_OUTPUT', 'ATTR_PREFERRED_FORMAT', 'ATTR_PREFERRED_SAMPLE_RATE', 'ATTR_PREFERRED_SAMPLE_CHANNELS', 'ATTR_PREFERRED_SAMPLE_BYTES', 'CONF_LANG', 'DEFAULT_CACHE_DIR', 'generate_media_source_id', 'PLATFORM_SCHEMA_BASE', 'PLATFORM_SCHEMA', 'SampleFormat', 'Provider', 'TtsAudioType', 'Voice']
|
@@ -39,9 +40,13 @@ class TextToSpeechEntity(RestoreEntity, cached_properties=CACHED_PROPERTIES_WITH
|
|
39
40
|
_attr_supported_options: list[str] | None
|
40
41
|
@property
|
41
42
|
def state(self) -> str | None: ...
|
43
|
+
@cached_property
|
42
44
|
def supported_languages(self) -> list[str]: ...
|
45
|
+
@cached_property
|
43
46
|
def default_language(self) -> str: ...
|
47
|
+
@cached_property
|
44
48
|
def supported_options(self) -> list[str] | None: ...
|
49
|
+
@cached_property
|
45
50
|
def default_options(self) -> Mapping[str, Any] | None: ...
|
46
51
|
def async_get_supported_voices(self, language: str) -> list[Voice] | None: ...
|
47
52
|
async def async_internal_added_to_hass(self) -> None: ...
|
@@ -52,14 +57,14 @@ class TextToSpeechEntity(RestoreEntity, cached_properties=CACHED_PROPERTIES_WITH
|
|
52
57
|
|
53
58
|
class SpeechManager:
|
54
59
|
hass: Incomplete
|
55
|
-
providers:
|
60
|
+
providers: dict[str, Provider]
|
56
61
|
use_cache: Incomplete
|
57
62
|
cache_dir: Incomplete
|
58
63
|
time_memory: Incomplete
|
59
|
-
file_cache:
|
60
|
-
mem_cache:
|
61
|
-
filename_to_token:
|
62
|
-
token_to_filename:
|
64
|
+
file_cache: dict[str, str]
|
65
|
+
mem_cache: dict[str, TTSCache]
|
66
|
+
filename_to_token: dict[str, str]
|
67
|
+
token_to_filename: dict[str, str]
|
63
68
|
def __init__(self, hass: HomeAssistant, use_cache: bool, cache_dir: str, time_memory: int) -> None: ...
|
64
69
|
def _init_cache(self) -> dict[str, str]: ...
|
65
70
|
async def async_init_cache(self) -> None: ...
|
@@ -15,8 +15,8 @@ PLATFORM_SCHEMA: Incomplete
|
|
15
15
|
async def async_get_service(hass: HomeAssistant, config: ConfigType, discovery_info: DiscoveryInfoType | None = None) -> TTSNotificationService: ...
|
16
16
|
|
17
17
|
class TTSNotificationService(BaseNotificationService):
|
18
|
-
_target:
|
19
|
-
_tts_service:
|
18
|
+
_target: str | None
|
19
|
+
_tts_service: str | None
|
20
20
|
_media_player: Incomplete
|
21
21
|
_language: Incomplete
|
22
22
|
def __init__(self, config: ConfigType) -> None: ...
|
@@ -15,7 +15,7 @@ class TwenteMilieuCalendar(TwenteMilieuEntity, CalendarEntity):
|
|
15
15
|
_attr_name: Incomplete
|
16
16
|
_attr_translation_key: str
|
17
17
|
_attr_unique_id: Incomplete
|
18
|
-
_event:
|
18
|
+
_event: CalendarEvent | None
|
19
19
|
def __init__(self, entry: TwenteMilieuConfigEntry) -> None: ...
|
20
20
|
@property
|
21
21
|
def event(self) -> CalendarEvent | None: ...
|
@@ -25,9 +25,9 @@ async def async_remove_config_entry_device(hass: HomeAssistant, config_entry: Un
|
|
25
25
|
|
26
26
|
class UnifiWirelessClients:
|
27
27
|
hass: Incomplete
|
28
|
-
data:
|
29
|
-
wireless_clients:
|
30
|
-
_store:
|
28
|
+
data: dict[str, dict[str, list[str]] | list[str]]
|
29
|
+
wireless_clients: set[str]
|
30
|
+
_store: Store
|
31
31
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
32
32
|
async def async_load(self) -> None: ...
|
33
33
|
def is_wireless(self, client: Client) -> bool: ...
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import voluptuous as vol
|
1
2
|
from . import UnifiConfigEntry as UnifiConfigEntry
|
2
3
|
from .const import CONF_ALLOW_BANDWIDTH_SENSORS as CONF_ALLOW_BANDWIDTH_SENSORS, CONF_ALLOW_UPTIME_SENSORS as CONF_ALLOW_UPTIME_SENSORS, CONF_BLOCK_CLIENT as CONF_BLOCK_CLIENT, CONF_CLIENT_SOURCE as CONF_CLIENT_SOURCE, CONF_DETECTION_TIME as CONF_DETECTION_TIME, CONF_DPI_RESTRICTIONS as CONF_DPI_RESTRICTIONS, CONF_IGNORE_WIRED_BUG as CONF_IGNORE_WIRED_BUG, CONF_SITE_ID as CONF_SITE_ID, CONF_SSID_FILTER as CONF_SSID_FILTER, CONF_TRACK_CLIENTS as CONF_TRACK_CLIENTS, CONF_TRACK_DEVICES as CONF_TRACK_DEVICES, CONF_TRACK_WIRED_CLIENTS as CONF_TRACK_WIRED_CLIENTS, DEFAULT_DPI_RESTRICTIONS as DEFAULT_DPI_RESTRICTIONS, DOMAIN as UNIFI_DOMAIN
|
3
4
|
from .errors import AuthenticationRequired as AuthenticationRequired, CannotConnect as CannotConnect
|
@@ -22,8 +23,8 @@ class UnifiFlowHandler(ConfigFlow, domain=UNIFI_DOMAIN):
|
|
22
23
|
sites: Sites
|
23
24
|
@staticmethod
|
24
25
|
def async_get_options_flow(config_entry: UnifiConfigEntry) -> UnifiOptionsFlowHandler: ...
|
25
|
-
config:
|
26
|
-
reauth_schema:
|
26
|
+
config: dict[str, Any]
|
27
|
+
reauth_schema: dict[vol.Marker, Any]
|
27
28
|
def __init__(self) -> None: ...
|
28
29
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
29
30
|
async def async_step_site(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -13,6 +13,7 @@ from homeassistant.components.device_tracker import ScannerEntity as ScannerEnti
|
|
13
13
|
from homeassistant.core import Event as core_Event, HomeAssistant as HomeAssistant, callback as callback
|
14
14
|
from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
|
15
15
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
16
|
+
from propcache import cached_property
|
16
17
|
from typing import Any
|
17
18
|
|
18
19
|
LOGGER: Incomplete
|
@@ -55,7 +56,9 @@ class UnifiScannerEntity(UnifiEntity[HandlerT, ApiItemT], ScannerEntity):
|
|
55
56
|
def hostname(self) -> str | None: ...
|
56
57
|
@property
|
57
58
|
def ip_address(self) -> str | None: ...
|
59
|
+
@cached_property
|
58
60
|
def mac_address(self) -> str: ...
|
61
|
+
@cached_property
|
59
62
|
def unique_id(self) -> str: ...
|
60
63
|
def _make_disconnected(self, *_: core_Event) -> None: ...
|
61
64
|
def async_update_state(self, event: ItemEvent, obj_id: str) -> None: ...
|
@@ -22,8 +22,8 @@ class UnifiEntityHelper:
|
|
22
22
|
class UnifiEntityHeartbeat:
|
23
23
|
CHECK_HEARTBEAT_INTERVAL: Incomplete
|
24
24
|
hass: Incomplete
|
25
|
-
_cancel_heartbeat_check:
|
26
|
-
_heartbeat_time:
|
25
|
+
_cancel_heartbeat_check: CALLBACK_TYPE | None
|
26
|
+
_heartbeat_time: dict[str, datetime]
|
27
27
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
28
28
|
def reset(self) -> None: ...
|
29
29
|
def initialize(self) -> None: ...
|
@@ -37,8 +37,8 @@ class UnifiDeviceCommand:
|
|
37
37
|
COMMAND_DELAY: int
|
38
38
|
hass: Incomplete
|
39
39
|
api: Incomplete
|
40
|
-
_command_queue:
|
41
|
-
_cancel_command:
|
40
|
+
_command_queue: dict[str, dict[int, str]]
|
41
|
+
_cancel_command: CALLBACK_TYPE | None
|
42
42
|
def __init__(self, hass: HomeAssistant, api: aiounifi.Controller) -> None: ...
|
43
43
|
def reset(self) -> None: ...
|
44
44
|
def queue_poe_command(self, device_id: str, port_idx: int, poe_mode: str) -> None: ...
|
@@ -20,8 +20,8 @@ class UnifiEntityLoader:
|
|
20
20
|
wireless_clients: Incomplete
|
21
21
|
_dataUpdateCoordinator: Incomplete
|
22
22
|
_update_listener: Incomplete
|
23
|
-
platforms:
|
24
|
-
known_objects:
|
23
|
+
platforms: list[tuple[AddEntitiesCallback, type[UnifiEntity], tuple[UnifiEntityDescription, ...], bool]]
|
24
|
+
known_objects: set[tuple[str, str]]
|
25
25
|
def __init__(self, hub: UnifiHub) -> None: ...
|
26
26
|
async def initialize(self) -> None: ...
|
27
27
|
async def _refresh_data(self, updaters: Sequence[Callable[[], Coroutine[Any, Any, None]]]) -> None: ...
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import aiounifi
|
2
|
+
import asyncio
|
2
3
|
from ..const import LOGGER as LOGGER
|
3
4
|
from _typeshed import Incomplete
|
4
5
|
from datetime import datetime
|
@@ -13,8 +14,8 @@ class UnifiWebsocket:
|
|
13
14
|
hass: Incomplete
|
14
15
|
api: Incomplete
|
15
16
|
signal: Incomplete
|
16
|
-
ws_task:
|
17
|
-
_cancel_websocket_check:
|
17
|
+
ws_task: asyncio.Task | None
|
18
|
+
_cancel_websocket_check: CALLBACK_TYPE | None
|
18
19
|
available: bool
|
19
20
|
def __init__(self, hass: HomeAssistant, api: aiounifi.Controller, signal: str) -> None: ...
|
20
21
|
def start(self) -> None: ...
|
@@ -27,7 +27,7 @@ class ProtectCamera(ProtectDeviceEntity, Camera):
|
|
27
27
|
channel: Incomplete
|
28
28
|
_secure: Incomplete
|
29
29
|
_disable_stream: Incomplete
|
30
|
-
_last_image:
|
30
|
+
_last_image: bytes | None
|
31
31
|
_attr_unique_id: Incomplete
|
32
32
|
_attr_name: Incomplete
|
33
33
|
_attr_entity_registry_enabled_default: Incomplete
|
@@ -25,7 +25,7 @@ async def _async_console_is_offline(hass: HomeAssistant, entry: ConfigEntry) ->
|
|
25
25
|
|
26
26
|
class ProtectFlowHandler(ConfigFlow, domain=DOMAIN):
|
27
27
|
VERSION: int
|
28
|
-
_discovered_device:
|
28
|
+
_discovered_device: dict[str, str]
|
29
29
|
def __init__(self) -> None: ...
|
30
30
|
async def async_step_dhcp(self, discovery_info: dhcp.DhcpServiceInfo) -> ConfigFlowResult: ...
|
31
31
|
async def async_step_ssdp(self, discovery_info: ssdp.SsdpServiceInfo) -> ConfigFlowResult: ...
|
@@ -1,6 +1,7 @@
|
|
1
1
|
from .const import AUTH_RETRIES as AUTH_RETRIES, CONF_DISABLE_RTSP as CONF_DISABLE_RTSP, CONF_MAX_MEDIA as CONF_MAX_MEDIA, DEFAULT_MAX_MEDIA as DEFAULT_MAX_MEDIA, DEVICES_THAT_ADOPT as DEVICES_THAT_ADOPT, DISPATCH_ADD as DISPATCH_ADD, DISPATCH_ADOPT as DISPATCH_ADOPT, DISPATCH_CHANNELS as DISPATCH_CHANNELS, DOMAIN as DOMAIN
|
2
2
|
from .utils import async_get_devices_by_type as async_get_devices_by_type
|
3
3
|
from _typeshed import Incomplete
|
4
|
+
from collections import defaultdict
|
4
5
|
from collections.abc import Callable as Callable, Generator, Iterable
|
5
6
|
from datetime import datetime, timedelta
|
6
7
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
@@ -23,9 +24,9 @@ class ProtectData:
|
|
23
24
|
_entry: Incomplete
|
24
25
|
_hass: Incomplete
|
25
26
|
_update_interval: Incomplete
|
26
|
-
_subscriptions:
|
27
|
-
_pending_camera_ids:
|
28
|
-
_unsubs:
|
27
|
+
_subscriptions: defaultdict[str, set[Callable[[ProtectDeviceType], None]]]
|
28
|
+
_pending_camera_ids: set[str]
|
29
|
+
_unsubs: list[CALLBACK_TYPE]
|
29
30
|
_auth_failures: int
|
30
31
|
last_update_success: bool
|
31
32
|
api: Incomplete
|