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
@@ -24,6 +24,7 @@ from homeassistant.helpers.network import get_url as get_url
|
|
24
24
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
25
25
|
from homeassistant.loader import bind_hass as bind_hass
|
26
26
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
27
|
+
from propcache import cached_property
|
27
28
|
from typing import Any, Final, Required, TypedDict
|
28
29
|
|
29
30
|
_LOGGER: Incomplete
|
@@ -74,10 +75,9 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ..
|
|
74
75
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
75
76
|
|
76
77
|
class MediaPlayerEntityDescription(EntityDescription, frozen_or_thawed=True):
|
77
|
-
device_class: MediaPlayerDeviceClass | None
|
78
|
-
volume_step: float | None
|
78
|
+
device_class: MediaPlayerDeviceClass | None = ...
|
79
|
+
volume_step: float | None = ...
|
79
80
|
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=..., volume_step=...) -> None: ...
|
80
|
-
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=..., volume_step=...) -> None: ...
|
81
81
|
|
82
82
|
CACHED_PROPERTIES_WITH_ATTR_: Incomplete
|
83
83
|
|
@@ -120,44 +120,78 @@ class MediaPlayerEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
|
120
120
|
_attr_supported_features: MediaPlayerEntityFeature
|
121
121
|
_attr_volume_level: float | None
|
122
122
|
_attr_volume_step: float
|
123
|
+
@cached_property
|
123
124
|
def device_class(self) -> MediaPlayerDeviceClass | None: ...
|
125
|
+
@cached_property
|
124
126
|
def state(self) -> MediaPlayerState | None: ...
|
125
127
|
@property
|
126
128
|
def access_token(self) -> str: ...
|
129
|
+
@cached_property
|
127
130
|
def volume_level(self) -> float | None: ...
|
131
|
+
@cached_property
|
128
132
|
def volume_step(self) -> float: ...
|
133
|
+
@cached_property
|
129
134
|
def is_volume_muted(self) -> bool | None: ...
|
135
|
+
@cached_property
|
130
136
|
def media_content_id(self) -> str | None: ...
|
137
|
+
@cached_property
|
131
138
|
def media_content_type(self) -> MediaType | str | None: ...
|
139
|
+
@cached_property
|
132
140
|
def media_duration(self) -> int | None: ...
|
141
|
+
@cached_property
|
133
142
|
def media_position(self) -> int | None: ...
|
143
|
+
@cached_property
|
134
144
|
def media_position_updated_at(self) -> dt.datetime | None: ...
|
145
|
+
@cached_property
|
135
146
|
def media_image_url(self) -> str | None: ...
|
147
|
+
@cached_property
|
136
148
|
def media_image_remotely_accessible(self) -> bool: ...
|
137
149
|
@property
|
138
150
|
def media_image_hash(self) -> str | None: ...
|
139
151
|
async def async_get_media_image(self) -> tuple[bytes | None, str | None]: ...
|
140
152
|
async def async_get_browse_image(self, media_content_type: str, media_content_id: str, media_image_id: str | None = None) -> tuple[bytes | None, str | None]: ...
|
153
|
+
@cached_property
|
141
154
|
def media_title(self) -> str | None: ...
|
155
|
+
@cached_property
|
142
156
|
def media_artist(self) -> str | None: ...
|
157
|
+
@cached_property
|
143
158
|
def media_album_name(self) -> str | None: ...
|
159
|
+
@cached_property
|
144
160
|
def media_album_artist(self) -> str | None: ...
|
161
|
+
@cached_property
|
145
162
|
def media_track(self) -> int | None: ...
|
163
|
+
@cached_property
|
146
164
|
def media_series_title(self) -> str | None: ...
|
165
|
+
@cached_property
|
147
166
|
def media_season(self) -> str | None: ...
|
167
|
+
@cached_property
|
148
168
|
def media_episode(self) -> str | None: ...
|
169
|
+
@cached_property
|
149
170
|
def media_channel(self) -> str | None: ...
|
171
|
+
@cached_property
|
150
172
|
def media_playlist(self) -> str | None: ...
|
173
|
+
@cached_property
|
151
174
|
def app_id(self) -> str | None: ...
|
175
|
+
@cached_property
|
152
176
|
def app_name(self) -> str | None: ...
|
177
|
+
@cached_property
|
153
178
|
def source(self) -> str | None: ...
|
179
|
+
@cached_property
|
154
180
|
def source_list(self) -> list[str] | None: ...
|
181
|
+
@cached_property
|
155
182
|
def sound_mode(self) -> str | None: ...
|
183
|
+
@cached_property
|
156
184
|
def sound_mode_list(self) -> list[str] | None: ...
|
185
|
+
@cached_property
|
157
186
|
def shuffle(self) -> bool | None: ...
|
187
|
+
@cached_property
|
158
188
|
def repeat(self) -> RepeatMode | str | None: ...
|
189
|
+
@cached_property
|
159
190
|
def group_members(self) -> list[str] | None: ...
|
191
|
+
@cached_property
|
160
192
|
def supported_features(self) -> MediaPlayerEntityFeature: ...
|
193
|
+
@property
|
194
|
+
def supported_features_compat(self) -> MediaPlayerEntityFeature: ...
|
161
195
|
def turn_on(self) -> None: ...
|
162
196
|
async def async_turn_on(self) -> None: ...
|
163
197
|
def turn_off(self) -> None: ...
|
@@ -19,8 +19,8 @@ async def async_unload_entry(hass: HomeAssistant, config_entry: ConfigEntry) ->
|
|
19
19
|
class MetEireannWeatherData:
|
20
20
|
_config: Incomplete
|
21
21
|
_weather_data: Incomplete
|
22
|
-
current_weather_data:
|
23
|
-
daily_forecast:
|
24
|
-
hourly_forecast:
|
22
|
+
current_weather_data: dict[str, Any]
|
23
|
+
daily_forecast: list[dict[str, Any]]
|
24
|
+
hourly_forecast: list[dict[str, Any]]
|
25
25
|
def __init__(self, config: MappingProxyType[str, Any], weather_data: meteireann.WeatherData) -> None: ...
|
26
26
|
async def fetch_data(self) -> Self: ...
|
@@ -17,9 +17,9 @@ class MikrotikData:
|
|
17
17
|
hass: Incomplete
|
18
18
|
config_entry: Incomplete
|
19
19
|
api: Incomplete
|
20
|
-
_host:
|
21
|
-
all_devices:
|
22
|
-
devices:
|
20
|
+
_host: str
|
21
|
+
all_devices: dict[str, dict[str, Any]]
|
22
|
+
devices: dict[str, Device]
|
23
23
|
support_capsman: bool
|
24
24
|
support_wireless: bool
|
25
25
|
support_wifiwave2: bool
|
@@ -45,7 +45,7 @@ class MikrotikData:
|
|
45
45
|
|
46
46
|
class MikrotikDataUpdateCoordinator(DataUpdateCoordinator[None]):
|
47
47
|
hass: Incomplete
|
48
|
-
config_entry:
|
48
|
+
config_entry: ConfigEntry
|
49
49
|
_mk_data: Incomplete
|
50
50
|
def __init__(self, hass: HomeAssistant, config_entry: ConfigEntry, api: librouteros.Api) -> None: ...
|
51
51
|
@property
|
@@ -7,9 +7,9 @@ from typing import Any
|
|
7
7
|
class Device:
|
8
8
|
_mac: Incomplete
|
9
9
|
_params: Incomplete
|
10
|
-
_last_seen:
|
11
|
-
_attrs:
|
12
|
-
_wireless_params:
|
10
|
+
_last_seen: datetime | None
|
11
|
+
_attrs: dict[str, Any]
|
12
|
+
_wireless_params: dict[str, Any]
|
13
13
|
def __init__(self, mac: str, params: dict[str, Any]) -> None: ...
|
14
14
|
@property
|
15
15
|
def name(self) -> str: ...
|
@@ -49,18 +49,18 @@ class MinMaxSensor(SensorEntity):
|
|
49
49
|
_sensor_attr: Incomplete
|
50
50
|
_unit_of_measurement: Incomplete
|
51
51
|
_unit_of_measurement_mismatch: bool
|
52
|
-
min_value:
|
53
|
-
max_value:
|
54
|
-
mean:
|
55
|
-
last:
|
56
|
-
median:
|
57
|
-
range:
|
58
|
-
sum:
|
59
|
-
min_entity_id:
|
60
|
-
max_entity_id:
|
61
|
-
last_entity_id:
|
52
|
+
min_value: float | None
|
53
|
+
max_value: float | None
|
54
|
+
mean: float | None
|
55
|
+
last: float | None
|
56
|
+
median: float | None
|
57
|
+
range: float | None
|
58
|
+
sum: float | None
|
59
|
+
min_entity_id: str | None
|
60
|
+
max_entity_id: str | None
|
61
|
+
last_entity_id: str | None
|
62
62
|
count_sensors: Incomplete
|
63
|
-
states:
|
63
|
+
states: dict[str, Any]
|
64
64
|
def __init__(self, entity_ids: list[str], name: str | None, sensor_type: str, round_digits: int, unique_id: str | None) -> None: ...
|
65
65
|
async def async_added_to_hass(self) -> None: ...
|
66
66
|
@property
|
@@ -20,8 +20,8 @@ async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_ad
|
|
20
20
|
|
21
21
|
class ModbusBinarySensor(BasePlatform, RestoreEntity, BinarySensorEntity):
|
22
22
|
_count: Incomplete
|
23
|
-
_coordinator:
|
24
|
-
_result:
|
23
|
+
_coordinator: DataUpdateCoordinator[list[int] | None] | None
|
24
|
+
_result: list[int]
|
25
25
|
def __init__(self, hass: HomeAssistant, hub: ModbusHub, entry: dict[str, Any], slave_count: int) -> None: ...
|
26
26
|
async def async_setup_slaves(self, hass: HomeAssistant, slave_count: int, entry: dict[str, Any]) -> list[SlaveSensor]: ...
|
27
27
|
_attr_is_on: Incomplete
|
@@ -33,17 +33,17 @@ class ModbusThermostat(BaseStructPlatform, RestoreEntity, ClimateEntity):
|
|
33
33
|
_hvac_mode_register: Incomplete
|
34
34
|
_attr_hvac_modes: Incomplete
|
35
35
|
_attr_hvac_mode: Incomplete
|
36
|
-
_hvac_mode_mapping:
|
36
|
+
_hvac_mode_mapping: list[tuple[int, HVACMode]]
|
37
37
|
_hvac_mode_write_registers: Incomplete
|
38
38
|
_fan_mode_register: Incomplete
|
39
39
|
_attr_fan_modes: Incomplete
|
40
40
|
_attr_fan_mode: Incomplete
|
41
|
-
_fan_mode_mapping_to_modbus:
|
42
|
-
_fan_mode_mapping_from_modbus:
|
41
|
+
_fan_mode_mapping_to_modbus: dict[str, int]
|
42
|
+
_fan_mode_mapping_from_modbus: dict[int, str]
|
43
43
|
_swing_mode_register: Incomplete
|
44
44
|
_attr_swing_modes: Incomplete
|
45
45
|
_attr_swing_mode: Incomplete
|
46
|
-
_swing_mode_modbus_mapping:
|
46
|
+
_swing_mode_modbus_mapping: list[tuple[int, str]]
|
47
47
|
_hvac_onoff_register: Incomplete
|
48
48
|
_hvac_onoff_write_registers: Incomplete
|
49
49
|
def __init__(self, hass: HomeAssistant, hub: ModbusHub, config: dict[str, Any]) -> None: ...
|
@@ -20,11 +20,11 @@ class BasePlatform(Entity, metaclass=abc.ABCMeta):
|
|
20
20
|
_slave: Incomplete
|
21
21
|
_address: Incomplete
|
22
22
|
_input_type: Incomplete
|
23
|
-
_value:
|
23
|
+
_value: str | None
|
24
24
|
_scan_interval: Incomplete
|
25
25
|
_call_active: bool
|
26
|
-
_cancel_timer:
|
27
|
-
_cancel_call:
|
26
|
+
_cancel_timer: Callable[[], None] | None
|
27
|
+
_cancel_call: Callable[[], None] | None
|
28
28
|
_attr_unique_id: Incomplete
|
29
29
|
_attr_name: Incomplete
|
30
30
|
_attr_should_poll: bool
|
@@ -45,12 +45,12 @@ class BasePlatform(Entity, metaclass=abc.ABCMeta):
|
|
45
45
|
class BaseStructPlatform(BasePlatform, RestoreEntity, metaclass=abc.ABCMeta):
|
46
46
|
_swap: Incomplete
|
47
47
|
_data_type: Incomplete
|
48
|
-
_structure:
|
48
|
+
_structure: str
|
49
49
|
_scale: Incomplete
|
50
50
|
_offset: Incomplete
|
51
51
|
_slave_count: Incomplete
|
52
52
|
_slave_size: Incomplete
|
53
|
-
_value_is_int:
|
53
|
+
_value_is_int: bool
|
54
54
|
_precision: Incomplete
|
55
55
|
def __init__(self, hass: HomeAssistant, hub: ModbusHub, config: dict) -> None: ...
|
56
56
|
def _swap_registers(self, registers: list[int], slave_count: int) -> list[int]: ...
|
@@ -8,6 +8,7 @@ from homeassistant.helpers.discovery import async_load_platform as async_load_pl
|
|
8
8
|
from homeassistant.helpers.dispatcher import async_dispatcher_send as async_dispatcher_send
|
9
9
|
from homeassistant.helpers.event import async_call_later as async_call_later
|
10
10
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
11
|
+
from pymodbus.client import AsyncModbusSerialClient, AsyncModbusTcpClient, AsyncModbusUdpClient
|
11
12
|
from pymodbus.pdu import ModbusPDU as ModbusPDU
|
12
13
|
from typing import Any, NamedTuple
|
13
14
|
|
@@ -27,15 +28,15 @@ PB_CALL: Incomplete
|
|
27
28
|
async def async_modbus_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
|
28
29
|
|
29
30
|
class ModbusHub:
|
30
|
-
_client:
|
31
|
-
_async_cancel_listener:
|
31
|
+
_client: AsyncModbusSerialClient | AsyncModbusTcpClient | AsyncModbusUdpClient | None
|
32
|
+
_async_cancel_listener: Callable[[], None] | None
|
32
33
|
_in_error: bool
|
33
34
|
_lock: Incomplete
|
34
35
|
hass: Incomplete
|
35
36
|
name: Incomplete
|
36
37
|
_config_type: Incomplete
|
37
38
|
_config_delay: Incomplete
|
38
|
-
_pb_request:
|
39
|
+
_pb_request: dict[str, RunEntry]
|
39
40
|
_pb_class: Incomplete
|
40
41
|
_pb_params: Incomplete
|
41
42
|
_msg_wait: Incomplete
|
@@ -19,7 +19,7 @@ async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_ad
|
|
19
19
|
|
20
20
|
class ModbusRegisterSensor(BaseStructPlatform, RestoreSensor, SensorEntity):
|
21
21
|
_count: Incomplete
|
22
|
-
_coordinator:
|
22
|
+
_coordinator: DataUpdateCoordinator[list[float] | None] | None
|
23
23
|
_attr_native_unit_of_measurement: Incomplete
|
24
24
|
_attr_state_class: Incomplete
|
25
25
|
_attr_device_class: Incomplete
|
@@ -11,7 +11,7 @@ DATA_SCHEMA: Incomplete
|
|
11
11
|
def _generate_unique_id(port: ListPortInfo) -> str: ...
|
12
12
|
|
13
13
|
class PhoneModemFlowHandler(ConfigFlow, domain=DOMAIN):
|
14
|
-
_device:
|
14
|
+
_device: str | None
|
15
15
|
def __init__(self) -> None: ...
|
16
16
|
async def async_step_usb(self, discovery_info: usb.UsbServiceInfo) -> ConfigFlowResult: ...
|
17
17
|
async def async_step_usb_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -38,13 +38,13 @@ class MoldIndicator(SensorEntity):
|
|
38
38
|
_is_metric: Incomplete
|
39
39
|
_attr_available: bool
|
40
40
|
_entities: Incomplete
|
41
|
-
_dewpoint:
|
42
|
-
_indoor_temp:
|
43
|
-
_outdoor_temp:
|
44
|
-
_indoor_hum:
|
45
|
-
_crit_temp:
|
41
|
+
_dewpoint: float | None
|
42
|
+
_indoor_temp: float | None
|
43
|
+
_outdoor_temp: float | None
|
44
|
+
_indoor_hum: float | None
|
45
|
+
_crit_temp: float | None
|
46
46
|
_attr_device_info: Incomplete
|
47
|
-
_preview_callback:
|
47
|
+
_preview_callback: Callable[[str, Mapping[str, Any]], None] | None
|
48
48
|
def __init__(self, hass: HomeAssistant, name: str, is_metric: bool, indoor_temp_sensor: str, outdoor_temp_sensor: str, indoor_humidity_sensor: str, calib_factor: float, unique_id: str | None) -> None: ...
|
49
49
|
def async_start_preview(self, preview_callback: Callable[[str, Mapping[str, Any]], None]) -> CALLBACK_TYPE: ...
|
50
50
|
async def async_added_to_hass(self) -> None: ...
|
@@ -7,6 +7,7 @@ from homeassistant.components.bluetooth import BluetoothServiceInfoBleak as Blue
|
|
7
7
|
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
|
8
8
|
from homeassistant.const import CONF_ADDRESS as CONF_ADDRESS
|
9
9
|
from homeassistant.core import callback as callback
|
10
|
+
from mopeka_iot_ble import MopekaIOTBluetoothDeviceData as DeviceData
|
10
11
|
from typing import Any
|
11
12
|
|
12
13
|
def format_medium_type(medium_type: Enum) -> str: ...
|
@@ -17,9 +18,9 @@ def async_generate_schema(medium_type: str | None = None) -> vol.Schema: ...
|
|
17
18
|
|
18
19
|
class MopekaConfigFlow(ConfigFlow, domain=DOMAIN):
|
19
20
|
VERSION: int
|
20
|
-
_discovery_info:
|
21
|
-
_discovered_device:
|
22
|
-
_discovered_devices:
|
21
|
+
_discovery_info: BluetoothServiceInfoBleak | None
|
22
|
+
_discovered_device: DeviceData | None
|
23
|
+
_discovered_devices: dict[str, str]
|
23
24
|
def __init__(self) -> None: ...
|
24
25
|
@staticmethod
|
25
26
|
def async_get_options_flow(config_entry: config_entries.ConfigEntry) -> MopekaOptionsFlow: ...
|
@@ -10,7 +10,7 @@ _LOGGER: Incomplete
|
|
10
10
|
|
11
11
|
class MotionMountFlowHandler(ConfigFlow, domain=DOMAIN):
|
12
12
|
VERSION: int
|
13
|
-
discovery_info:
|
13
|
+
discovery_info: dict[str, Any]
|
14
14
|
def __init__(self) -> None: ...
|
15
15
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
16
16
|
async def async_step_zeroconf(self, discovery_info: zeroconf.ZeroconfServiceInfo) -> ConfigFlowResult: ...
|
@@ -17,7 +17,7 @@ class MotionMountPresets(MotionMountEntity, SelectEntity):
|
|
17
17
|
_attr_should_poll: bool
|
18
18
|
_attr_translation_key: str
|
19
19
|
_attr_unique_id: Incomplete
|
20
|
-
_presets:
|
20
|
+
_presets: list[motionmount.Preset]
|
21
21
|
def __init__(self, mm: motionmount.MotionMount, config_entry: ConfigEntry) -> None: ...
|
22
22
|
_attr_options: Incomplete
|
23
23
|
def _update_options(self, presets: list[motionmount.Preset]) -> None: ...
|
@@ -7,6 +7,7 @@ from .const import CONF_BIRTH_MESSAGE as CONF_BIRTH_MESSAGE, CONF_BROKER as CONF
|
|
7
7
|
from .models import DATA_MQTT as DATA_MQTT, MessageCallbackType as MessageCallbackType, MqttData as MqttData, PublishMessage as PublishMessage, PublishPayloadType as PublishPayloadType, ReceiveMessage as ReceiveMessage
|
8
8
|
from .util import EnsureJobAfterCooldown as EnsureJobAfterCooldown, get_file_path as get_file_path, mqtt_config_entry_enabled as mqtt_config_entry_enabled
|
9
9
|
from _typeshed import Incomplete
|
10
|
+
from collections import defaultdict
|
10
11
|
from collections.abc import AsyncGenerator, Callable as Callable, Coroutine, Iterable
|
11
12
|
from dataclasses import dataclass
|
12
13
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
@@ -71,24 +72,24 @@ class MQTT:
|
|
71
72
|
loop: Incomplete
|
72
73
|
config_entry: Incomplete
|
73
74
|
conf: Incomplete
|
74
|
-
_simple_subscriptions:
|
75
|
-
_wildcard_subscriptions:
|
76
|
-
_retained_topics:
|
75
|
+
_simple_subscriptions: defaultdict[str, set[Subscription]]
|
76
|
+
_wildcard_subscriptions: dict[Subscription, None]
|
77
|
+
_retained_topics: defaultdict[Subscription, set[str]]
|
77
78
|
connected: bool
|
78
79
|
_ha_started: Incomplete
|
79
|
-
_cleanup_on_unload:
|
80
|
+
_cleanup_on_unload: list[Callable[[], None]]
|
80
81
|
_connection_lock: Incomplete
|
81
|
-
_pending_operations:
|
82
|
+
_pending_operations: dict[int, asyncio.Future[None]]
|
82
83
|
_subscribe_debouncer: Incomplete
|
83
|
-
_misc_timer:
|
84
|
-
_reconnect_task:
|
84
|
+
_misc_timer: asyncio.TimerHandle | None
|
85
|
+
_reconnect_task: asyncio.Task | None
|
85
86
|
_should_reconnect: bool
|
86
|
-
_available_future:
|
87
|
-
_max_qos:
|
88
|
-
_pending_subscriptions:
|
87
|
+
_available_future: asyncio.Future[bool] | None
|
88
|
+
_max_qos: defaultdict[str, int]
|
89
|
+
_pending_subscriptions: dict[str, int]
|
89
90
|
_unsubscribe_debouncer: Incomplete
|
90
|
-
_pending_unsubscribes:
|
91
|
-
_socket_buffersize:
|
91
|
+
_pending_unsubscribes: set[str]
|
92
|
+
_socket_buffersize: int | None
|
92
93
|
def __init__(self, hass: HomeAssistant, config_entry: ConfigEntry, conf: ConfigType) -> None: ...
|
93
94
|
def _async_ha_started(self, _hass: HomeAssistant) -> None: ...
|
94
95
|
async def _async_ha_stop(self, _event: Event) -> None: ...
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import asyncio
|
1
2
|
from .addon import get_addon_manager as get_addon_manager
|
2
3
|
from .client import MqttClientSetup as MqttClientSetup
|
3
4
|
from .const import ATTR_PAYLOAD as ATTR_PAYLOAD, ATTR_QOS as ATTR_QOS, ATTR_RETAIN as ATTR_RETAIN, ATTR_TOPIC as ATTR_TOPIC, CONF_BIRTH_MESSAGE as CONF_BIRTH_MESSAGE, CONF_BROKER as CONF_BROKER, CONF_CERTIFICATE as CONF_CERTIFICATE, CONF_CLIENT_CERT as CONF_CLIENT_CERT, CONF_CLIENT_KEY as CONF_CLIENT_KEY, CONF_DISCOVERY_PREFIX as CONF_DISCOVERY_PREFIX, CONF_KEEPALIVE as CONF_KEEPALIVE, CONF_TLS_INSECURE as CONF_TLS_INSECURE, CONF_TRANSPORT as CONF_TRANSPORT, CONF_WILL_MESSAGE as CONF_WILL_MESSAGE, CONF_WS_HEADERS as CONF_WS_HEADERS, CONF_WS_PATH as CONF_WS_PATH, DEFAULT_BIRTH as DEFAULT_BIRTH, DEFAULT_DISCOVERY as DEFAULT_DISCOVERY, DEFAULT_ENCODING as DEFAULT_ENCODING, DEFAULT_KEEPALIVE as DEFAULT_KEEPALIVE, DEFAULT_PORT as DEFAULT_PORT, DEFAULT_PREFIX as DEFAULT_PREFIX, DEFAULT_PROTOCOL as DEFAULT_PROTOCOL, DEFAULT_TRANSPORT as DEFAULT_TRANSPORT, DEFAULT_WILL as DEFAULT_WILL, DEFAULT_WS_PATH as DEFAULT_WS_PATH, DOMAIN as DOMAIN, SUPPORTED_PROTOCOLS as SUPPORTED_PROTOCOLS, TRANSPORT_TCP as TRANSPORT_TCP, TRANSPORT_WEBSOCKETS as TRANSPORT_WEBSOCKETS
|
@@ -51,8 +52,8 @@ class FlowHandler(ConfigFlow, domain=DOMAIN):
|
|
51
52
|
VERSION: int
|
52
53
|
_hassio_discovery: dict[str, Any] | None
|
53
54
|
_addon_manager: AddonManager
|
54
|
-
install_task:
|
55
|
-
start_task:
|
55
|
+
install_task: asyncio.Task | None
|
56
|
+
start_task: asyncio.Task | None
|
56
57
|
def __init__(self) -> None: ...
|
57
58
|
@staticmethod
|
58
59
|
def async_get_options_flow(config_entry: ConfigEntry) -> MQTTOptionsFlowHandler: ...
|
@@ -74,7 +75,7 @@ class FlowHandler(ConfigFlow, domain=DOMAIN):
|
|
74
75
|
async def async_step_hassio_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
75
76
|
|
76
77
|
class MQTTOptionsFlowHandler(OptionsFlow):
|
77
|
-
broker_config:
|
78
|
+
broker_config: dict[str, Any]
|
78
79
|
def __init__(self) -> None: ...
|
79
80
|
async def async_step_init(self, user_input: None = None) -> ConfigFlowResult: ...
|
80
81
|
async def async_step_broker(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -43,7 +43,7 @@ def init_entity_id_from_config(hass: HomeAssistant, entity: Entity, config: Conf
|
|
43
43
|
class MqttAttributesMixin(Entity):
|
44
44
|
_attributes_extra_blocked: frozenset[str]
|
45
45
|
_attr_tpl: Callable[[ReceivePayloadType], ReceivePayloadType] | None
|
46
|
-
_attributes_sub_state:
|
46
|
+
_attributes_sub_state: dict[str, EntitySubscription]
|
47
47
|
_attributes_config: Incomplete
|
48
48
|
def __init__(self, config: ConfigType) -> None: ...
|
49
49
|
async def async_added_to_hass(self) -> None: ...
|
@@ -56,14 +56,14 @@ class MqttAttributesMixin(Entity):
|
|
56
56
|
def _attributes_message_received(self, msg: ReceiveMessage) -> None: ...
|
57
57
|
|
58
58
|
class MqttAvailabilityMixin(Entity):
|
59
|
-
_availability_sub_state:
|
60
|
-
_available:
|
59
|
+
_availability_sub_state: dict[str, EntitySubscription]
|
60
|
+
_available: dict[str, str | bool]
|
61
61
|
_available_latest: bool
|
62
62
|
def __init__(self, config: ConfigType) -> None: ...
|
63
63
|
async def async_added_to_hass(self) -> None: ...
|
64
64
|
def availability_prepare_discovery_update(self, config: DiscoveryInfoType) -> None: ...
|
65
65
|
async def availability_discovery_update(self, config: DiscoveryInfoType) -> None: ...
|
66
|
-
_avail_topics:
|
66
|
+
_avail_topics: dict[str, dict[str, Any]]
|
67
67
|
_avail_config: Incomplete
|
68
68
|
def _availability_setup_from_config(self, config: ConfigType) -> None: ...
|
69
69
|
def _availability_prepare_subscribe_topics(self) -> None: ...
|
@@ -89,7 +89,7 @@ class MqttDiscoveryDeviceUpdateMixin(ABC, metaclass=abc.ABCMeta):
|
|
89
89
|
_config_entry: Incomplete
|
90
90
|
_config_entry_id: Incomplete
|
91
91
|
_skip_device_removal: bool
|
92
|
-
_migrate_discovery:
|
92
|
+
_migrate_discovery: str | None
|
93
93
|
_remove_discovery_updated: Incomplete
|
94
94
|
_remove_device_updated: Incomplete
|
95
95
|
def __init__(self, hass: HomeAssistant, discovery_data: DiscoveryInfoType, device_id: str | None, config_entry: ConfigEntry, log_name: str) -> None: ...
|
@@ -105,10 +105,10 @@ class MqttDiscoveryDeviceUpdateMixin(ABC, metaclass=abc.ABCMeta):
|
|
105
105
|
class MqttDiscoveryUpdateMixin(Entity):
|
106
106
|
_discovery_data: Incomplete
|
107
107
|
_discovery_update: Incomplete
|
108
|
-
_remove_discovery_updated:
|
108
|
+
_remove_discovery_updated: Callable[[], None] | None
|
109
109
|
_removed_from_hass: bool
|
110
110
|
_registry_hooks: Incomplete
|
111
|
-
_migrate_discovery:
|
111
|
+
_migrate_discovery: str | None
|
112
112
|
def __init__(self, hass: HomeAssistant, discovery_data: DiscoveryInfoType | None, discovery_update: Callable[[MQTTDiscoveryPayload], Coroutine[Any, Any, None]] | None = None) -> None: ...
|
113
113
|
async def async_added_to_hass(self) -> None: ...
|
114
114
|
async def _async_remove_state_and_registry_entry(self) -> None: ...
|
@@ -139,11 +139,11 @@ class MqttEntity(MqttAttributesMixin, MqttAvailabilityMixin, MqttDiscoveryUpdate
|
|
139
139
|
_default_name: str | None
|
140
140
|
_entity_id_format: str
|
141
141
|
hass: Incomplete
|
142
|
-
_config:
|
142
|
+
_config: ConfigType
|
143
143
|
_attr_unique_id: Incomplete
|
144
|
-
_sub_state:
|
144
|
+
_sub_state: dict[str, EntitySubscription]
|
145
145
|
_discovery: Incomplete
|
146
|
-
_subscriptions:
|
146
|
+
_subscriptions: dict[str, dict[str, Any]]
|
147
147
|
def __init__(self, hass: HomeAssistant, config: ConfigType, config_entry: ConfigEntry, discovery_data: DiscoveryInfoType | None) -> None: ...
|
148
148
|
def _init_entity_id(self) -> None: ...
|
149
149
|
async def async_added_to_hass(self) -> None: ...
|
@@ -83,7 +83,7 @@ class MqttCommandTemplateException(ServiceValidationError):
|
|
83
83
|
def __str__(self) -> str: ...
|
84
84
|
|
85
85
|
class MqttCommandTemplate:
|
86
|
-
_template_state:
|
86
|
+
_template_state: template.TemplateStateFromEntityId | None
|
87
87
|
_command_template: Incomplete
|
88
88
|
_entity: Incomplete
|
89
89
|
def __init__(self, command_template: template.Template | None, *, entity: Entity | None = None) -> None: ...
|
@@ -95,7 +95,7 @@ class MqttValueTemplateException(TemplateError):
|
|
95
95
|
def __str__(self) -> str: ...
|
96
96
|
|
97
97
|
class MqttValueTemplate:
|
98
|
-
_template_state:
|
98
|
+
_template_state: template.TemplateStateFromEntityId | None
|
99
99
|
_value_template: Incomplete
|
100
100
|
_config_attributes: Incomplete
|
101
101
|
_entity: Incomplete
|
@@ -103,7 +103,7 @@ class MqttValueTemplate:
|
|
103
103
|
def async_render_with_possible_json_value(self, payload: ReceivePayloadType, default: ReceivePayloadType | PayloadSentinel = ..., variables: TemplateVarsType = None) -> ReceivePayloadType: ...
|
104
104
|
|
105
105
|
class EntityTopicState:
|
106
|
-
subscribe_calls:
|
106
|
+
subscribe_calls: dict[str, Entity]
|
107
107
|
def __init__(self) -> None: ...
|
108
108
|
def process_write_state_requests(self, msg: MQTTMessage) -> None: ...
|
109
109
|
def write_state_request(self, entity: Entity) -> None: ...
|
@@ -32,7 +32,7 @@ class MQTTTagScanner(MqttDiscoveryDeviceUpdateMixin):
|
|
32
32
|
device_id: Incomplete
|
33
33
|
discovery_data: Incomplete
|
34
34
|
hass: Incomplete
|
35
|
-
_sub_state:
|
35
|
+
_sub_state: dict[str, EntitySubscription] | None
|
36
36
|
def __init__(self, hass: HomeAssistant, config: ConfigType, device_id: str | None, discovery_data: DiscoveryInfoType, config_entry: ConfigEntry) -> None: ...
|
37
37
|
async def async_update(self, discovery_data: MQTTDiscoveryPayload) -> None: ...
|
38
38
|
def _async_tag_scanned(self, msg: ReceiveMessage) -> None: ...
|
@@ -22,8 +22,8 @@ class EnsureJobAfterCooldown:
|
|
22
22
|
_loop: Incomplete
|
23
23
|
_timeout: Incomplete
|
24
24
|
_callback: Incomplete
|
25
|
-
_task:
|
26
|
-
_timer:
|
25
|
+
_task: asyncio.Task | None
|
26
|
+
_timer: asyncio.TimerHandle | None
|
27
27
|
_next_execute_time: float
|
28
28
|
def __init__(self, timeout: float, callback_job: Callable[[], Coroutine[Any, None, None]]) -> None: ...
|
29
29
|
def set_timeout(self, timeout: float) -> None: ...
|
@@ -73,7 +73,7 @@ class MqttStateVacuum(MqttEntity, StateVacuumEntity):
|
|
73
73
|
_set_fan_speed_topic: str | None
|
74
74
|
_send_command_topic: str | None
|
75
75
|
_payloads: dict[str, str | None]
|
76
|
-
_state_attrs:
|
76
|
+
_state_attrs: dict[str, Any]
|
77
77
|
def __init__(self, hass: HomeAssistant, config: ConfigType, config_entry: ConfigEntry, discovery_data: DiscoveryInfoType | None) -> None: ...
|
78
78
|
@staticmethod
|
79
79
|
def config_schema() -> VolSchemaType: ...
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import voluptuous as vol
|
2
2
|
from .const import DOMAIN as DOMAIN, LOGGER as LOGGER
|
3
|
-
from _typeshed import Incomplete
|
4
3
|
from homeassistant.components import zeroconf as zeroconf
|
5
4
|
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
|
6
5
|
from homeassistant.const import CONF_URL as CONF_URL
|
@@ -17,7 +16,7 @@ async def get_server_info(hass: HomeAssistant, url: str) -> ServerInfoMessage: .
|
|
17
16
|
|
18
17
|
class MusicAssistantConfigFlow(ConfigFlow, domain=DOMAIN):
|
19
18
|
VERSION: int
|
20
|
-
server_info:
|
19
|
+
server_info: ServerInfoMessage | None
|
21
20
|
def __init__(self) -> None: ...
|
22
21
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
23
22
|
async def async_step_zeroconf(self, discovery_info: zeroconf.ZeroconfServiceInfo) -> ConfigFlowResult: ...
|
@@ -36,7 +36,7 @@ class MusicAssistantPlayer(MusicAssistantEntity, MediaPlayerEntity):
|
|
36
36
|
_attr_icon: Incomplete
|
37
37
|
_attr_supported_features: Incomplete
|
38
38
|
_attr_device_class: Incomplete
|
39
|
-
_prev_time:
|
39
|
+
_prev_time: float
|
40
40
|
def __init__(self, mass: MusicAssistantClient, player_id: str) -> None: ...
|
41
41
|
async def async_added_to_hass(self) -> None: ...
|
42
42
|
@property
|
@@ -20,7 +20,7 @@ def _validate_version(version: str) -> dict[str, str]: ...
|
|
20
20
|
def _is_same_device(gw_type: ConfGatewayType, user_input: dict[str, Any], entry: ConfigEntry) -> bool: ...
|
21
21
|
|
22
22
|
class MySensorsConfigFlowHandler(ConfigFlow, domain=DOMAIN):
|
23
|
-
_gw_type:
|
23
|
+
_gw_type: str | None
|
24
24
|
def __init__(self) -> None: ...
|
25
25
|
async def async_step_user(self, user_input: dict[str, str] | None = None) -> ConfigFlowResult: ...
|
26
26
|
async def async_step_select_gateway_type(self, user_input: dict[str, str] | None = None) -> ConfigFlowResult: ...
|
@@ -22,10 +22,10 @@ MYSENSORS_PLATFORM_DEVICES: str
|
|
22
22
|
|
23
23
|
class MySensorNodeEntity(Entity, metaclass=abc.ABCMeta):
|
24
24
|
hass: HomeAssistant
|
25
|
-
gateway_id:
|
26
|
-
gateway:
|
27
|
-
node_id:
|
28
|
-
_debouncer:
|
25
|
+
gateway_id: GatewayId
|
26
|
+
gateway: BaseAsyncGateway
|
27
|
+
node_id: int
|
28
|
+
_debouncer: Debouncer | None
|
29
29
|
def __init__(self, gateway_id: GatewayId, gateway: BaseAsyncGateway, node_id: int) -> None: ...
|
30
30
|
@property
|
31
31
|
def _node(self) -> Sensor: ...
|
@@ -48,10 +48,10 @@ def get_mysensors_devices(hass: HomeAssistant, domain: Platform) -> dict[DevId,
|
|
48
48
|
|
49
49
|
class MySensorsChildEntity(MySensorNodeEntity):
|
50
50
|
_attr_should_poll: bool
|
51
|
-
child_id:
|
52
|
-
value_type:
|
51
|
+
child_id: int
|
52
|
+
value_type: int
|
53
53
|
child_type: Incomplete
|
54
|
-
_values:
|
54
|
+
_values: dict[int, Any]
|
55
55
|
def __init__(self, gateway_id: GatewayId, gateway: BaseAsyncGateway, node_id: int, child_id: int, value_type: int) -> None: ...
|
56
56
|
@property
|
57
57
|
def dev_id(self) -> DevId: ...
|
@@ -15,7 +15,7 @@ from typing import Any
|
|
15
15
|
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
16
16
|
|
17
17
|
class MySensorsLight(MySensorsChildEntity, LightEntity):
|
18
|
-
_state:
|
18
|
+
_state: bool | None
|
19
19
|
def __init__(self, *args: Any) -> None: ...
|
20
20
|
@property
|
21
21
|
def is_on(self) -> bool: ...
|