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
@@ -9,7 +9,7 @@ from sensoterra.probe import Probe, Sensor as Sensor
|
|
9
9
|
|
10
10
|
class SensoterraCoordinator(DataUpdateCoordinator[list[Probe]]):
|
11
11
|
api: Incomplete
|
12
|
-
add_devices_callback:
|
12
|
+
add_devices_callback: Callable[[list[Probe]], None] | None
|
13
13
|
def __init__(self, hass: HomeAssistant, api: CustomerApi) -> None: ...
|
14
14
|
async def _async_update_data(self) -> list[Probe]: ...
|
15
15
|
def get_sensor(self, id: str | None) -> Sensor | None: ...
|
@@ -4,6 +4,7 @@ from .entity import ShellyRpcEntity as ShellyRpcEntity
|
|
4
4
|
from .utils import async_remove_shelly_entity as async_remove_shelly_entity, get_device_entry_gen as get_device_entry_gen, get_rpc_key_ids as get_rpc_key_ids, is_rpc_thermostat_internal_actuator as is_rpc_thermostat_internal_actuator
|
5
5
|
from _typeshed import Incomplete
|
6
6
|
from aioshelly.block_device import Block as Block
|
7
|
+
from collections.abc import Mapping
|
7
8
|
from dataclasses import dataclass
|
8
9
|
from homeassistant.components.climate import ClimateEntity as ClimateEntity, ClimateEntityFeature as ClimateEntityFeature, HVACAction as HVACAction, HVACMode as HVACMode, PRESET_NONE as PRESET_NONE
|
9
10
|
from homeassistant.const import ATTR_TEMPERATURE as ATTR_TEMPERATURE, UnitOfTemperature as UnitOfTemperature
|
@@ -36,12 +37,12 @@ class BlockSleepingClimate(CoordinatorEntity[ShellyBlockCoordinator], RestoreEnt
|
|
36
37
|
_attr_supported_features: Incomplete
|
37
38
|
_attr_target_temperature_step: Incomplete
|
38
39
|
_attr_temperature_unit: Incomplete
|
39
|
-
block:
|
40
|
-
control_result:
|
41
|
-
device_block:
|
42
|
-
last_state:
|
43
|
-
last_state_attributes:
|
44
|
-
_preset_modes:
|
40
|
+
block: Block | None
|
41
|
+
control_result: dict[str, Any] | None
|
42
|
+
device_block: Block | None
|
43
|
+
last_state: State | None
|
44
|
+
last_state_attributes: Mapping[str, Any]
|
45
|
+
_preset_modes: list[str]
|
45
46
|
_last_target_temp: Incomplete
|
46
47
|
_attr_name: Incomplete
|
47
48
|
_unique_id: Incomplete
|
@@ -83,7 +84,7 @@ class RpcClimate(ShellyRpcEntity, ClimateEntity):
|
|
83
84
|
_id: Incomplete
|
84
85
|
_thermostat_type: Incomplete
|
85
86
|
_attr_hvac_modes: Incomplete
|
86
|
-
_humidity_key:
|
87
|
+
_humidity_key: str | None
|
87
88
|
def __init__(self, coordinator: ShellyRpcCoordinator, id_: int) -> None: ...
|
88
89
|
@property
|
89
90
|
def target_temperature(self) -> float | None: ...
|
@@ -1,10 +1,11 @@
|
|
1
|
+
import asyncio
|
1
2
|
from .bluetooth import async_connect_scanner as async_connect_scanner
|
2
3
|
from .const import ATTR_CHANNEL as ATTR_CHANNEL, ATTR_CLICK_TYPE as ATTR_CLICK_TYPE, ATTR_DEVICE as ATTR_DEVICE, ATTR_GENERATION as ATTR_GENERATION, BATTERY_DEVICES_WITH_PERMANENT_CONNECTION as BATTERY_DEVICES_WITH_PERMANENT_CONNECTION, BLEScannerMode as BLEScannerMode, CONF_BLE_SCANNER_MODE as CONF_BLE_SCANNER_MODE, CONF_SLEEP_PERIOD as CONF_SLEEP_PERIOD, DOMAIN as DOMAIN, DUAL_MODE_LIGHT_MODELS as DUAL_MODE_LIGHT_MODELS, ENTRY_RELOAD_COOLDOWN as ENTRY_RELOAD_COOLDOWN, EVENT_SHELLY_CLICK as EVENT_SHELLY_CLICK, INPUTS_EVENTS_DICT as INPUTS_EVENTS_DICT, LOGGER as LOGGER, MAX_PUSH_UPDATE_FAILURES as MAX_PUSH_UPDATE_FAILURES, MODELS_SUPPORTING_LIGHT_EFFECTS as MODELS_SUPPORTING_LIGHT_EFFECTS, OTA_BEGIN as OTA_BEGIN, OTA_ERROR as OTA_ERROR, OTA_PROGRESS as OTA_PROGRESS, OTA_SUCCESS as OTA_SUCCESS, PUSH_UPDATE_ISSUE_ID as PUSH_UPDATE_ISSUE_ID, REST_SENSORS_UPDATE_INTERVAL as REST_SENSORS_UPDATE_INTERVAL, RPC_INPUTS_EVENTS_TYPES as RPC_INPUTS_EVENTS_TYPES, RPC_RECONNECT_INTERVAL as RPC_RECONNECT_INTERVAL, RPC_SENSORS_POLLING_INTERVAL as RPC_SENSORS_POLLING_INTERVAL, SHBTN_MODELS as SHBTN_MODELS, UPDATE_PERIOD_MULTIPLIER as UPDATE_PERIOD_MULTIPLIER
|
3
4
|
from .utils import async_create_issue_unsupported_firmware as async_create_issue_unsupported_firmware, get_block_device_sleep_period as get_block_device_sleep_period, get_device_entry_gen as get_device_entry_gen, get_host as get_host, get_http_port as get_http_port, get_rpc_device_wakeup_period as get_rpc_device_wakeup_period, get_rpc_ws_url as get_rpc_ws_url, update_device_fw_info as update_device_fw_info
|
4
5
|
from _typeshed import Incomplete
|
5
6
|
from aioshelly.block_device import BlockDevice, BlockUpdateType
|
6
7
|
from aioshelly.rpc_device import RpcDevice, RpcUpdateType
|
7
|
-
from collections.abc import Callable as Callable
|
8
|
+
from collections.abc import Callable as Callable, Coroutine
|
8
9
|
from dataclasses import dataclass
|
9
10
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigEntryState as ConfigEntryState
|
10
11
|
from homeassistant.const import ATTR_DEVICE_ID as ATTR_DEVICE_ID, CONF_HOST as CONF_HOST, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP, Platform as Platform
|
@@ -12,6 +13,7 @@ from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, Event as Event, H
|
|
12
13
|
from homeassistant.helpers.debounce import Debouncer as Debouncer
|
13
14
|
from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC as CONNECTION_NETWORK_MAC
|
14
15
|
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
16
|
+
from propcache import cached_property
|
15
17
|
from typing import Any
|
16
18
|
|
17
19
|
@dataclass
|
@@ -27,12 +29,14 @@ type ShellyConfigEntry = ConfigEntry[ShellyEntryData]
|
|
27
29
|
class ShellyCoordinatorBase[_DeviceT: BlockDevice | RpcDevice](DataUpdateCoordinator[None]):
|
28
30
|
entry: Incomplete
|
29
31
|
device: Incomplete
|
30
|
-
device_id:
|
31
|
-
_pending_platforms:
|
32
|
+
device_id: str | None
|
33
|
+
_pending_platforms: list[Platform] | None
|
32
34
|
_came_online_once: bool
|
33
|
-
_debounced_reload:
|
35
|
+
_debounced_reload: Debouncer[Coroutine[Any, Any, None]]
|
34
36
|
def __init__(self, hass: HomeAssistant, entry: ShellyConfigEntry, device: _DeviceT, update_interval: float) -> None: ...
|
37
|
+
@cached_property
|
35
38
|
def model(self) -> str: ...
|
39
|
+
@cached_property
|
36
40
|
def mac(self) -> str: ...
|
37
41
|
@property
|
38
42
|
def sw_version(self) -> str: ...
|
@@ -48,13 +52,13 @@ class ShellyCoordinatorBase[_DeviceT: BlockDevice | RpcDevice](DataUpdateCoordin
|
|
48
52
|
|
49
53
|
class ShellyBlockCoordinator(ShellyCoordinatorBase[BlockDevice]):
|
50
54
|
entry: Incomplete
|
51
|
-
_last_cfg_changed:
|
52
|
-
_last_mode:
|
53
|
-
_last_effect:
|
54
|
-
_last_input_events_count:
|
55
|
-
_last_target_temp:
|
55
|
+
_last_cfg_changed: int | None
|
56
|
+
_last_mode: str | None
|
57
|
+
_last_effect: str | None
|
58
|
+
_last_input_events_count: dict
|
59
|
+
_last_target_temp: float | None
|
56
60
|
_push_update_failures: int
|
57
|
-
_input_event_listeners:
|
61
|
+
_input_event_listeners: list[Callable[[dict[str, Any]], None]]
|
58
62
|
def __init__(self, hass: HomeAssistant, entry: ShellyConfigEntry, device: BlockDevice) -> None: ...
|
59
63
|
def async_subscribe_input_events(self, input_event_callback: Callable[[dict[str, Any]], None]) -> CALLBACK_TYPE: ...
|
60
64
|
def _async_device_updates_handler(self) -> None: ...
|
@@ -70,12 +74,12 @@ class ShellyRestCoordinator(ShellyCoordinatorBase[BlockDevice]):
|
|
70
74
|
class ShellyRpcCoordinator(ShellyCoordinatorBase[RpcDevice]):
|
71
75
|
entry: Incomplete
|
72
76
|
connected: bool
|
73
|
-
_disconnected_callbacks:
|
77
|
+
_disconnected_callbacks: list[CALLBACK_TYPE]
|
74
78
|
_connection_lock: Incomplete
|
75
|
-
_event_listeners:
|
76
|
-
_ota_event_listeners:
|
77
|
-
_input_event_listeners:
|
78
|
-
_connect_task:
|
79
|
+
_event_listeners: list[Callable[[dict[str, Any]], None]]
|
80
|
+
_ota_event_listeners: list[Callable[[dict[str, Any]], None]]
|
81
|
+
_input_event_listeners: list[Callable[[dict[str, Any]], None]]
|
82
|
+
_connect_task: asyncio.Task | None
|
79
83
|
def __init__(self, hass: HomeAssistant, entry: ShellyConfigEntry, device: RpcDevice) -> None: ...
|
80
84
|
async def async_device_online(self, source: str) -> None: ...
|
81
85
|
update_interval: Incomplete
|
@@ -15,7 +15,7 @@ def async_setup_rpc_entry(hass: HomeAssistant, config_entry: ShellyConfigEntry,
|
|
15
15
|
class BlockShellyCover(ShellyBlockEntity, CoverEntity):
|
16
16
|
_attr_device_class: Incomplete
|
17
17
|
_attr_supported_features: CoverEntityFeature
|
18
|
-
control_result:
|
18
|
+
control_result: dict[str, Any] | None
|
19
19
|
def __init__(self, coordinator: ShellyBlockCoordinator, block: Block) -> None: ...
|
20
20
|
@property
|
21
21
|
def is_closed(self) -> bool: ...
|
@@ -81,7 +81,7 @@ class ShellyRpcEntity(CoordinatorEntity[ShellyRpcCoordinator]):
|
|
81
81
|
class ShellyBlockAttributeEntity(ShellyBlockEntity, Entity):
|
82
82
|
entity_description: BlockEntityDescription
|
83
83
|
attribute: Incomplete
|
84
|
-
_attr_unique_id:
|
84
|
+
_attr_unique_id: str
|
85
85
|
_attr_name: Incomplete
|
86
86
|
def __init__(self, coordinator: ShellyBlockCoordinator, block: Block, attribute: str, description: BlockEntityDescription) -> None: ...
|
87
87
|
@property
|
@@ -113,8 +113,8 @@ class ShellyRpcAttributeEntity(ShellyRpcEntity, Entity):
|
|
113
113
|
_last_value: Incomplete
|
114
114
|
_id: Incomplete
|
115
115
|
_attr_native_unit_of_measurement: Incomplete
|
116
|
-
option_map:
|
117
|
-
reversed_option_map:
|
116
|
+
option_map: dict[str, str]
|
117
|
+
reversed_option_map: dict[str, str]
|
118
118
|
def __init__(self, coordinator: ShellyRpcCoordinator, key: str, attribute: str, description: RpcEntityDescription) -> None: ...
|
119
119
|
@property
|
120
120
|
def sub_status(self) -> Any: ...
|
@@ -124,10 +124,10 @@ class ShellyRpcAttributeEntity(ShellyRpcEntity, Entity):
|
|
124
124
|
def available(self) -> bool: ...
|
125
125
|
|
126
126
|
class ShellySleepingBlockAttributeEntity(ShellyBlockAttributeEntity):
|
127
|
-
last_state:
|
127
|
+
last_state: State | None
|
128
128
|
coordinator: Incomplete
|
129
129
|
attribute: Incomplete
|
130
|
-
block:
|
130
|
+
block: Block | None
|
131
131
|
entity_description: Incomplete
|
132
132
|
_attr_device_info: Incomplete
|
133
133
|
_attr_unique_id: Incomplete
|
@@ -138,7 +138,7 @@ class ShellySleepingBlockAttributeEntity(ShellyBlockAttributeEntity):
|
|
138
138
|
|
139
139
|
class ShellySleepingRpcAttributeEntity(ShellyRpcAttributeEntity):
|
140
140
|
entity_description: RpcEntityDescription
|
141
|
-
last_state:
|
141
|
+
last_state: State | None
|
142
142
|
coordinator: Incomplete
|
143
143
|
key: Incomplete
|
144
144
|
attribute: Incomplete
|
@@ -15,7 +15,7 @@ def async_setup_rpc_entry(hass: HomeAssistant, config_entry: ShellyConfigEntry,
|
|
15
15
|
|
16
16
|
class BlockShellyLight(ShellyBlockEntity, LightEntity):
|
17
17
|
_attr_supported_color_modes: set[str]
|
18
|
-
control_result:
|
18
|
+
control_result: dict[str, Any] | None
|
19
19
|
_attr_min_color_temp_kelvin: Incomplete
|
20
20
|
_attr_max_color_temp_kelvin: Incomplete
|
21
21
|
def __init__(self, coordinator: ShellyBlockCoordinator, block: Block) -> None: ...
|
@@ -35,7 +35,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ShellyConfigEntry
|
|
35
35
|
|
36
36
|
class BlockSleepingNumber(ShellySleepingBlockAttributeEntity, RestoreNumber):
|
37
37
|
entity_description: BlockNumberDescription
|
38
|
-
restored_data:
|
38
|
+
restored_data: NumberExtraStoredData | None
|
39
39
|
def __init__(self, coordinator: ShellyBlockCoordinator, block: Block | None, attribute: str, description: BlockNumberDescription, entry: RegistryEntry | None = None) -> None: ...
|
40
40
|
async def async_added_to_hass(self) -> None: ...
|
41
41
|
@property
|
@@ -52,7 +52,7 @@ class RpcSensor(ShellyRpcAttributeEntity, SensorEntity):
|
|
52
52
|
|
53
53
|
class BlockSleepingSensor(ShellySleepingBlockAttributeEntity, RestoreSensor):
|
54
54
|
entity_description: BlockSensorDescription
|
55
|
-
restored_data:
|
55
|
+
restored_data: SensorExtraStoredData | None
|
56
56
|
def __init__(self, coordinator: ShellyBlockCoordinator, block: Block | None, attribute: str, description: BlockSensorDescription, entry: RegistryEntry | None = None) -> None: ...
|
57
57
|
async def async_added_to_hass(self) -> None: ...
|
58
58
|
@property
|
@@ -62,7 +62,7 @@ class BlockSleepingSensor(ShellySleepingBlockAttributeEntity, RestoreSensor):
|
|
62
62
|
|
63
63
|
class RpcSleepingSensor(ShellySleepingRpcAttributeEntity, RestoreSensor):
|
64
64
|
entity_description: RpcSensorDescription
|
65
|
-
restored_data:
|
65
|
+
restored_data: SensorExtraStoredData | None
|
66
66
|
def __init__(self, coordinator: ShellyRpcCoordinator, key: str, attribute: str, description: RpcEntityDescription, entry: RegistryEntry | None = None) -> None: ...
|
67
67
|
async def async_added_to_hass(self) -> None: ...
|
68
68
|
@property
|
@@ -33,7 +33,7 @@ def async_setup_rpc_entry(hass: HomeAssistant, config_entry: ShellyConfigEntry,
|
|
33
33
|
class BlockSleepingMotionSwitch(ShellySleepingBlockAttributeEntity, RestoreEntity, SwitchEntity):
|
34
34
|
entity_description: BlockSwitchDescription
|
35
35
|
_attr_translation_key: str
|
36
|
-
last_state:
|
36
|
+
last_state: State | None
|
37
37
|
def __init__(self, coordinator: ShellyBlockCoordinator, block: Block | None, attribute: str, description: BlockSwitchDescription, entry: RegistryEntry | None = None) -> None: ...
|
38
38
|
@property
|
39
39
|
def is_on(self) -> bool | None: ...
|
@@ -42,7 +42,7 @@ class BlockSleepingMotionSwitch(ShellySleepingBlockAttributeEntity, RestoreEntit
|
|
42
42
|
async def async_added_to_hass(self) -> None: ...
|
43
43
|
|
44
44
|
class BlockRelaySwitch(ShellyBlockEntity, SwitchEntity):
|
45
|
-
control_result:
|
45
|
+
control_result: dict[str, Any] | None
|
46
46
|
def __init__(self, coordinator: ShellyBlockCoordinator, block: Block) -> None: ...
|
47
47
|
@property
|
48
48
|
def is_on(self) -> bool: ...
|
@@ -36,7 +36,7 @@ class RestUpdateEntity(ShellyRestAttributeEntity, UpdateEntity):
|
|
36
36
|
_attr_supported_features: Incomplete
|
37
37
|
entity_description: RestUpdateDescription
|
38
38
|
_attr_release_url: Incomplete
|
39
|
-
_in_progress_old_version:
|
39
|
+
_in_progress_old_version: str | None
|
40
40
|
def __init__(self, block_coordinator: ShellyBlockCoordinator, attribute: str, description: RestUpdateDescription) -> None: ...
|
41
41
|
@property
|
42
42
|
def installed_version(self) -> str | None: ...
|
@@ -51,7 +51,7 @@ class RpcUpdateEntity(ShellyRpcAttributeEntity, UpdateEntity):
|
|
51
51
|
_attr_supported_features: Incomplete
|
52
52
|
entity_description: RpcUpdateDescription
|
53
53
|
_ota_in_progress: bool
|
54
|
-
_ota_progress_percentage:
|
54
|
+
_ota_progress_percentage: int | None
|
55
55
|
_attr_release_url: Incomplete
|
56
56
|
def __init__(self, coordinator: ShellyRpcCoordinator, key: str, attribute: str, description: RpcUpdateDescription) -> None: ...
|
57
57
|
async def async_added_to_hass(self) -> None: ...
|
@@ -22,7 +22,7 @@ class BlockShellyValve(ShellyBlockAttributeEntity, ValveEntity):
|
|
22
22
|
entity_description: BlockValveDescription
|
23
23
|
_attr_device_class: Incomplete
|
24
24
|
_attr_supported_features: Incomplete
|
25
|
-
control_result:
|
25
|
+
control_result: dict[str, Any] | None
|
26
26
|
_attr_is_closed: Incomplete
|
27
27
|
def __init__(self, coordinator: ShellyBlockCoordinator, block: Block, attribute: str, description: BlockValveDescription) -> None: ...
|
28
28
|
@property
|
@@ -30,8 +30,8 @@ class NoMatchingShoppingListItem(Exception): ...
|
|
30
30
|
|
31
31
|
class ShoppingData:
|
32
32
|
hass: Incomplete
|
33
|
-
items:
|
34
|
-
_listeners:
|
33
|
+
items: list[dict[str, JsonValueType]]
|
34
|
+
_listeners: list[Callable[[], None]]
|
35
35
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
36
36
|
async def async_add(self, name: str | None, complete: bool = False, context: Context | None = None) -> dict[str, JsonValueType]: ...
|
37
37
|
async def async_remove(self, item_id: str, context: Context | None = None) -> dict[str, JsonValueType] | None: ...
|
@@ -11,9 +11,9 @@ _LOGGER: Incomplete
|
|
11
11
|
async def async_get_service(hass: HomeAssistant, config: ConfigType, discovery_info: DiscoveryInfoType | None = None) -> SimplePushNotificationService | None: ...
|
12
12
|
|
13
13
|
class SimplePushNotificationService(BaseNotificationService):
|
14
|
-
_device_key:
|
15
|
-
_event:
|
16
|
-
_password:
|
17
|
-
_salt:
|
14
|
+
_device_key: str
|
15
|
+
_event: str | None
|
16
|
+
_password: str | None
|
17
|
+
_salt: str | None
|
18
18
|
def __init__(self, config: dict[str, Any]) -> None: ...
|
19
19
|
def send_message(self, message: str, **kwargs: Any) -> None: ...
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import asyncio
|
1
2
|
from .const import ATTR_ALARM_DURATION as ATTR_ALARM_DURATION, ATTR_ALARM_VOLUME as ATTR_ALARM_VOLUME, ATTR_CHIME_VOLUME as ATTR_CHIME_VOLUME, ATTR_ENTRY_DELAY_AWAY as ATTR_ENTRY_DELAY_AWAY, ATTR_ENTRY_DELAY_HOME as ATTR_ENTRY_DELAY_HOME, ATTR_EXIT_DELAY_AWAY as ATTR_EXIT_DELAY_AWAY, ATTR_EXIT_DELAY_HOME as ATTR_EXIT_DELAY_HOME, ATTR_LAST_EVENT_INFO as ATTR_LAST_EVENT_INFO, ATTR_LAST_EVENT_SENSOR_NAME as ATTR_LAST_EVENT_SENSOR_NAME, ATTR_LAST_EVENT_SENSOR_TYPE as ATTR_LAST_EVENT_SENSOR_TYPE, ATTR_LAST_EVENT_TIMESTAMP as ATTR_LAST_EVENT_TIMESTAMP, ATTR_LIGHT as ATTR_LIGHT, ATTR_SYSTEM_ID as ATTR_SYSTEM_ID, ATTR_VOICE_PROMPT_VOLUME as ATTR_VOICE_PROMPT_VOLUME, DISPATCHER_TOPIC_WEBSOCKET_EVENT as DISPATCHER_TOPIC_WEBSOCKET_EVENT, DOMAIN as DOMAIN, LOGGER as LOGGER
|
2
3
|
from .typing import SystemType as SystemType
|
3
4
|
from _typeshed import Incomplete
|
@@ -13,6 +14,7 @@ from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as Da
|
|
13
14
|
from simplipy import API
|
14
15
|
from simplipy.system import SystemNotification as SystemNotification
|
15
16
|
from simplipy.websocket import WebsocketEvent as WebsocketEvent
|
17
|
+
from typing import Any
|
16
18
|
|
17
19
|
ATTR_CATEGORY: str
|
18
20
|
ATTR_LAST_EVENT_CHANGED_BY: str
|
@@ -47,13 +49,13 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
|
|
47
49
|
class SimpliSafe:
|
48
50
|
_api: Incomplete
|
49
51
|
_hass: Incomplete
|
50
|
-
_system_notifications:
|
51
|
-
_websocket_reconnect_task:
|
52
|
+
_system_notifications: dict[int, set[SystemNotification]]
|
53
|
+
_websocket_reconnect_task: asyncio.Task | None
|
52
54
|
entry: Incomplete
|
53
|
-
initial_event_to_use:
|
54
|
-
subscription_data:
|
55
|
-
systems:
|
56
|
-
coordinator:
|
55
|
+
initial_event_to_use: dict[int, dict[str, Any]]
|
56
|
+
subscription_data: dict[int, Any]
|
57
|
+
systems: dict[int, SystemType]
|
58
|
+
coordinator: DataUpdateCoordinator[None] | None
|
57
59
|
def __init__(self, hass: HomeAssistant, entry: ConfigEntry, api: API) -> None: ...
|
58
60
|
def _async_process_new_notifications(self, system: SystemType) -> None: ...
|
59
61
|
async def _async_start_websocket_loop(self) -> None: ...
|
@@ -18,7 +18,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_e
|
|
18
18
|
|
19
19
|
class TriggeredBinarySensor(SimpliSafeEntity, BinarySensorEntity):
|
20
20
|
_attr_device_class: Incomplete
|
21
|
-
_device:
|
21
|
+
_device: SensorV3
|
22
22
|
def __init__(self, simplisafe: SimpliSafe, system: SystemV3, sensor: SensorV3, device_class: BinarySensorDeviceClass) -> None: ...
|
23
23
|
_attr_is_on: Incomplete
|
24
24
|
def async_update_from_rest_api(self) -> None: ...
|
@@ -27,7 +27,7 @@ class BatteryBinarySensor(SimpliSafeEntity, BinarySensorEntity):
|
|
27
27
|
_attr_device_class: Incomplete
|
28
28
|
_attr_entity_category: Incomplete
|
29
29
|
_attr_unique_id: Incomplete
|
30
|
-
_device:
|
30
|
+
_device: DeviceV3
|
31
31
|
def __init__(self, simplisafe: SimpliSafe, system: SystemV3, device: DeviceV3) -> None: ...
|
32
32
|
_attr_is_on: Incomplete
|
33
33
|
def async_update_from_rest_api(self) -> None: ...
|
@@ -18,7 +18,7 @@ def async_get_simplisafe_oauth_values() -> SimpliSafeOAuthValues: ...
|
|
18
18
|
|
19
19
|
class SimpliSafeFlowHandler(ConfigFlow, domain=DOMAIN):
|
20
20
|
VERSION: int
|
21
|
-
_oauth_values:
|
21
|
+
_oauth_values: SimpliSafeOAuthValues
|
22
22
|
_reauth: bool
|
23
23
|
def __init__(self) -> None: ...
|
24
24
|
@staticmethod
|
@@ -16,7 +16,7 @@ class SimplisafeFreezeSensor(SimpliSafeEntity, SensorEntity):
|
|
16
16
|
_attr_device_class: Incomplete
|
17
17
|
_attr_native_unit_of_measurement: Incomplete
|
18
18
|
_attr_state_class: Incomplete
|
19
|
-
_device:
|
19
|
+
_device: SensorV3
|
20
20
|
def __init__(self, simplisafe: SimpliSafe, system: SystemV3, sensor: SensorV3) -> None: ...
|
21
21
|
_attr_native_value: Incomplete
|
22
22
|
def async_update_from_rest_api(self) -> None: ...
|
@@ -7,6 +7,7 @@ from homeassistant.helpers.entity import ToggleEntity as ToggleEntity, ToggleEnt
|
|
7
7
|
from homeassistant.helpers.entity_component import EntityComponent as EntityComponent
|
8
8
|
from homeassistant.helpers.typing import ConfigType as ConfigType, VolDictType as VolDictType
|
9
9
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
10
|
+
from propcache import cached_property
|
10
11
|
from typing import Any, TypedDict
|
11
12
|
|
12
13
|
_LOGGER: Incomplete
|
@@ -27,9 +28,8 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ..
|
|
27
28
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
28
29
|
|
29
30
|
class SirenEntityDescription(ToggleEntityDescription, frozen_or_thawed=True):
|
30
|
-
available_tones: list[int | str] | dict[int, str] | None
|
31
|
+
available_tones: list[int | str] | dict[int, str] | None = ...
|
31
32
|
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=..., available_tones=...) -> None: ...
|
32
|
-
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=..., available_tones=...) -> None: ...
|
33
33
|
|
34
34
|
CACHED_PROPERTIES_WITH_ATTR_: Incomplete
|
35
35
|
|
@@ -40,5 +40,7 @@ class SirenEntity(ToggleEntity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
|
40
40
|
_attr_supported_features: SirenEntityFeature
|
41
41
|
@property
|
42
42
|
def capability_attributes(self) -> dict[str, Any] | None: ...
|
43
|
+
@cached_property
|
43
44
|
def available_tones(self) -> list[int | str] | dict[int, str] | None: ...
|
45
|
+
@cached_property
|
44
46
|
def supported_features(self) -> SirenEntityFeature: ...
|
@@ -12,7 +12,7 @@ BINARY_SENSOR_TYPES: tuple[BinarySensorEntityDescription, ...]
|
|
12
12
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
13
13
|
|
14
14
|
class SkybellBinarySensor(SkybellEntity, BinarySensorEntity):
|
15
|
-
_event:
|
15
|
+
_event: dict[str, str]
|
16
16
|
def __init__(self, coordinator: SkybellDataUpdateCoordinator, description: BinarySensorEntityDescription) -> None: ...
|
17
17
|
_attr_is_on: Incomplete
|
18
18
|
def _handle_coordinator_update(self) -> None: ...
|
@@ -35,8 +35,8 @@ class SmhiWeather(WeatherEntity):
|
|
35
35
|
_attr_name: Incomplete
|
36
36
|
_attr_supported_features: Incomplete
|
37
37
|
_attr_unique_id: Incomplete
|
38
|
-
_forecast_daily:
|
39
|
-
_forecast_hourly:
|
38
|
+
_forecast_daily: list[SmhiForecast] | None
|
39
|
+
_forecast_hourly: list[SmhiForecast] | None
|
40
40
|
_fail_count: int
|
41
41
|
_smhi_api: Incomplete
|
42
42
|
_attr_device_info: Incomplete
|
@@ -6,6 +6,7 @@ from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowRes
|
|
6
6
|
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_NAME as CONF_NAME, CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME
|
7
7
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
8
8
|
from homeassistant.helpers.device_registry import format_mac as format_mac
|
9
|
+
from pysmlight import Api2
|
9
10
|
from typing import Any
|
10
11
|
|
11
12
|
STEP_USER_DATA_SCHEMA: Incomplete
|
@@ -13,7 +14,7 @@ STEP_AUTH_DATA_SCHEMA: Incomplete
|
|
13
14
|
|
14
15
|
class SmlightConfigFlow(ConfigFlow, domain=DOMAIN):
|
15
16
|
host: str
|
16
|
-
client:
|
17
|
+
client: Api2
|
17
18
|
def __init__(self) -> None: ...
|
18
19
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
19
20
|
async def async_step_auth(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -30,7 +30,7 @@ class SmFwData:
|
|
30
30
|
class SmBaseDataUpdateCoordinator[_DataT](DataUpdateCoordinator[_DataT], metaclass=abc.ABCMeta):
|
31
31
|
config_entry: SmConfigEntry
|
32
32
|
client: Incomplete
|
33
|
-
unique_id:
|
33
|
+
unique_id: str | None
|
34
34
|
legacy_api: int
|
35
35
|
def __init__(self, hass: HomeAssistant, host: str, client: Api2) -> None: ...
|
36
36
|
async def _async_setup(self) -> None: ...
|
@@ -49,7 +49,7 @@ class SmInfoSensorEntity(SmEntity, SensorEntity):
|
|
49
49
|
def native_value(self) -> StateType: ...
|
50
50
|
|
51
51
|
class SmUptimeSensorEntity(SmSensorEntity):
|
52
|
-
_last_uptime:
|
52
|
+
_last_uptime: datetime | None
|
53
53
|
def __init__(self, coordinator: SmDataUpdateCoordinator, description: SmSensorEntityDescription) -> None: ...
|
54
54
|
def get_uptime(self, uptime: float | None) -> datetime | None: ...
|
55
55
|
@property
|
@@ -32,8 +32,8 @@ class SmUpdateEntity(SmEntity, UpdateEntity):
|
|
32
32
|
_attr_supported_features: Incomplete
|
33
33
|
_attr_unique_id: Incomplete
|
34
34
|
_finished_event: Incomplete
|
35
|
-
_firmware:
|
36
|
-
_unload:
|
35
|
+
_firmware: Firmware | None
|
36
|
+
_unload: list[Callable]
|
37
37
|
def __init__(self, coordinator: SmFirmwareUpdateCoordinator, description: SmUpdateEntityDescription) -> None: ...
|
38
38
|
@property
|
39
39
|
def installed_version(self) -> str | None: ...
|
@@ -1,5 +1,5 @@
|
|
1
|
+
import asyncio
|
1
2
|
from .const import DOMAIN as DOMAIN
|
2
|
-
from _typeshed import Incomplete
|
3
3
|
from dataclasses import dataclass
|
4
4
|
from homeassistant.components.bluetooth import BluetoothScanningMode as BluetoothScanningMode, BluetoothServiceInfo as BluetoothServiceInfo, async_discovered_service_info as async_discovered_service_info, async_process_advertisements as async_process_advertisements
|
5
5
|
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
|
@@ -17,9 +17,9 @@ class DiscoveredSnooz:
|
|
17
17
|
|
18
18
|
class SnoozConfigFlow(ConfigFlow, domain=DOMAIN):
|
19
19
|
VERSION: int
|
20
|
-
_discovery:
|
21
|
-
_discovered_devices:
|
22
|
-
_pairing_task:
|
20
|
+
_discovery: DiscoveredSnooz | None
|
21
|
+
_discovered_devices: dict[str, DiscoveredSnooz]
|
22
|
+
_pairing_task: asyncio.Task | None
|
23
23
|
def __init__(self) -> None: ...
|
24
24
|
async def async_step_bluetooth(self, discovery_info: BluetoothServiceInfo) -> ConfigFlowResult: ...
|
25
25
|
async def async_step_bluetooth_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -1,5 +1,4 @@
|
|
1
1
|
from .const import CONF_HAS_PWD as CONF_HAS_PWD, DEFAULT_HOST as DEFAULT_HOST, DOMAIN as DOMAIN
|
2
|
-
from _typeshed import Incomplete
|
3
2
|
from collections.abc import Mapping
|
4
3
|
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
|
5
4
|
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_PASSWORD as CONF_PASSWORD
|
@@ -8,8 +7,8 @@ from typing import Any
|
|
8
7
|
class SolarLogConfigFlow(ConfigFlow, domain=DOMAIN):
|
9
8
|
VERSION: int
|
10
9
|
MINOR_VERSION: int
|
11
|
-
_errors:
|
12
|
-
_user_input:
|
10
|
+
_errors: dict
|
11
|
+
_user_input: dict
|
13
12
|
def __init__(self) -> None: ...
|
14
13
|
def _parse_url(self, host: str) -> str: ...
|
15
14
|
async def _test_connection(self, host: str) -> bool: ...
|
@@ -13,8 +13,8 @@ from solarlog_cli.solarlog_models import SolarlogData
|
|
13
13
|
_LOGGER: Incomplete
|
14
14
|
|
15
15
|
class SolarLogCoordinator(DataUpdateCoordinator[SolarlogData]):
|
16
|
-
new_device_callbacks:
|
17
|
-
_devices_last_update:
|
16
|
+
new_device_callbacks: list[Callable[[int], None]]
|
17
|
+
_devices_last_update: set[tuple[int, str]]
|
18
18
|
unique_id: Incomplete
|
19
19
|
host: Incomplete
|
20
20
|
solarlog: Incomplete
|
@@ -15,7 +15,7 @@ class SonarrDataUpdateCoordinator(DataUpdateCoordinator[SonarrDataT]):
|
|
15
15
|
config_entry: ConfigEntry
|
16
16
|
api_client: Incomplete
|
17
17
|
host_configuration: Incomplete
|
18
|
-
system_version:
|
18
|
+
system_version: str | None
|
19
19
|
def __init__(self, hass: HomeAssistant, host_configuration: PyArrHostConfiguration, api_client: SonarrClient) -> None: ...
|
20
20
|
async def _async_update_data(self) -> SonarrDataT: ...
|
21
21
|
async def _fetch_data(self) -> SonarrDataT: ...
|
@@ -1,6 +1,5 @@
|
|
1
1
|
from . import SpeedTestConfigEntry as SpeedTestConfigEntry
|
2
2
|
from .const import CONF_SERVER_ID as CONF_SERVER_ID, CONF_SERVER_NAME as CONF_SERVER_NAME, DEFAULT_NAME as DEFAULT_NAME, DEFAULT_SERVER as DEFAULT_SERVER, DOMAIN as DOMAIN
|
3
|
-
from _typeshed import Incomplete
|
4
3
|
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow
|
5
4
|
from homeassistant.core import callback as callback
|
6
5
|
from typing import Any
|
@@ -12,6 +11,6 @@ class SpeedTestFlowHandler(ConfigFlow, domain=DOMAIN):
|
|
12
11
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
13
12
|
|
14
13
|
class SpeedTestOptionsFlowHandler(OptionsFlow):
|
15
|
-
_servers:
|
14
|
+
_servers: dict
|
16
15
|
def __init__(self) -> None: ...
|
17
16
|
async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -12,7 +12,7 @@ class SpeedTestDataCoordinator(DataUpdateCoordinator[dict[str, Any]]):
|
|
12
12
|
config_entry: ConfigEntry
|
13
13
|
hass: Incomplete
|
14
14
|
api: Incomplete
|
15
|
-
servers:
|
15
|
+
servers: dict[str, dict]
|
16
16
|
def __init__(self, hass: HomeAssistant, config_entry: ConfigEntry, api: speedtest.Speedtest) -> None: ...
|
17
17
|
def update_servers(self) -> None: ...
|
18
18
|
def update_data(self) -> dict[str, Any]: ...
|
@@ -27,8 +27,8 @@ class SpeedtestSensor(CoordinatorEntity[SpeedTestDataCoordinator], SensorEntity)
|
|
27
27
|
_attr_attribution = ATTRIBUTION
|
28
28
|
_attr_has_entity_name: bool
|
29
29
|
_attr_unique_id: Incomplete
|
30
|
-
_state:
|
31
|
-
_attrs:
|
30
|
+
_state: StateType
|
31
|
+
_attrs: dict[str, Any]
|
32
32
|
_attr_device_info: Incomplete
|
33
33
|
def __init__(self, coordinator: SpeedTestDataCoordinator, description: SpeedtestSensorEntityDescription) -> None: ...
|
34
34
|
@property
|
@@ -25,8 +25,8 @@ class SpotifyCoordinator(DataUpdateCoordinator[SpotifyCoordinatorData]):
|
|
25
25
|
current_user: UserProfile
|
26
26
|
config_entry: SpotifyConfigEntry
|
27
27
|
client: Incomplete
|
28
|
-
_playlist:
|
29
|
-
_checked_playlist_id:
|
28
|
+
_playlist: Playlist | None
|
29
|
+
_checked_playlist_id: str | None
|
30
30
|
def __init__(self, hass: HomeAssistant, client: SpotifyClient) -> None: ...
|
31
31
|
async def _async_setup(self) -> None: ...
|
32
32
|
async def _async_update_data(self) -> SpotifyCoordinatorData: ...
|
@@ -17,7 +17,7 @@ def _base_schema(discovery_info: dict[str, Any] | None = None) -> vol.Schema: ..
|
|
17
17
|
class SqueezeboxConfigFlow(ConfigFlow, domain=DOMAIN):
|
18
18
|
VERSION: int
|
19
19
|
data_schema: Incomplete
|
20
|
-
discovery_info:
|
20
|
+
discovery_info: dict[str, Any] | None
|
21
21
|
def __init__(self) -> None: ...
|
22
22
|
async def _discover(self, uuid: str | None = None) -> None: ...
|
23
23
|
async def _validate_input(self, data: dict[str, Any]) -> str | None: ...
|
@@ -19,7 +19,7 @@ class LMSStatusDataUpdateCoordinator(DataUpdateCoordinator):
|
|
19
19
|
class SqueezeBoxPlayerUpdateCoordinator(DataUpdateCoordinator[dict[str, Any]]):
|
20
20
|
player: Incomplete
|
21
21
|
available: bool
|
22
|
-
_remove_dispatcher:
|
22
|
+
_remove_dispatcher: Callable | None
|
23
23
|
server_uuid: Incomplete
|
24
24
|
def __init__(self, hass: HomeAssistant, player: Player, server_uuid: str) -> None: ...
|
25
25
|
async def _async_update_data(self) -> dict[str, Any]: ...
|
@@ -39,8 +39,8 @@ class SqueezeBoxMediaPlayerEntity(CoordinatorEntity[SqueezeBoxPlayerUpdateCoordi
|
|
39
39
|
_attr_name: Incomplete
|
40
40
|
_last_update: datetime | None
|
41
41
|
_player: Incomplete
|
42
|
-
_query_result:
|
43
|
-
_remove_dispatcher:
|
42
|
+
_query_result: bool | dict
|
43
|
+
_remove_dispatcher: Callable | None
|
44
44
|
_previous_media_position: int
|
45
45
|
_attr_unique_id: Incomplete
|
46
46
|
_attr_device_info: Incomplete
|