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
@@ -14,7 +14,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_e
|
|
14
14
|
class CanaryAlarm(CoordinatorEntity[CanaryDataUpdateCoordinator], AlarmControlPanelEntity):
|
15
15
|
_attr_supported_features: Incomplete
|
16
16
|
_attr_code_arm_required: bool
|
17
|
-
_location_id:
|
17
|
+
_location_id: str
|
18
18
|
_attr_name: Incomplete
|
19
19
|
_attr_unique_id: Incomplete
|
20
20
|
def __init__(self, coordinator: CanaryDataUpdateCoordinator, location: Location) -> None: ...
|
@@ -22,15 +22,15 @@ _LOGGER: Incomplete
|
|
22
22
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
23
23
|
|
24
24
|
class CanaryCamera(CoordinatorEntity[CanaryDataUpdateCoordinator], Camera):
|
25
|
-
_ffmpeg:
|
25
|
+
_ffmpeg: FFmpegManager
|
26
26
|
_ffmpeg_arguments: Incomplete
|
27
27
|
_location_id: Incomplete
|
28
28
|
_device: Incomplete
|
29
|
-
_live_stream_session:
|
29
|
+
_live_stream_session: LiveStreamSession | None
|
30
30
|
_attr_name: Incomplete
|
31
31
|
_attr_unique_id: Incomplete
|
32
32
|
_attr_device_info: Incomplete
|
33
|
-
_image:
|
33
|
+
_image: bytes | None
|
34
34
|
_expires_at: Incomplete
|
35
35
|
def __init__(self, hass: HomeAssistant, coordinator: CanaryDataUpdateCoordinator, location_id: str, device: Device, ffmpeg_args: str) -> None: ...
|
36
36
|
@property
|
@@ -11,7 +11,7 @@ _LOGGER: Incomplete
|
|
11
11
|
|
12
12
|
class CertexpiryConfigFlow(ConfigFlow, domain=DOMAIN):
|
13
13
|
VERSION: int
|
14
|
-
_errors:
|
14
|
+
_errors: dict[str, str]
|
15
15
|
def __init__(self) -> None: ...
|
16
16
|
async def _test_connection(self, user_input: Mapping[str, Any]) -> bool: ...
|
17
17
|
async def async_step_user(self, user_input: Mapping[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -11,7 +11,7 @@ _LOGGER: Incomplete
|
|
11
11
|
class CertExpiryDataUpdateCoordinator(DataUpdateCoordinator[datetime | None]):
|
12
12
|
host: Incomplete
|
13
13
|
port: Incomplete
|
14
|
-
cert_error:
|
14
|
+
cert_error: ValidationFailure | None
|
15
15
|
is_cert_valid: bool
|
16
16
|
def __init__(self, hass: HomeAssistant, host: str, port: int) -> None: ...
|
17
17
|
async def _async_update_data(self) -> datetime | None: ...
|
@@ -13,7 +13,7 @@ PLATFORM_SCHEMA: Incomplete
|
|
13
13
|
def get_service(hass: HomeAssistant, config: ConfigType, discovery_info: DiscoveryInfoType | None = None) -> ClickatellNotificationService: ...
|
14
14
|
|
15
15
|
class ClickatellNotificationService(BaseNotificationService):
|
16
|
-
api_key:
|
17
|
-
recipient:
|
16
|
+
api_key: str
|
17
|
+
recipient: str
|
18
18
|
def __init__(self, config: ConfigType) -> None: ...
|
19
19
|
def send_message(self, message: str = '', **kwargs: Any) -> None: ...
|
@@ -15,10 +15,10 @@ PLATFORM_SCHEMA: Incomplete
|
|
15
15
|
def get_service(hass: HomeAssistant, config: ConfigType, discovery_info: DiscoveryInfoType | None = None) -> ClicksendNotificationService | None: ...
|
16
16
|
|
17
17
|
class ClicksendNotificationService(BaseNotificationService):
|
18
|
-
username:
|
19
|
-
api_key:
|
20
|
-
recipients:
|
21
|
-
sender:
|
18
|
+
username: str
|
19
|
+
api_key: str
|
20
|
+
recipients: list[str]
|
21
|
+
sender: str
|
22
22
|
def __init__(self, config: ConfigType) -> None: ...
|
23
23
|
def send_message(self, message: str = '', **kwargs: Any) -> None: ...
|
24
24
|
|
@@ -10,6 +10,7 @@ from homeassistant.helpers.typing import ConfigType as ConfigType
|
|
10
10
|
from homeassistant.loader import async_get_issue_tracker as async_get_issue_tracker, async_suggest_report_issue as async_suggest_report_issue
|
11
11
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
12
12
|
from homeassistant.util.unit_conversion import TemperatureConverter as TemperatureConverter
|
13
|
+
from propcache import cached_property
|
13
14
|
from typing import Any, Literal
|
14
15
|
|
15
16
|
_LOGGER: Incomplete
|
@@ -32,7 +33,6 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
|
|
32
33
|
|
33
34
|
class ClimateEntityDescription(EntityDescription, frozen_or_thawed=True):
|
34
35
|
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: ...
|
35
|
-
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: ...
|
36
36
|
|
37
37
|
CACHED_PROPERTIES_WITH_ATTR_: Incomplete
|
38
38
|
|
@@ -75,25 +75,45 @@ class ClimateEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
|
75
75
|
def capability_attributes(self) -> dict[str, Any] | None: ...
|
76
76
|
@property
|
77
77
|
def state_attributes(self) -> dict[str, Any]: ...
|
78
|
+
@cached_property
|
78
79
|
def temperature_unit(self) -> str: ...
|
80
|
+
@cached_property
|
79
81
|
def current_humidity(self) -> float | None: ...
|
82
|
+
@cached_property
|
80
83
|
def target_humidity(self) -> float | None: ...
|
84
|
+
@cached_property
|
81
85
|
def hvac_mode(self) -> HVACMode | None: ...
|
86
|
+
@cached_property
|
82
87
|
def hvac_modes(self) -> list[HVACMode]: ...
|
88
|
+
@cached_property
|
83
89
|
def hvac_action(self) -> HVACAction | None: ...
|
90
|
+
@cached_property
|
84
91
|
def current_temperature(self) -> float | None: ...
|
92
|
+
@cached_property
|
85
93
|
def target_temperature(self) -> float | None: ...
|
94
|
+
@cached_property
|
86
95
|
def target_temperature_step(self) -> float | None: ...
|
96
|
+
@cached_property
|
87
97
|
def target_temperature_high(self) -> float | None: ...
|
98
|
+
@cached_property
|
88
99
|
def target_temperature_low(self) -> float | None: ...
|
100
|
+
@cached_property
|
89
101
|
def preset_mode(self) -> str | None: ...
|
102
|
+
@cached_property
|
90
103
|
def preset_modes(self) -> list[str] | None: ...
|
104
|
+
@cached_property
|
91
105
|
def is_aux_heat(self) -> bool | None: ...
|
106
|
+
@cached_property
|
92
107
|
def fan_mode(self) -> str | None: ...
|
108
|
+
@cached_property
|
93
109
|
def fan_modes(self) -> list[str] | None: ...
|
110
|
+
@cached_property
|
94
111
|
def swing_mode(self) -> str | None: ...
|
112
|
+
@cached_property
|
95
113
|
def swing_modes(self) -> list[str] | None: ...
|
114
|
+
@cached_property
|
96
115
|
def swing_horizontal_mode(self) -> str | None: ...
|
116
|
+
@cached_property
|
97
117
|
def swing_horizontal_modes(self) -> list[str] | None: ...
|
98
118
|
def _valid_mode_or_raise(self, mode_type: Literal['preset', 'horizontal_swing', 'swing', 'fan', 'hvac'], mode: str | HVACMode, modes: list[str] | list[HVACMode] | None) -> None: ...
|
99
119
|
def set_temperature(self, **kwargs: Any) -> None: ...
|
@@ -125,10 +145,15 @@ class ClimateEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
|
125
145
|
async def async_turn_off(self) -> None: ...
|
126
146
|
def toggle(self) -> None: ...
|
127
147
|
async def async_toggle(self) -> None: ...
|
148
|
+
@cached_property
|
128
149
|
def supported_features(self) -> ClimateEntityFeature: ...
|
150
|
+
@cached_property
|
129
151
|
def min_temp(self) -> float: ...
|
152
|
+
@cached_property
|
130
153
|
def max_temp(self) -> float: ...
|
154
|
+
@cached_property
|
131
155
|
def min_humidity(self) -> float: ...
|
156
|
+
@cached_property
|
132
157
|
def max_humidity(self) -> float: ...
|
133
158
|
|
134
159
|
async def async_service_aux_heat(entity: ClimateEntity, service_call: ServiceCall) -> None: ...
|
@@ -37,10 +37,10 @@ class CloudAlexaConfig(alexa_config.AbstractConfig):
|
|
37
37
|
_prefs: Incomplete
|
38
38
|
_cloud: Incomplete
|
39
39
|
_token: Incomplete
|
40
|
-
_token_valid:
|
40
|
+
_token_valid: datetime | None
|
41
41
|
_cur_entity_prefs: Incomplete
|
42
|
-
_alexa_sync_unsub:
|
43
|
-
_endpoint:
|
42
|
+
_alexa_sync_unsub: Callable[[], None] | None
|
43
|
+
_endpoint: str | URL | None
|
44
44
|
def __init__(self, hass: HomeAssistant, config: dict, cloud_user: str, prefs: CloudPreferences, cloud: Cloud[CloudClient]) -> None: ...
|
45
45
|
@property
|
46
46
|
def enabled(self) -> bool: ...
|
@@ -27,12 +27,12 @@ class CloudClient(Interface):
|
|
27
27
|
_websession: Incomplete
|
28
28
|
google_user_config: Incomplete
|
29
29
|
alexa_user_config: Incomplete
|
30
|
-
_alexa_config:
|
31
|
-
_google_config:
|
30
|
+
_alexa_config: alexa_config.CloudAlexaConfig | None
|
31
|
+
_google_config: google_config.CloudGoogleConfig | None
|
32
32
|
_alexa_config_init_lock: Incomplete
|
33
33
|
_google_config_init_lock: Incomplete
|
34
|
-
_relayer_region:
|
35
|
-
_cloud_ice_servers_listener:
|
34
|
+
_relayer_region: str | None
|
35
|
+
_cloud_ice_servers_listener: Callable[[], None] | None
|
36
36
|
def __init__(self, hass: HomeAssistant, prefs: CloudPreferences, websession: aiohttp.ClientSession, alexa_user_config: dict[str, Any], google_user_config: dict[str, Any]) -> None: ...
|
37
37
|
@property
|
38
38
|
def base_path(self) -> Path: ...
|
@@ -23,8 +23,8 @@ class CloudPreferences:
|
|
23
23
|
_prefs: dict[str, Any]
|
24
24
|
_hass: Incomplete
|
25
25
|
_store: Incomplete
|
26
|
-
_listeners:
|
27
|
-
last_updated:
|
26
|
+
_listeners: list[Callable[[CloudPreferences], Coroutine[Any, Any, None]]]
|
27
|
+
last_updated: set[str]
|
28
28
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
29
29
|
async def async_initialize(self) -> None: ...
|
30
30
|
def async_listen_updates(self, listener: Callable[[CloudPreferences], Coroutine[Any, Any, None]]) -> Callable[[], None]: ...
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import asyncio
|
1
2
|
from .const import CONF_COMMAND_TIMEOUT as CONF_COMMAND_TIMEOUT, LOGGER as LOGGER, TRIGGER_ENTITY_OPTIONS as TRIGGER_ENTITY_OPTIONS
|
2
3
|
from .sensor import CommandSensorData as CommandSensorData
|
3
4
|
from _typeshed import Incomplete
|
@@ -26,7 +27,7 @@ class CommandBinarySensor(ManualTriggerEntity, BinarySensorEntity):
|
|
26
27
|
_payload_off: Incomplete
|
27
28
|
_value_template: Incomplete
|
28
29
|
_scan_interval: Incomplete
|
29
|
-
_process_updates:
|
30
|
+
_process_updates: asyncio.Lock | None
|
30
31
|
def __init__(self, data: CommandSensorData, config: ConfigType, payload_on: str, payload_off: str, value_template: Template | None, scan_interval: timedelta) -> None: ...
|
31
32
|
async def async_added_to_hass(self) -> None: ...
|
32
33
|
async def _update_entity_state(self, now: datetime | None = None) -> None: ...
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import asyncio
|
1
2
|
from .const import CONF_COMMAND_TIMEOUT as CONF_COMMAND_TIMEOUT, LOGGER as LOGGER, TRIGGER_ENTITY_OPTIONS as TRIGGER_ENTITY_OPTIONS
|
2
3
|
from .utils import async_call_shell_with_timeout as async_call_shell_with_timeout, async_check_output_or_log as async_check_output_or_log
|
3
4
|
from _typeshed import Incomplete
|
@@ -19,7 +20,7 @@ async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_ad
|
|
19
20
|
|
20
21
|
class CommandCover(ManualTriggerEntity, CoverEntity):
|
21
22
|
_attr_should_poll: bool
|
22
|
-
_state:
|
23
|
+
_state: int | None
|
23
24
|
_command_open: Incomplete
|
24
25
|
_command_close: Incomplete
|
25
26
|
_command_stop: Incomplete
|
@@ -27,7 +28,7 @@ class CommandCover(ManualTriggerEntity, CoverEntity):
|
|
27
28
|
_value_template: Incomplete
|
28
29
|
_timeout: Incomplete
|
29
30
|
_scan_interval: Incomplete
|
30
|
-
_process_updates:
|
31
|
+
_process_updates: asyncio.Lock | None
|
31
32
|
def __init__(self, config: ConfigType, command_open: str, command_close: str, command_stop: str, command_state: str | None, value_template: Template | None, timeout: int, scan_interval: timedelta) -> None: ...
|
32
33
|
async def async_added_to_hass(self) -> None: ...
|
33
34
|
async def _async_move_cover(self, command: str) -> bool: ...
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import asyncio
|
1
2
|
from .const import CONF_COMMAND_TIMEOUT as CONF_COMMAND_TIMEOUT, CONF_JSON_ATTRIBUTES as CONF_JSON_ATTRIBUTES, CONF_JSON_ATTRIBUTES_PATH as CONF_JSON_ATTRIBUTES_PATH, LOGGER as LOGGER, TRIGGER_ENTITY_OPTIONS as TRIGGER_ENTITY_OPTIONS
|
2
3
|
from .utils import async_check_output_or_log as async_check_output_or_log
|
3
4
|
from _typeshed import Incomplete
|
@@ -22,13 +23,13 @@ async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_ad
|
|
22
23
|
class CommandSensor(ManualTriggerSensorEntity):
|
23
24
|
_attr_should_poll: bool
|
24
25
|
data: Incomplete
|
25
|
-
_attr_extra_state_attributes:
|
26
|
+
_attr_extra_state_attributes: dict[str, Any]
|
26
27
|
_json_attributes: Incomplete
|
27
28
|
_json_attributes_path: Incomplete
|
28
29
|
_attr_native_value: Incomplete
|
29
30
|
_value_template: Incomplete
|
30
31
|
_scan_interval: Incomplete
|
31
|
-
_process_updates:
|
32
|
+
_process_updates: asyncio.Lock | None
|
32
33
|
def __init__(self, data: CommandSensorData, config: ConfigType, value_template: Template | None, json_attributes: list[str] | None, json_attributes_path: str | None, scan_interval: timedelta) -> None: ...
|
33
34
|
@property
|
34
35
|
def extra_state_attributes(self) -> dict[str, Any]: ...
|
@@ -38,7 +39,7 @@ class CommandSensor(ManualTriggerSensorEntity):
|
|
38
39
|
async def async_update(self) -> None: ...
|
39
40
|
|
40
41
|
class CommandSensorData:
|
41
|
-
value:
|
42
|
+
value: str | None
|
42
43
|
hass: Incomplete
|
43
44
|
command: Incomplete
|
44
45
|
timeout: Incomplete
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import asyncio
|
1
2
|
from .const import CONF_COMMAND_TIMEOUT as CONF_COMMAND_TIMEOUT, LOGGER as LOGGER, TRIGGER_ENTITY_OPTIONS as TRIGGER_ENTITY_OPTIONS
|
2
3
|
from .utils import async_call_shell_with_timeout as async_call_shell_with_timeout, async_check_output_or_log as async_check_output_or_log
|
3
4
|
from _typeshed import Incomplete
|
@@ -27,7 +28,7 @@ class CommandSwitch(ManualTriggerEntity, SwitchEntity):
|
|
27
28
|
_value_template: Incomplete
|
28
29
|
_timeout: Incomplete
|
29
30
|
_scan_interval: Incomplete
|
30
|
-
_process_updates:
|
31
|
+
_process_updates: asyncio.Lock | None
|
31
32
|
def __init__(self, config: ConfigType, object_id: str, command_on: str, command_off: str, command_state: str | None, value_template: Template | None, timeout: int, scan_interval: timedelta) -> None: ...
|
32
33
|
async def async_added_to_hass(self) -> None: ...
|
33
34
|
async def _switch(self, command: str) -> bool: ...
|
@@ -39,7 +39,7 @@ def _get_requests(hass: HomeAssistant) -> dict[str, Configurator]: ...
|
|
39
39
|
class Configurator:
|
40
40
|
hass: Incomplete
|
41
41
|
_cur_id: int
|
42
|
-
_requests:
|
42
|
+
_requests: dict[str, tuple[str, list[dict[str, str]], ConfiguratorCallback | None]]
|
43
43
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
44
44
|
def async_request_config(self, name: str, callback: ConfiguratorCallback | None, description: str | None, submit_caption: str | None, fields: list[dict[str, str]] | None, entity_picture: str | None) -> str: ...
|
45
45
|
def async_notify_errors(self, request_id: str, error: str) -> None: ...
|
@@ -44,8 +44,8 @@ class CounterStorageCollection(collection.DictStorageCollection):
|
|
44
44
|
class Counter(collection.CollectionEntity, RestoreEntity):
|
45
45
|
_attr_should_poll: bool
|
46
46
|
editable: bool
|
47
|
-
_config:
|
48
|
-
_state:
|
47
|
+
_config: ConfigType
|
48
|
+
_state: int | None
|
49
49
|
def __init__(self, config: ConfigType) -> None: ...
|
50
50
|
@classmethod
|
51
51
|
def from_storage(cls, config: ConfigType) -> Self: ...
|
@@ -11,6 +11,7 @@ from homeassistant.helpers.entity_component import EntityComponent as EntityComp
|
|
11
11
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
12
12
|
from homeassistant.loader import bind_hass as bind_hass
|
13
13
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
14
|
+
from propcache import cached_property
|
14
15
|
from typing import Any
|
15
16
|
|
16
17
|
_LOGGER: Incomplete
|
@@ -67,9 +68,8 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ..
|
|
67
68
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
68
69
|
|
69
70
|
class CoverEntityDescription(EntityDescription, frozen_or_thawed=True):
|
70
|
-
device_class: CoverDeviceClass | None
|
71
|
+
device_class: CoverDeviceClass | None = ...
|
71
72
|
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: ...
|
72
|
-
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: ...
|
73
73
|
|
74
74
|
CACHED_PROPERTIES_WITH_ATTR_: Incomplete
|
75
75
|
|
@@ -84,8 +84,11 @@ class CoverEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
|
84
84
|
_attr_state: None
|
85
85
|
_attr_supported_features: CoverEntityFeature | None
|
86
86
|
_cover_is_last_toggle_direction_open: bool
|
87
|
+
@cached_property
|
87
88
|
def current_cover_position(self) -> int | None: ...
|
89
|
+
@cached_property
|
88
90
|
def current_cover_tilt_position(self) -> int | None: ...
|
91
|
+
@cached_property
|
89
92
|
def device_class(self) -> CoverDeviceClass | None: ...
|
90
93
|
@property
|
91
94
|
def state(self) -> str | None: ...
|
@@ -93,8 +96,11 @@ class CoverEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
|
93
96
|
def state_attributes(self) -> dict[str, Any]: ...
|
94
97
|
@property
|
95
98
|
def supported_features(self) -> CoverEntityFeature: ...
|
99
|
+
@cached_property
|
96
100
|
def is_opening(self) -> bool | None: ...
|
101
|
+
@cached_property
|
97
102
|
def is_closing(self) -> bool | None: ...
|
103
|
+
@cached_property
|
98
104
|
def is_closed(self) -> bool | None: ...
|
99
105
|
def open_cover(self, **kwargs: Any) -> None: ...
|
100
106
|
async def async_open_cover(self, **kwargs: Any) -> None: ...
|
@@ -18,8 +18,8 @@ class BaseCrownstoneFlowHandler(ConfigEntryBaseFlow):
|
|
18
18
|
cloud: CrownstoneCloud
|
19
19
|
flow_type: Incomplete
|
20
20
|
create_entry_callback: Incomplete
|
21
|
-
usb_path:
|
22
|
-
usb_sphere_id:
|
21
|
+
usb_path: str | None
|
22
|
+
usb_sphere_id: str | None
|
23
23
|
def __init__(self, flow_type: str, create_entry_cb: Callable[[], ConfigFlowResult]) -> None: ...
|
24
24
|
async def async_step_usb_config(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
25
25
|
async def async_step_usb_manual_config(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -29,7 +29,7 @@ class CrownstoneConfigFlowHandler(BaseCrownstoneFlowHandler, ConfigFlow, domain=
|
|
29
29
|
VERSION: int
|
30
30
|
@staticmethod
|
31
31
|
def async_get_options_flow(config_entry: ConfigEntry) -> CrownstoneOptionsFlowHandler: ...
|
32
|
-
login_info:
|
32
|
+
login_info: dict[str, Any]
|
33
33
|
def __init__(self) -> None: ...
|
34
34
|
cloud: Incomplete
|
35
35
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -38,6 +38,6 @@ class CrownstoneConfigFlowHandler(BaseCrownstoneFlowHandler, ConfigFlow, domain=
|
|
38
38
|
class CrownstoneOptionsFlowHandler(BaseCrownstoneFlowHandler, OptionsFlow):
|
39
39
|
options: Incomplete
|
40
40
|
def __init__(self, config_entry: ConfigEntry) -> None: ...
|
41
|
-
cloud:
|
41
|
+
cloud: CrownstoneCloud
|
42
42
|
async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
43
43
|
def async_create_new_entry(self) -> ConfigFlowResult: ...
|
@@ -12,6 +12,7 @@ from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant, c
|
|
12
12
|
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
13
13
|
from homeassistant.helpers import aiohttp_client as aiohttp_client
|
14
14
|
from homeassistant.helpers.dispatcher import async_dispatcher_send as async_dispatcher_send
|
15
|
+
from typing import Any
|
15
16
|
|
16
17
|
_LOGGER: Incomplete
|
17
18
|
|
@@ -21,8 +22,8 @@ class CrownstoneEntryManager:
|
|
21
22
|
sse: CrownstoneSSEAsync
|
22
23
|
hass: Incomplete
|
23
24
|
config_entry: Incomplete
|
24
|
-
listeners:
|
25
|
-
usb_sphere_id:
|
25
|
+
listeners: dict[str, Any]
|
26
|
+
usb_sphere_id: str | None
|
26
27
|
def __init__(self, hass: HomeAssistant, config_entry: ConfigEntry) -> None: ...
|
27
28
|
async def async_setup(self) -> bool: ...
|
28
29
|
async def async_process_events(self, sse_client: CrownstoneSSEAsync) -> None: ...
|
@@ -1,22 +1,25 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
2
2
|
from datetime import date
|
3
3
|
from homeassistant.helpers.entity import Entity, EntityDescription
|
4
|
+
from propcache import cached_property
|
4
5
|
|
5
6
|
__all__ = ['DOMAIN', 'DateEntity', 'DateEntityDescription']
|
6
7
|
|
7
8
|
class DateEntityDescription(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 DateEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
12
12
|
entity_description: DateEntityDescription
|
13
13
|
_attr_device_class: None
|
14
14
|
_attr_native_value: date | 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) -> date | None: ...
|
21
24
|
def set_value(self, value: date) -> None: ...
|
22
25
|
async def async_set_value(self, value: date) -> None: ...
|
@@ -1,22 +1,25 @@
|
|
1
1
|
from .const import ATTR_DATETIME as ATTR_DATETIME, DOMAIN as DOMAIN
|
2
2
|
from datetime import datetime
|
3
3
|
from homeassistant.helpers.entity import Entity, EntityDescription
|
4
|
+
from propcache import cached_property
|
4
5
|
|
5
6
|
__all__ = ['ATTR_DATETIME', 'DOMAIN', 'DateTimeEntity', 'DateTimeEntityDescription']
|
6
7
|
|
7
8
|
class DateTimeEntityDescription(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 DateTimeEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
12
12
|
entity_description: DateTimeEntityDescription
|
13
13
|
_attr_device_class: None
|
14
14
|
_attr_state: None
|
15
15
|
_attr_native_value: datetime | 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) -> datetime | None: ...
|
21
24
|
def set_value(self, value: datetime) -> None: ...
|
22
25
|
async def async_set_value(self, value: datetime) -> None: ...
|
@@ -23,7 +23,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, asyn
|
|
23
23
|
|
24
24
|
class DeconzSceneButton(DeconzSceneMixin, ButtonEntity):
|
25
25
|
TYPE = BUTTON_DOMAIN
|
26
|
-
entity_description:
|
26
|
+
entity_description: DeconzButtonDescription
|
27
27
|
_attr_name: Incomplete
|
28
28
|
def __init__(self, device: PydeconzScene, hub: DeconzHub, description: DeconzButtonDescription) -> None: ...
|
29
29
|
async def async_press(self) -> None: ...
|
@@ -25,7 +25,7 @@ def async_unload_events(hub: DeconzHub) -> None: ...
|
|
25
25
|
class DeconzEventBase(DeconzBase):
|
26
26
|
_unsubscribe: Incomplete
|
27
27
|
device: Incomplete
|
28
|
-
device_id:
|
28
|
+
device_id: str | None
|
29
29
|
event_id: Incomplete
|
30
30
|
def __init__(self, device: AncillaryControl | Presence | RelativeRotary | Switch, hub: DeconzHub) -> None: ...
|
31
31
|
def async_will_remove_from_hass(self) -> None: ...
|
@@ -13,7 +13,7 @@ from pydeconz.models.sensor import SensorBase as PydeconzSensorBase
|
|
13
13
|
type _DeviceType = PydeconzGroup | PydeconzLightBase | PydeconzSensorBase | PydeconzScene
|
14
14
|
class DeconzBase[_DeviceT: _DeviceType]:
|
15
15
|
unique_id_suffix: str | None
|
16
|
-
_device:
|
16
|
+
_device: _DeviceT
|
17
17
|
hub: Incomplete
|
18
18
|
def __init__(self, device: _DeviceT, hub: DeconzHub) -> None: ...
|
19
19
|
@property
|
@@ -21,12 +21,12 @@ class DeconzHub:
|
|
21
21
|
available: bool
|
22
22
|
ignore_state_updates: bool
|
23
23
|
signal_reachable: Incomplete
|
24
|
-
deconz_ids:
|
25
|
-
entities:
|
26
|
-
events:
|
27
|
-
clip_sensors:
|
28
|
-
deconz_groups:
|
29
|
-
ignored_devices:
|
24
|
+
deconz_ids: dict[str, str]
|
25
|
+
entities: dict[str, set[str]]
|
26
|
+
events: list[DeconzAlarmEvent | DeconzEvent | DeconzPresenceEvent | DeconzRelativeRotaryEvent]
|
27
|
+
clip_sensors: set[tuple[Callable[[EventType, str], None], str]]
|
28
|
+
deconz_groups: set[tuple[Callable[[EventType, str], None], str]]
|
29
|
+
ignored_devices: set[tuple[Callable[[EventType, str], None], str]]
|
30
30
|
def __init__(self, hass: HomeAssistant, config_entry: ConfigEntry, api: DeconzSession) -> None: ...
|
31
31
|
@staticmethod
|
32
32
|
def get_hub(hass: HomeAssistant, config_entry: ConfigEntry) -> DeconzHub: ...
|
@@ -40,8 +40,8 @@ class DeconzBaseLight[_LightDeviceT: Group | Light](DeconzDevice[_LightDeviceT],
|
|
40
40
|
_attr_color_mode: Incomplete
|
41
41
|
_attr_min_color_temp_kelvin = DEFAULT_MIN_KELVIN
|
42
42
|
_attr_max_color_temp_kelvin = DEFAULT_MAX_KELVIN
|
43
|
-
api:
|
44
|
-
_attr_supported_color_modes:
|
43
|
+
api: GroupHandler | LightHandler
|
44
|
+
_attr_supported_color_modes: set[ColorMode]
|
45
45
|
_attr_effect_list: Incomplete
|
46
46
|
def __init__(self, device: _LightDeviceT, hub: DeconzHub) -> None: ...
|
47
47
|
@property
|
@@ -20,13 +20,13 @@ class DemoCover(CoverEntity):
|
|
20
20
|
_position: Incomplete
|
21
21
|
_attr_device_class: Incomplete
|
22
22
|
_attr_supported_features: Incomplete
|
23
|
-
_set_position:
|
24
|
-
_set_tilt_position:
|
23
|
+
_set_position: int | None
|
24
|
+
_set_tilt_position: int | None
|
25
25
|
_tilt_position: Incomplete
|
26
26
|
_requested_closing: bool
|
27
27
|
_requested_closing_tilt: bool
|
28
|
-
_unsub_listener_cover:
|
29
|
-
_unsub_listener_cover_tilt:
|
28
|
+
_unsub_listener_cover: CALLBACK_TYPE | None
|
29
|
+
_unsub_listener_cover_tilt: CALLBACK_TYPE | None
|
30
30
|
_is_opening: bool
|
31
31
|
_is_closing: bool
|
32
32
|
_closed: bool
|
@@ -20,11 +20,11 @@ class BaseDemoFan(FanEntity):
|
|
20
20
|
hass: Incomplete
|
21
21
|
_unique_id: Incomplete
|
22
22
|
_attr_supported_features: Incomplete
|
23
|
-
_percentage:
|
23
|
+
_percentage: int | None
|
24
24
|
_preset_modes: Incomplete
|
25
|
-
_preset_mode:
|
26
|
-
_oscillating:
|
27
|
-
_direction:
|
25
|
+
_preset_mode: str | None
|
26
|
+
_oscillating: bool | None
|
27
|
+
_direction: str | None
|
28
28
|
_attr_name: Incomplete
|
29
29
|
def __init__(self, hass: HomeAssistant, unique_id: str, name: str, supported_features: FanEntityFeature, preset_modes: list[str] | None) -> None: ...
|
30
30
|
@property
|
@@ -19,7 +19,7 @@ def setup_platform(hass: HomeAssistant, config: ConfigType, add_entities: AddEnt
|
|
19
19
|
class DemoManager:
|
20
20
|
_hass: Incomplete
|
21
21
|
_add_entities: Incomplete
|
22
|
-
_managed_devices:
|
22
|
+
_managed_devices: list[DemoGeolocationEvent]
|
23
23
|
def __init__(self, hass: HomeAssistant, add_entities: AddEntitiesCallback) -> None: ...
|
24
24
|
def _generate_random_event(self) -> DemoGeolocationEvent: ...
|
25
25
|
def _init_regular_updates(self) -> None: ...
|
@@ -45,7 +45,7 @@ class DemoYoutubePlayer(AbstractDemoPlayer):
|
|
45
45
|
_attr_media_content_id: Incomplete
|
46
46
|
_attr_media_title: Incomplete
|
47
47
|
_attr_media_duration: Incomplete
|
48
|
-
_progress:
|
48
|
+
_progress: int | None
|
49
49
|
_progress_updated_at: Incomplete
|
50
50
|
def __init__(self, name: str, youtube_id: str, media_title: str, duration: int) -> None: ...
|
51
51
|
@property
|
@@ -66,7 +66,7 @@ class DemoMusicPlayer(AbstractDemoPlayer):
|
|
66
66
|
_attr_supported_features = MUSIC_PLAYER_SUPPORT
|
67
67
|
tracks: Incomplete
|
68
68
|
_cur_track: int
|
69
|
-
_attr_group_members:
|
69
|
+
_attr_group_members: list[str]
|
70
70
|
_attr_repeat: Incomplete
|
71
71
|
def __init__(self, name: str = 'Walkman') -> None: ...
|
72
72
|
@property
|
@@ -13,7 +13,7 @@ class DemoRemote(RemoteEntity):
|
|
13
13
|
_attr_should_poll: bool
|
14
14
|
_attr_name: Incomplete
|
15
15
|
_attr_is_on: Incomplete
|
16
|
-
_last_command_sent:
|
16
|
+
_last_command_sent: str | None
|
17
17
|
def __init__(self, name: str | None, state: bool) -> None: ...
|
18
18
|
@property
|
19
19
|
def extra_state_attributes(self) -> dict[str, Any] | None: ...
|
@@ -27,7 +27,7 @@ class StateDemoVacuum(StateVacuumEntity):
|
|
27
27
|
_attr_supported_features: Incomplete
|
28
28
|
_attr_activity: Incomplete
|
29
29
|
_fan_speed: Incomplete
|
30
|
-
_cleaned_area:
|
30
|
+
_cleaned_area: float
|
31
31
|
_battery_level: int
|
32
32
|
def __init__(self, name: str, supported_features: VacuumEntityFeature) -> None: ...
|
33
33
|
@property
|
@@ -1,6 +1,7 @@
|
|
1
1
|
from .const import CONF_ROUND_DIGITS as CONF_ROUND_DIGITS, CONF_TIME_WINDOW as CONF_TIME_WINDOW, CONF_UNIT as CONF_UNIT, CONF_UNIT_PREFIX as CONF_UNIT_PREFIX, CONF_UNIT_TIME as CONF_UNIT_TIME
|
2
2
|
from _typeshed import Incomplete
|
3
|
-
from datetime import timedelta
|
3
|
+
from datetime import datetime, timedelta
|
4
|
+
from decimal import Decimal
|
4
5
|
from homeassistant.components.sensor import ATTR_STATE_CLASS as ATTR_STATE_CLASS, RestoreSensor as RestoreSensor, SensorEntity as SensorEntity, SensorStateClass as SensorStateClass
|
5
6
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
7
|
from homeassistant.const import ATTR_UNIT_OF_MEASUREMENT as ATTR_UNIT_OF_MEASUREMENT, CONF_NAME as CONF_NAME, CONF_SOURCE as CONF_SOURCE, STATE_UNAVAILABLE as STATE_UNAVAILABLE, STATE_UNKNOWN as STATE_UNKNOWN, UnitOfTime as UnitOfTime
|
@@ -30,7 +31,7 @@ class DerivativeSensor(RestoreSensor, SensorEntity):
|
|
30
31
|
_sensor_source_id: Incomplete
|
31
32
|
_round_digits: Incomplete
|
32
33
|
_attr_native_value: Incomplete
|
33
|
-
_state_list:
|
34
|
+
_state_list: list[tuple[datetime, datetime, Decimal]]
|
34
35
|
_attr_name: Incomplete
|
35
36
|
_attr_extra_state_attributes: Incomplete
|
36
37
|
_unit_template: Incomplete
|