homeassistant-stubs 2023.4.0b4__py3-none-any.whl → 2023.4.0b6__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 +18 -18
- homeassistant-stubs/auth/auth_store.pyi +8 -8
- homeassistant-stubs/auth/jwt_wrapper.pyi +2 -2
- homeassistant-stubs/auth/mfa_modules/__init__.pyi +1 -1
- homeassistant-stubs/auth/mfa_modules/notify.pyi +5 -5
- homeassistant-stubs/auth/mfa_modules/totp.pyi +2 -2
- homeassistant-stubs/auth/models.pyi +12 -12
- homeassistant-stubs/auth/permissions/__init__.pyi +1 -1
- homeassistant-stubs/auth/permissions/entities.pyi +4 -4
- homeassistant-stubs/auth/permissions/util.pyi +1 -1
- homeassistant-stubs/auth/providers/__init__.pyi +6 -6
- homeassistant-stubs/auth/providers/command_line.pyi +2 -2
- homeassistant-stubs/auth/providers/homeassistant.pyi +2 -2
- homeassistant-stubs/auth/providers/insecure_example.pyi +2 -2
- homeassistant-stubs/auth/providers/legacy_api_password.pyi +2 -2
- homeassistant-stubs/auth/providers/trusted_networks.pyi +4 -4
- homeassistant-stubs/bootstrap.pyi +3 -3
- homeassistant-stubs/components/__init__.pyi +1 -1
- homeassistant-stubs/components/abode/__init__.pyi +1 -1
- homeassistant-stubs/components/abode/alarm_control_panel.pyi +5 -5
- homeassistant-stubs/components/abode/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/abode/camera.pyi +1 -1
- homeassistant-stubs/components/abode/config_flow.pyi +3 -3
- homeassistant-stubs/components/abode/light.pyi +5 -5
- homeassistant-stubs/components/abode/sensor.pyi +1 -1
- homeassistant-stubs/components/abode/switch.pyi +1 -1
- homeassistant-stubs/components/accuweather/config_flow.pyi +1 -1
- homeassistant-stubs/components/accuweather/sensor.pyi +5 -5
- homeassistant-stubs/components/accuweather/weather.pyi +3 -3
- homeassistant-stubs/components/acer_projector/switch.pyi +2 -2
- homeassistant-stubs/components/actiontec/device_tracker.pyi +3 -3
- homeassistant-stubs/components/adguard/config_flow.pyi +5 -5
- homeassistant-stubs/components/adguard/sensor.pyi +1 -1
- homeassistant-stubs/components/aftership/sensor.pyi +3 -3
- homeassistant-stubs/components/air_quality/__init__.pyi +1 -1
- homeassistant-stubs/components/airly/__init__.pyi +1 -1
- homeassistant-stubs/components/airly/config_flow.pyi +1 -1
- homeassistant-stubs/components/airly/sensor.pyi +1 -1
- homeassistant-stubs/components/airvisual/config_flow.pyi +4 -4
- homeassistant-stubs/components/airzone/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/airzone/config_flow.pyi +4 -4
- homeassistant-stubs/components/airzone/select.pyi +1 -1
- homeassistant-stubs/components/aladdin_connect/config_flow.pyi +3 -3
- homeassistant-stubs/components/aladdin_connect/cover.pyi +2 -2
- homeassistant-stubs/components/aladdin_connect/sensor.pyi +2 -2
- homeassistant-stubs/components/alarm_control_panel/__init__.pyi +19 -19
- homeassistant-stubs/components/alarm_control_panel/device_action.pyi +1 -1
- homeassistant-stubs/components/alarm_control_panel/reproduce_state.pyi +2 -2
- homeassistant-stubs/components/alert/__init__.pyi +1 -1
- homeassistant-stubs/components/alert/reproduce_state.pyi +2 -2
- homeassistant-stubs/components/amazon_polly/tts.pyi +3 -3
- homeassistant-stubs/components/ambient_station/config_flow.pyi +2 -2
- homeassistant-stubs/components/amcrest/__init__.pyi +1 -1
- homeassistant-stubs/components/amcrest/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/amcrest/camera.pyi +8 -8
- homeassistant-stubs/components/amcrest/helpers.pyi +1 -1
- homeassistant-stubs/components/amcrest/sensor.pyi +1 -1
- homeassistant-stubs/components/amcrest/switch.pyi +1 -1
- homeassistant-stubs/components/ampio/air_quality.pyi +4 -4
- homeassistant-stubs/components/analytics/analytics.pyi +3 -3
- homeassistant-stubs/components/anthemav/config_flow.pyi +1 -1
- homeassistant-stubs/components/apcupsd/__init__.pyi +6 -6
- homeassistant-stubs/components/apcupsd/config_flow.pyi +1 -1
- homeassistant-stubs/components/apcupsd/sensor.pyi +1 -1
- homeassistant-stubs/components/aqualogic/__init__.pyi +1 -1
- homeassistant-stubs/components/aqualogic/sensor.pyi +3 -3
- homeassistant-stubs/components/aqualogic/switch.pyi +1 -1
- homeassistant-stubs/components/aseko_pool_live/config_flow.pyi +1 -1
- homeassistant-stubs/components/aseko_pool_live/sensor.pyi +1 -1
- homeassistant-stubs/components/asuswrt/config_flow.pyi +4 -4
- homeassistant-stubs/components/asuswrt/device_tracker.pyi +2 -2
- homeassistant-stubs/components/asuswrt/router.pyi +8 -8
- homeassistant-stubs/components/asuswrt/sensor.pyi +2 -2
- homeassistant-stubs/components/auth/__init__.pyi +2 -2
- homeassistant-stubs/components/auth/indieauth.pyi +1 -1
- homeassistant-stubs/components/automation/__init__.pyi +8 -8
- homeassistant-stubs/components/automation/config.pyi +4 -4
- homeassistant-stubs/components/automation/reproduce_state.pyi +2 -2
- homeassistant-stubs/components/automation/trace.pyi +3 -3
- homeassistant-stubs/components/awair/__init__.pyi +2 -2
- homeassistant-stubs/components/awair/config_flow.pyi +7 -7
- homeassistant-stubs/components/awair/sensor.pyi +3 -3
- homeassistant-stubs/components/backup/http.pyi +1 -1
- homeassistant-stubs/components/backup/manager.pyi +1 -1
- homeassistant-stubs/components/baf/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/baf/config_flow.pyi +2 -2
- homeassistant-stubs/components/baf/fan.pyi +2 -2
- homeassistant-stubs/components/baf/number.pyi +1 -1
- homeassistant-stubs/components/baf/sensor.pyi +1 -1
- homeassistant-stubs/components/baf/switch.pyi +1 -1
- homeassistant-stubs/components/bayesian/binary_sensor.pyi +5 -5
- homeassistant-stubs/components/bayesian/helpers.pyi +8 -8
- homeassistant-stubs/components/binary_sensor/__init__.pyi +6 -6
- homeassistant-stubs/components/binary_sensor/significant_change.pyi +1 -1
- homeassistant-stubs/components/bitcoin/sensor.pyi +1 -1
- homeassistant-stubs/components/blockchain/sensor.pyi +1 -1
- homeassistant-stubs/components/bluetooth/active_update_coordinator.pyi +1 -1
- homeassistant-stubs/components/bluetooth/active_update_processor.pyi +1 -1
- homeassistant-stubs/components/bluetooth/api.pyi +5 -5
- homeassistant-stubs/components/bluetooth/base_scanner.pyi +4 -4
- homeassistant-stubs/components/bluetooth/config_flow.pyi +3 -3
- homeassistant-stubs/components/bluetooth/manager.pyi +8 -8
- homeassistant-stubs/components/bluetooth/models.pyi +1 -1
- homeassistant-stubs/components/bluetooth/passive_update_processor.pyi +7 -7
- homeassistant-stubs/components/bluetooth/scanner.pyi +1 -1
- homeassistant-stubs/components/bluetooth/storage.pyi +2 -2
- homeassistant-stubs/components/bluetooth/usage.pyi +1 -1
- homeassistant-stubs/components/bluetooth/util.pyi +1 -1
- homeassistant-stubs/components/bluetooth/wrappers.pyi +7 -7
- homeassistant-stubs/components/bluetooth_tracker/device_tracker.pyi +3 -3
- homeassistant-stubs/components/bmw_connected_drive/__init__.pyi +1 -1
- homeassistant-stubs/components/bmw_connected_drive/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/bmw_connected_drive/button.pyi +2 -2
- homeassistant-stubs/components/bmw_connected_drive/config_flow.pyi +4 -4
- homeassistant-stubs/components/bmw_connected_drive/coordinator.pyi +1 -1
- homeassistant-stubs/components/bmw_connected_drive/device_tracker.pyi +2 -2
- homeassistant-stubs/components/bmw_connected_drive/diagnostics.pyi +1 -1
- homeassistant-stubs/components/bmw_connected_drive/notify.pyi +2 -2
- homeassistant-stubs/components/bmw_connected_drive/sensor.pyi +3 -3
- homeassistant-stubs/components/bond/button.pyi +2 -2
- homeassistant-stubs/components/bond/config_flow.pyi +3 -3
- homeassistant-stubs/components/bond/entity.pyi +1 -1
- homeassistant-stubs/components/bond/fan.pyi +2 -2
- homeassistant-stubs/components/bond/light.pyi +1 -1
- homeassistant-stubs/components/bond/utils.pyi +10 -10
- homeassistant-stubs/components/braviatv/config_flow.pyi +5 -5
- homeassistant-stubs/components/braviatv/coordinator.pyi +4 -4
- homeassistant-stubs/components/braviatv/media_player.pyi +10 -10
- homeassistant-stubs/components/brother/config_flow.pyi +2 -2
- homeassistant-stubs/components/brother/sensor.pyi +1 -1
- homeassistant-stubs/components/button/__init__.pyi +5 -5
- homeassistant-stubs/components/button/device_action.pyi +1 -1
- homeassistant-stubs/components/calendar/__init__.pyi +14 -14
- homeassistant-stubs/components/camera/__init__.pyi +18 -18
- homeassistant-stubs/components/camera/img_util.pyi +3 -3
- homeassistant-stubs/components/camera/prefs.pyi +1 -1
- homeassistant-stubs/components/canary/alarm_control_panel.pyi +5 -5
- homeassistant-stubs/components/canary/camera.pyi +2 -2
- homeassistant-stubs/components/canary/config_flow.pyi +3 -3
- homeassistant-stubs/components/canary/sensor.pyi +3 -3
- homeassistant-stubs/components/clickatell/notify.pyi +1 -1
- homeassistant-stubs/components/clicksend/notify.pyi +1 -1
- homeassistant-stubs/components/configurator/__init__.pyi +2 -2
- homeassistant-stubs/components/cover/__init__.pyi +15 -15
- homeassistant-stubs/components/cover/device_action.pyi +1 -1
- homeassistant-stubs/components/cover/reproduce_state.pyi +2 -2
- homeassistant-stubs/components/cpuspeed/config_flow.pyi +2 -2
- homeassistant-stubs/components/crownstone/config_flow.pyi +5 -5
- homeassistant-stubs/components/crownstone/entry_manager.pyi +1 -1
- homeassistant-stubs/components/crownstone/helpers.pyi +1 -1
- homeassistant-stubs/components/crownstone/light.pyi +3 -3
- homeassistant-stubs/components/crownstone/listeners.pyi +1 -1
- homeassistant-stubs/components/deconz/alarm_control_panel.pyi +7 -7
- homeassistant-stubs/components/deconz/binary_sensor.pyi +5 -5
- homeassistant-stubs/components/deconz/button.pyi +2 -2
- homeassistant-stubs/components/deconz/climate.pyi +4 -4
- homeassistant-stubs/components/deconz/config_flow.pyi +6 -6
- homeassistant-stubs/components/deconz/cover.pyi +2 -2
- homeassistant-stubs/components/deconz/deconz_device.pyi +6 -6
- homeassistant-stubs/components/deconz/deconz_event.pyi +1 -1
- homeassistant-stubs/components/deconz/device_trigger.pyi +1 -1
- homeassistant-stubs/components/deconz/fan.pyi +3 -3
- homeassistant-stubs/components/deconz/gateway.pyi +1 -1
- homeassistant-stubs/components/deconz/light.pyi +7 -7
- homeassistant-stubs/components/deconz/lock.pyi +1 -2
- homeassistant-stubs/components/deconz/logbook.pyi +1 -1
- homeassistant-stubs/components/deconz/number.pyi +3 -3
- homeassistant-stubs/components/deconz/scene.pyi +1 -2
- homeassistant-stubs/components/deconz/select.pyi +6 -6
- homeassistant-stubs/components/deconz/sensor.pyi +5 -5
- homeassistant-stubs/components/deconz/siren.pyi +1 -1
- homeassistant-stubs/components/deconz/switch.pyi +1 -2
- homeassistant-stubs/components/deconz/util.pyi +1 -1
- homeassistant-stubs/components/demo/air_quality.pyi +3 -3
- homeassistant-stubs/components/demo/alarm_control_panel.pyi +1 -1
- homeassistant-stubs/components/demo/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/demo/button.pyi +1 -1
- homeassistant-stubs/components/demo/calendar.pyi +1 -1
- homeassistant-stubs/components/demo/camera.pyi +2 -2
- homeassistant-stubs/components/demo/climate.pyi +13 -13
- homeassistant-stubs/components/demo/config_flow.pyi +3 -3
- homeassistant-stubs/components/demo/cover.pyi +4 -4
- homeassistant-stubs/components/demo/device_tracker.pyi +1 -1
- homeassistant-stubs/components/demo/fan.pyi +12 -12
- homeassistant-stubs/components/demo/geo_location.pyi +4 -4
- homeassistant-stubs/components/demo/humidifier.pyi +2 -2
- homeassistant-stubs/components/demo/image_processing.pyi +1 -1
- homeassistant-stubs/components/demo/light.pyi +8 -8
- homeassistant-stubs/components/demo/lock.pyi +1 -1
- homeassistant-stubs/components/demo/mailbox.pyi +1 -1
- homeassistant-stubs/components/demo/media_player.pyi +9 -9
- homeassistant-stubs/components/demo/notify.pyi +1 -1
- homeassistant-stubs/components/demo/number.pyi +2 -2
- homeassistant-stubs/components/demo/remote.pyi +3 -3
- homeassistant-stubs/components/demo/select.pyi +2 -2
- homeassistant-stubs/components/demo/sensor.pyi +3 -3
- homeassistant-stubs/components/demo/siren.pyi +2 -2
- homeassistant-stubs/components/demo/stt.pyi +1 -1
- homeassistant-stubs/components/demo/switch.pyi +2 -2
- homeassistant-stubs/components/demo/text.pyi +2 -2
- homeassistant-stubs/components/demo/tts.pyi +2 -2
- homeassistant-stubs/components/demo/update.pyi +4 -4
- homeassistant-stubs/components/demo/vacuum.pyi +3 -3
- homeassistant-stubs/components/demo/water_heater.pyi +2 -2
- homeassistant-stubs/components/demo/weather.pyi +1 -1
- homeassistant-stubs/components/derivative/config_flow.pyi +2 -2
- homeassistant-stubs/components/derivative/sensor.pyi +4 -4
- homeassistant-stubs/components/device_automation/__init__.pyi +2 -2
- homeassistant-stubs/components/device_automation/action.pyi +2 -2
- homeassistant-stubs/components/device_automation/toggle_entity.pyi +1 -1
- homeassistant-stubs/components/device_tracker/config_entry.pyi +14 -14
- homeassistant-stubs/components/device_tracker/legacy.pyi +22 -22
- homeassistant-stubs/components/devolo_home_control/__init__.pyi +1 -1
- homeassistant-stubs/components/devolo_home_control/climate.pyi +2 -2
- homeassistant-stubs/components/devolo_home_control/config_flow.pyi +4 -4
- homeassistant-stubs/components/devolo_home_network/config_flow.pyi +3 -3
- homeassistant-stubs/components/dhcp/__init__.pyi +2 -2
- homeassistant-stubs/components/diagnostics/__init__.pyi +3 -3
- homeassistant-stubs/components/dlna_dmr/config_flow.pyi +2 -2
- homeassistant-stubs/components/dlna_dmr/const.pyi +1 -1
- homeassistant-stubs/components/dlna_dmr/data.pyi +3 -3
- homeassistant-stubs/components/dlna_dmr/media_player.pyi +29 -29
- homeassistant-stubs/components/dnsip/config_flow.pyi +2 -2
- homeassistant-stubs/components/dormakaba_dkey/config_flow.pyi +5 -5
- homeassistant-stubs/components/dsmr/__init__.pyi +1 -1
- homeassistant-stubs/components/dsmr/config_flow.pyi +10 -10
- homeassistant-stubs/components/dsmr/sensor.pyi +6 -6
- homeassistant-stubs/components/dunehd/config_flow.pyi +1 -1
- homeassistant-stubs/components/dunehd/media_player.pyi +1 -1
- homeassistant-stubs/components/efergy/config_flow.pyi +2 -2
- homeassistant-stubs/components/efergy/sensor.pyi +1 -1
- homeassistant-stubs/components/elgato/config_flow.pyi +4 -4
- homeassistant-stubs/components/elgato/coordinator.pyi +2 -2
- homeassistant-stubs/components/elgato/light.pyi +4 -4
- homeassistant-stubs/components/elgato/sensor.pyi +2 -2
- homeassistant-stubs/components/elgato/switch.pyi +2 -2
- homeassistant-stubs/components/elkm1/__init__.pyi +3 -3
- homeassistant-stubs/components/elkm1/alarm_control_panel.pyi +12 -12
- homeassistant-stubs/components/elkm1/climate.pyi +9 -9
- homeassistant-stubs/components/elkm1/config_flow.pyi +6 -6
- homeassistant-stubs/components/elkm1/discovery.pyi +2 -2
- homeassistant-stubs/components/elkm1/sensor.pyi +6 -6
- homeassistant-stubs/components/emulated_hue/config.pyi +1 -1
- homeassistant-stubs/components/emulated_hue/upnp.pyi +1 -1
- homeassistant-stubs/components/energy/data.pyi +13 -13
- homeassistant-stubs/components/energy/sensor.pyi +4 -4
- homeassistant-stubs/components/energy/types.pyi +2 -2
- homeassistant-stubs/components/energy/validate.pyi +4 -4
- homeassistant-stubs/components/esphome/__init__.pyi +7 -7
- homeassistant-stubs/components/esphome/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/esphome/bluetooth/characteristic.pyi +1 -1
- homeassistant-stubs/components/esphome/bluetooth/client.pyi +6 -6
- homeassistant-stubs/components/esphome/button.pyi +1 -1
- homeassistant-stubs/components/esphome/camera.pyi +2 -2
- homeassistant-stubs/components/esphome/climate.pyi +9 -9
- homeassistant-stubs/components/esphome/config_flow.pyi +9 -9
- homeassistant-stubs/components/esphome/cover.pyi +4 -4
- homeassistant-stubs/components/esphome/dashboard.pyi +1 -1
- homeassistant-stubs/components/esphome/domain_data.pyi +2 -2
- homeassistant-stubs/components/esphome/entry_data.pyi +2 -2
- homeassistant-stubs/components/esphome/fan.pyi +6 -6
- homeassistant-stubs/components/esphome/light.pyi +8 -8
- homeassistant-stubs/components/esphome/lock.pyi +5 -5
- homeassistant-stubs/components/esphome/media_player.pyi +4 -4
- homeassistant-stubs/components/esphome/number.pyi +3 -3
- homeassistant-stubs/components/esphome/select.pyi +1 -1
- homeassistant-stubs/components/esphome/sensor.pyi +6 -6
- homeassistant-stubs/components/esphome/switch.pyi +2 -2
- homeassistant-stubs/components/esphome/update.pyi +4 -4
- homeassistant-stubs/components/evil_genius_labs/__init__.pyi +2 -2
- homeassistant-stubs/components/evil_genius_labs/config_flow.pyi +1 -1
- homeassistant-stubs/components/fan/__init__.pyi +18 -18
- homeassistant-stubs/components/fan/device_action.pyi +1 -1
- homeassistant-stubs/components/fan/reproduce_state.pyi +2 -2
- homeassistant-stubs/components/fastdotcom/__init__.pyi +1 -1
- homeassistant-stubs/components/fastdotcom/sensor.pyi +1 -1
- homeassistant-stubs/components/feedreader/__init__.pyi +1 -1
- homeassistant-stubs/components/file_upload/__init__.pyi +1 -1
- homeassistant-stubs/components/filesize/config_flow.pyi +1 -1
- homeassistant-stubs/components/filesize/sensor.pyi +2 -2
- homeassistant-stubs/components/filter/sensor.pyi +9 -9
- homeassistant-stubs/components/fitbit/const.pyi +1 -1
- homeassistant-stubs/components/fitbit/sensor.pyi +7 -7
- homeassistant-stubs/components/flux_led/__init__.pyi +1 -1
- homeassistant-stubs/components/flux_led/config_flow.pyi +5 -5
- homeassistant-stubs/components/flux_led/discovery.pyi +5 -5
- homeassistant-stubs/components/flux_led/entity.pyi +1 -1
- homeassistant-stubs/components/flux_led/light.pyi +2 -2
- homeassistant-stubs/components/flux_led/number.pyi +1 -1
- homeassistant-stubs/components/flux_led/select.pyi +5 -5
- homeassistant-stubs/components/flux_led/util.pyi +2 -2
- homeassistant-stubs/components/forecast_solar/config_flow.pyi +2 -2
- homeassistant-stubs/components/forecast_solar/energy.pyi +1 -1
- homeassistant-stubs/components/forecast_solar/models.pyi +1 -1
- homeassistant-stubs/components/forecast_solar/sensor.pyi +1 -1
- homeassistant-stubs/components/fritz/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/fritz/button.pyi +1 -1
- homeassistant-stubs/components/fritz/common.pyi +21 -22
- homeassistant-stubs/components/fritz/config_flow.pyi +9 -9
- homeassistant-stubs/components/fritz/sensor.pyi +2 -2
- homeassistant-stubs/components/fritz/services.pyi +1 -1
- homeassistant-stubs/components/fritz/switch.pyi +3 -3
- homeassistant-stubs/components/fritz/update.pyi +4 -4
- homeassistant-stubs/components/fritzbox/__init__.pyi +3 -2
- homeassistant-stubs/components/fritzbox/binary_sensor.pyi +2 -6
- homeassistant-stubs/components/fritzbox/climate.pyi +2 -2
- homeassistant-stubs/components/fritzbox/config_flow.pyi +3 -3
- homeassistant-stubs/components/fritzbox/cover.pyi +2 -2
- homeassistant-stubs/components/fritzbox/light.pyi +2 -2
- homeassistant-stubs/components/fritzbox/sensor.pyi +2 -2
- homeassistant-stubs/components/fritzbox_callmonitor/base.pyi +1 -1
- homeassistant-stubs/components/fritzbox_callmonitor/config_flow.pyi +5 -5
- homeassistant-stubs/components/fritzbox_callmonitor/sensor.pyi +4 -4
- homeassistant-stubs/components/fronius/__init__.pyi +1 -1
- homeassistant-stubs/components/fronius/config_flow.pyi +2 -2
- homeassistant-stubs/components/fronius/coordinator.pyi +6 -6
- homeassistant-stubs/components/fronius/sensor.pyi +8 -7
- homeassistant-stubs/components/frontend/__init__.pyi +14 -14
- homeassistant-stubs/components/fully_kiosk/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/fully_kiosk/config_flow.pyi +3 -3
- homeassistant-stubs/components/fully_kiosk/media_player.pyi +3 -3
- homeassistant-stubs/components/fully_kiosk/number.pyi +1 -1
- homeassistant-stubs/components/fully_kiosk/sensor.pyi +1 -1
- homeassistant-stubs/components/fully_kiosk/switch.pyi +1 -1
- homeassistant-stubs/components/geo_location/__init__.pyi +7 -7
- homeassistant-stubs/components/geo_location/trigger.pyi +1 -1
- homeassistant-stubs/components/geocaching/config_flow.pyi +2 -3
- homeassistant-stubs/components/geocaching/sensor.pyi +2 -2
- homeassistant-stubs/components/gios/config_flow.pyi +1 -1
- homeassistant-stubs/components/gios/sensor.pyi +2 -2
- homeassistant-stubs/components/goalzero/config_flow.pyi +3 -3
- homeassistant-stubs/components/goalzero/entity.pyi +1 -1
- homeassistant-stubs/components/google/api.pyi +2 -2
- homeassistant-stubs/components/google/calendar.pyi +6 -6
- homeassistant-stubs/components/google/config_flow.pyi +5 -5
- homeassistant-stubs/components/google/store.pyi +1 -1
- homeassistant-stubs/components/google_sheets/config_flow.pyi +3 -3
- homeassistant-stubs/components/greeneye_monitor/sensor.pyi +7 -7
- homeassistant-stubs/components/group/__init__.pyi +13 -13
- homeassistant-stubs/components/group/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/group/config_flow.pyi +5 -5
- homeassistant-stubs/components/group/cover.pyi +7 -7
- homeassistant-stubs/components/group/fan.pyi +8 -8
- homeassistant-stubs/components/group/light.pyi +2 -2
- homeassistant-stubs/components/group/lock.pyi +2 -2
- homeassistant-stubs/components/group/media_player.pyi +4 -4
- homeassistant-stubs/components/group/notify.pyi +1 -1
- homeassistant-stubs/components/group/reproduce_state.pyi +1 -1
- homeassistant-stubs/components/group/sensor.pyi +15 -15
- homeassistant-stubs/components/group/switch.pyi +2 -2
- homeassistant-stubs/components/group/util.pyi +3 -3
- homeassistant-stubs/components/guardian/config_flow.pyi +2 -2
- homeassistant-stubs/components/hardkernel/config_flow.pyi +1 -1
- homeassistant-stubs/components/hardware/models.pyi +11 -11
- homeassistant-stubs/components/hardware/websocket_api.pyi +1 -1
- homeassistant-stubs/components/here_travel_time/config_flow.pyi +9 -9
- homeassistant-stubs/components/here_travel_time/coordinator.pyi +3 -3
- homeassistant-stubs/components/here_travel_time/model.pyi +11 -11
- homeassistant-stubs/components/here_travel_time/sensor.pyi +4 -4
- homeassistant-stubs/components/history/__init__.pyi +3 -3
- homeassistant-stubs/components/history/models.pyi +2 -2
- homeassistant-stubs/components/history/websocket_api.pyi +8 -8
- homeassistant-stubs/components/homeassistant_alerts/__init__.pyi +1 -1
- homeassistant-stubs/components/homeassistant_hardware/silabs_multiprotocol_addon.pyi +14 -14
- homeassistant-stubs/components/homeassistant_yellow/config_flow.pyi +1 -1
- homeassistant-stubs/components/homekit/__init__.pyi +6 -6
- homeassistant-stubs/components/homekit/accessories.pyi +5 -5
- homeassistant-stubs/components/homekit/aidmanager.pyi +2 -2
- homeassistant-stubs/components/homekit/config_flow.pyi +10 -10
- homeassistant-stubs/components/homekit/type_triggers.pyi +2 -2
- homeassistant-stubs/components/homekit/util.pyi +5 -5
- homeassistant-stubs/components/homekit_controller/alarm_control_panel.pyi +6 -6
- homeassistant-stubs/components/homekit_controller/button.pyi +1 -1
- homeassistant-stubs/components/homekit_controller/config_flow.pyi +7 -7
- homeassistant-stubs/components/homekit_controller/lock.pyi +1 -1
- homeassistant-stubs/components/homekit_controller/select.pyi +1 -1
- homeassistant-stubs/components/homekit_controller/storage.pyi +2 -2
- homeassistant-stubs/components/homewizard/config_flow.pyi +4 -4
- homeassistant-stubs/components/homewizard/const.pyi +2 -2
- homeassistant-stubs/components/homewizard/number.pyi +2 -2
- homeassistant-stubs/components/homewizard/sensor.pyi +2 -2
- homeassistant-stubs/components/homewizard/switch.pyi +4 -4
- homeassistant-stubs/components/http/__init__.pyi +5 -5
- homeassistant-stubs/components/http/auth.pyi +2 -2
- homeassistant-stubs/components/http/ban.pyi +2 -2
- homeassistant-stubs/components/http/forwarded.pyi +1 -1
- homeassistant-stubs/components/http/request_context.pyi +2 -2
- homeassistant-stubs/components/http/static.pyi +1 -1
- homeassistant-stubs/components/http/view.pyi +3 -3
- homeassistant-stubs/components/http/web_runner.pyi +1 -1
- homeassistant-stubs/components/huawei_lte/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/huawei_lte/config_flow.pyi +6 -6
- homeassistant-stubs/components/huawei_lte/device_tracker.pyi +6 -6
- homeassistant-stubs/components/huawei_lte/notify.pyi +1 -1
- homeassistant-stubs/components/huawei_lte/sensor.pyi +15 -15
- homeassistant-stubs/components/huawei_lte/switch.pyi +2 -2
- homeassistant-stubs/components/hyperion/__init__.pyi +2 -2
- homeassistant-stubs/components/hyperion/camera.pyi +4 -4
- homeassistant-stubs/components/hyperion/config_flow.pyi +9 -9
- homeassistant-stubs/components/hyperion/light.pyi +11 -11
- homeassistant-stubs/components/hyperion/switch.pyi +1 -1
- homeassistant-stubs/components/ibeacon/config_flow.pyi +1 -1
- homeassistant-stubs/components/ibeacon/entity.pyi +1 -1
- homeassistant-stubs/components/ibeacon/sensor.pyi +2 -2
- homeassistant-stubs/components/image_processing/__init__.pyi +11 -11
- homeassistant-stubs/components/input_button/__init__.pyi +2 -2
- homeassistant-stubs/components/input_select/__init__.pyi +1 -1
- homeassistant-stubs/components/input_select/reproduce_state.pyi +2 -2
- homeassistant-stubs/components/integration/config_flow.pyi +2 -2
- homeassistant-stubs/components/integration/sensor.pyi +4 -4
- homeassistant-stubs/components/iqvia/config_flow.pyi +1 -1
- homeassistant-stubs/components/isy994/__init__.pyi +1 -1
- homeassistant-stubs/components/isy994/binary_sensor.pyi +8 -8
- homeassistant-stubs/components/isy994/button.pyi +1 -1
- homeassistant-stubs/components/isy994/climate.pyi +10 -10
- homeassistant-stubs/components/isy994/config_flow.pyi +4 -4
- homeassistant-stubs/components/isy994/cover.pyi +2 -2
- homeassistant-stubs/components/isy994/entity.pyi +7 -7
- homeassistant-stubs/components/isy994/fan.pyi +5 -5
- homeassistant-stubs/components/isy994/helpers.pyi +7 -7
- homeassistant-stubs/components/isy994/light.pyi +3 -3
- homeassistant-stubs/components/isy994/lock.pyi +1 -1
- homeassistant-stubs/components/isy994/models.pyi +2 -2
- homeassistant-stubs/components/isy994/number.pyi +3 -3
- homeassistant-stubs/components/isy994/select.pyi +3 -3
- homeassistant-stubs/components/isy994/sensor.pyi +8 -8
- homeassistant-stubs/components/isy994/services.pyi +1 -1
- homeassistant-stubs/components/isy994/switch.pyi +4 -4
- homeassistant-stubs/components/jellyfin/browse_media.pyi +4 -4
- homeassistant-stubs/components/jellyfin/client_wrapper.pyi +2 -2
- homeassistant-stubs/components/jellyfin/config_flow.pyi +1 -1
- homeassistant-stubs/components/jellyfin/media_player.pyi +3 -3
- homeassistant-stubs/components/jellyfin/media_source.pyi +2 -2
- homeassistant-stubs/components/jewish_calendar/__init__.pyi +1 -1
- homeassistant-stubs/components/jewish_calendar/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/jewish_calendar/sensor.pyi +4 -4
- homeassistant-stubs/components/kaleidescape/config_flow.pyi +2 -2
- homeassistant-stubs/components/kaleidescape/media_player.pyi +5 -5
- homeassistant-stubs/components/knx/__init__.pyi +1 -1
- homeassistant-stubs/components/knx/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/knx/climate.pyi +6 -6
- homeassistant-stubs/components/knx/config_flow.pyi +12 -12
- homeassistant-stubs/components/knx/const.pyi +7 -7
- homeassistant-stubs/components/knx/cover.pyi +3 -3
- homeassistant-stubs/components/knx/expose.pyi +2 -2
- homeassistant-stubs/components/knx/fan.pyi +3 -3
- homeassistant-stubs/components/knx/light.pyi +6 -6
- homeassistant-stubs/components/knx/notify.pyi +1 -1
- homeassistant-stubs/components/knx/schema.pyi +17 -17
- homeassistant-stubs/components/knx/select.pyi +1 -1
- homeassistant-stubs/components/knx/sensor.pyi +3 -3
- homeassistant-stubs/components/knx/text.pyi +1 -1
- homeassistant-stubs/components/knx/weather.pyi +5 -5
- homeassistant-stubs/components/kraken/__init__.pyi +1 -1
- homeassistant-stubs/components/kraken/config_flow.pyi +2 -2
- homeassistant-stubs/components/kraken/const.pyi +1 -1
- homeassistant-stubs/components/lacrosse/sensor.pyi +10 -10
- homeassistant-stubs/components/lacrosse_view/config_flow.pyi +2 -2
- homeassistant-stubs/components/lacrosse_view/sensor.pyi +3 -3
- homeassistant-stubs/components/lametric/config_flow.pyi +7 -8
- homeassistant-stubs/components/lametric/notify.pyi +1 -1
- homeassistant-stubs/components/lametric/number.pyi +2 -2
- homeassistant-stubs/components/lametric/select.pyi +1 -1
- homeassistant-stubs/components/lametric/sensor.pyi +2 -2
- homeassistant-stubs/components/lametric/services.pyi +1 -1
- homeassistant-stubs/components/laundrify/config_flow.pyi +3 -3
- homeassistant-stubs/components/lcn/__init__.pyi +1 -1
- homeassistant-stubs/components/lcn/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/lcn/climate.pyi +2 -2
- homeassistant-stubs/components/lcn/config_flow.pyi +1 -1
- homeassistant-stubs/components/lcn/helpers.pyi +2 -2
- homeassistant-stubs/components/lcn/light.pyi +1 -1
- homeassistant-stubs/components/lcn/sensor.pyi +2 -2
- homeassistant-stubs/components/ld2410_ble/config_flow.pyi +1 -1
- homeassistant-stubs/components/lidarr/config_flow.pyi +3 -3
- homeassistant-stubs/components/lidarr/sensor.pyi +5 -5
- homeassistant-stubs/components/lifx/button.pyi +2 -2
- homeassistant-stubs/components/lifx/config_flow.pyi +5 -5
- homeassistant-stubs/components/lifx/coordinator.pyi +9 -9
- homeassistant-stubs/components/lifx/light.pyi +7 -7
- homeassistant-stubs/components/lifx/util.pyi +5 -5
- homeassistant-stubs/components/light/__init__.pyi +41 -41
- homeassistant-stubs/components/light/device_action.pyi +1 -1
- homeassistant-stubs/components/light/intent.pyi +1 -1
- homeassistant-stubs/components/light/reproduce_state.pyi +2 -2
- homeassistant-stubs/components/light/significant_change.pyi +1 -1
- homeassistant-stubs/components/litejet/config_flow.pyi +2 -2
- homeassistant-stubs/components/litejet/light.pyi +1 -1
- homeassistant-stubs/components/litterrobot/config_flow.pyi +2 -2
- homeassistant-stubs/components/litterrobot/select.pyi +5 -5
- homeassistant-stubs/components/litterrobot/sensor.pyi +4 -4
- homeassistant-stubs/components/litterrobot/switch.pyi +1 -1
- homeassistant-stubs/components/litterrobot/update.pyi +1 -1
- homeassistant-stubs/components/litterrobot/vacuum.pyi +2 -2
- homeassistant-stubs/components/local_ip/config_flow.pyi +1 -1
- homeassistant-stubs/components/local_ip/sensor.pyi +1 -1
- homeassistant-stubs/components/lock/__init__.pyi +15 -15
- homeassistant-stubs/components/lock/device_action.pyi +1 -1
- homeassistant-stubs/components/lock/reproduce_state.pyi +2 -2
- homeassistant-stubs/components/lock/significant_change.pyi +1 -1
- homeassistant-stubs/components/logbook/__init__.pyi +2 -2
- homeassistant-stubs/components/logbook/helpers.pyi +4 -4
- homeassistant-stubs/components/logbook/models.pyi +14 -14
- homeassistant-stubs/components/logbook/processor.pyi +12 -12
- homeassistant-stubs/components/logbook/queries/__init__.pyi +1 -1
- homeassistant-stubs/components/logbook/queries/all.pyi +1 -1
- homeassistant-stubs/components/logbook/rest_api.pyi +3 -3
- homeassistant-stubs/components/logbook/websocket_api.pyi +7 -7
- homeassistant-stubs/components/lookin/climate.pyi +4 -4
- homeassistant-stubs/components/lookin/config_flow.pyi +2 -2
- homeassistant-stubs/components/lookin/coordinator.pyi +1 -1
- homeassistant-stubs/components/lookin/entity.pyi +4 -4
- homeassistant-stubs/components/lookin/models.pyi +1 -1
- homeassistant-stubs/components/luftdaten/config_flow.pyi +2 -2
- homeassistant-stubs/components/luftdaten/sensor.pyi +1 -1
- homeassistant-stubs/components/mastodon/notify.pyi +1 -1
- homeassistant-stubs/components/matter/config_flow.pyi +9 -9
- homeassistant-stubs/components/matter/entity.pyi +1 -1
- homeassistant-stubs/components/matter/helpers.pyi +1 -1
- homeassistant-stubs/components/matter/lock.pyi +1 -1
- homeassistant-stubs/components/matter/models.pyi +7 -7
- homeassistant-stubs/components/media_player/__init__.pyi +76 -76
- homeassistant-stubs/components/media_player/browse_media.pyi +1 -1
- homeassistant-stubs/components/media_player/reproduce_state.pyi +2 -2
- homeassistant-stubs/components/media_source/__init__.pyi +2 -2
- homeassistant-stubs/components/media_source/local_source.pyi +2 -2
- homeassistant-stubs/components/media_source/models.pyi +5 -5
- homeassistant-stubs/components/metoffice/config_flow.pyi +1 -1
- homeassistant-stubs/components/metoffice/helpers.pyi +1 -1
- homeassistant-stubs/components/metoffice/sensor.pyi +2 -2
- homeassistant-stubs/components/metoffice/weather.pyi +9 -9
- homeassistant-stubs/components/mikrotik/config_flow.pyi +5 -5
- homeassistant-stubs/components/mikrotik/device.pyi +3 -3
- homeassistant-stubs/components/mikrotik/device_tracker.pyi +2 -2
- homeassistant-stubs/components/mikrotik/hub.pyi +1 -1
- homeassistant-stubs/components/min_max/config_flow.pyi +2 -2
- homeassistant-stubs/components/min_max/sensor.pyi +12 -12
- homeassistant-stubs/components/mjpeg/camera.pyi +5 -5
- homeassistant-stubs/components/mjpeg/config_flow.pyi +4 -4
- homeassistant-stubs/components/modbus/base_platform.pyi +4 -4
- homeassistant-stubs/components/modbus/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/modbus/climate.pyi +3 -3
- homeassistant-stubs/components/modbus/cover.pyi +3 -3
- homeassistant-stubs/components/modbus/fan.pyi +3 -3
- homeassistant-stubs/components/modbus/light.pyi +1 -1
- homeassistant-stubs/components/modbus/modbus.pyi +2 -2
- homeassistant-stubs/components/modbus/sensor.pyi +3 -3
- homeassistant-stubs/components/modbus/switch.pyi +1 -1
- homeassistant-stubs/components/modbus/validators.pyi +1 -1
- homeassistant-stubs/components/modem_callerid/config_flow.pyi +3 -3
- homeassistant-stubs/components/modem_callerid/sensor.pyi +1 -1
- homeassistant-stubs/components/moon/config_flow.pyi +1 -1
- homeassistant-stubs/components/mopeka/config_flow.pyi +2 -2
- homeassistant-stubs/components/mopeka/sensor.pyi +1 -1
- homeassistant-stubs/components/mqtt/__init__.pyi +1 -1
- homeassistant-stubs/components/mqtt/alarm_control_panel.pyi +14 -14
- homeassistant-stubs/components/mqtt/binary_sensor.pyi +4 -4
- homeassistant-stubs/components/mqtt/button.pyi +2 -2
- homeassistant-stubs/components/mqtt/camera.pyi +3 -3
- homeassistant-stubs/components/mqtt/client.pyi +9 -9
- homeassistant-stubs/components/mqtt/climate.pyi +4 -4
- homeassistant-stubs/components/mqtt/config_flow.pyi +8 -8
- homeassistant-stubs/components/mqtt/cover.pyi +6 -6
- homeassistant-stubs/components/mqtt/device_tracker.pyi +6 -6
- homeassistant-stubs/components/mqtt/device_trigger.pyi +6 -6
- homeassistant-stubs/components/mqtt/diagnostics.pyi +1 -1
- homeassistant-stubs/components/mqtt/fan.pyi +5 -5
- homeassistant-stubs/components/mqtt/humidifier.pyi +3 -3
- homeassistant-stubs/components/mqtt/light/__init__.pyi +1 -1
- homeassistant-stubs/components/mqtt/light/schema_basic.pyi +5 -5
- homeassistant-stubs/components/mqtt/light/schema_json.pyi +8 -8
- homeassistant-stubs/components/mqtt/light/schema_template.pyi +6 -6
- homeassistant-stubs/components/mqtt/lock.pyi +4 -4
- homeassistant-stubs/components/mqtt/mixins.pyi +12 -12
- homeassistant-stubs/components/mqtt/models.pyi +5 -5
- homeassistant-stubs/components/mqtt/number.pyi +3 -3
- homeassistant-stubs/components/mqtt/scene.pyi +2 -2
- homeassistant-stubs/components/mqtt/select.pyi +3 -3
- homeassistant-stubs/components/mqtt/sensor.pyi +7 -7
- homeassistant-stubs/components/mqtt/siren.pyi +6 -6
- homeassistant-stubs/components/mqtt/subscription.pyi +8 -8
- homeassistant-stubs/components/mqtt/switch.pyi +2 -2
- homeassistant-stubs/components/mqtt/tag.pyi +1 -1
- homeassistant-stubs/components/mqtt/text.pyi +4 -4
- homeassistant-stubs/components/mqtt/update.pyi +4 -4
- homeassistant-stubs/components/mqtt/util.pyi +3 -3
- homeassistant-stubs/components/mqtt/vacuum/__init__.pyi +1 -1
- homeassistant-stubs/components/mqtt/vacuum/schema_legacy.pyi +10 -10
- homeassistant-stubs/components/mqtt/vacuum/schema_state.pyi +9 -9
- homeassistant-stubs/components/mysensors/__init__.pyi +1 -1
- homeassistant-stubs/components/mysensors/climate.pyi +6 -6
- homeassistant-stubs/components/mysensors/config_flow.pyi +4 -4
- homeassistant-stubs/components/mysensors/cover.pyi +1 -1
- homeassistant-stubs/components/mysensors/device_tracker.pyi +4 -4
- homeassistant-stubs/components/mysensors/gateway.pyi +2 -2
- homeassistant-stubs/components/mysensors/helpers.pyi +1 -1
- homeassistant-stubs/components/mysensors/remote.pyi +2 -2
- homeassistant-stubs/components/mysensors/sensor.pyi +3 -3
- homeassistant-stubs/components/mysensors/text.pyi +1 -1
- homeassistant-stubs/components/nam/__init__.pyi +2 -2
- homeassistant-stubs/components/nam/config_flow.pyi +4 -4
- homeassistant-stubs/components/nam/sensor.pyi +2 -2
- homeassistant-stubs/components/nanoleaf/config_flow.pyi +3 -3
- homeassistant-stubs/components/nanoleaf/light.pyi +2 -2
- homeassistant-stubs/components/neato/camera.pyi +2 -2
- homeassistant-stubs/components/neato/config_flow.pyi +3 -4
- homeassistant-stubs/components/neato/sensor.pyi +1 -1
- homeassistant-stubs/components/neato/vacuum.pyi +3 -3
- homeassistant-stubs/components/nest/__init__.pyi +3 -3
- homeassistant-stubs/components/nest/api.pyi +1 -1
- homeassistant-stubs/components/nest/camera_sdm.pyi +6 -6
- homeassistant-stubs/components/nest/climate_sdm.pyi +9 -9
- homeassistant-stubs/components/nest/config_flow.pyi +15 -15
- homeassistant-stubs/components/nest/device_info.pyi +3 -3
- homeassistant-stubs/components/nest/legacy/camera.pyi +1 -1
- homeassistant-stubs/components/nest/media_source.pyi +5 -5
- homeassistant-stubs/components/nest/sensor_sdm.pyi +3 -3
- homeassistant-stubs/components/netatmo/camera.pyi +3 -3
- homeassistant-stubs/components/netatmo/climate.pyi +4 -4
- homeassistant-stubs/components/netatmo/config_flow.pyi +5 -5
- homeassistant-stubs/components/netatmo/data_handler.pyi +3 -3
- homeassistant-stubs/components/netatmo/media_source.pyi +3 -3
- homeassistant-stubs/components/netatmo/netatmo_entity_base.pyi +1 -1
- homeassistant-stubs/components/network/__init__.pyi +2 -2
- homeassistant-stubs/components/network/util.pyi +3 -3
- homeassistant-stubs/components/nextdns/config_flow.pyi +2 -2
- homeassistant-stubs/components/nfandroidtv/config_flow.pyi +2 -2
- homeassistant-stubs/components/nfandroidtv/notify.pyi +2 -2
- homeassistant-stubs/components/nissan_leaf/__init__.pyi +1 -1
- homeassistant-stubs/components/nissan_leaf/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/nissan_leaf/button.pyi +1 -1
- homeassistant-stubs/components/nissan_leaf/sensor.pyi +3 -3
- homeassistant-stubs/components/nissan_leaf/switch.pyi +1 -1
- homeassistant-stubs/components/notify/legacy.pyi +3 -3
- homeassistant-stubs/components/notion/config_flow.pyi +2 -2
- homeassistant-stubs/components/number/__init__.pyi +23 -23
- homeassistant-stubs/components/number/const.pyi +1 -1
- homeassistant-stubs/components/number/device_action.pyi +1 -1
- homeassistant-stubs/components/number/reproduce_state.pyi +2 -2
- homeassistant-stubs/components/nut/__init__.pyi +13 -13
- homeassistant-stubs/components/nut/config_flow.pyi +4 -4
- homeassistant-stubs/components/nut/sensor.pyi +2 -2
- homeassistant-stubs/components/oncue/config_flow.pyi +1 -1
- homeassistant-stubs/components/onewire/config_flow.pyi +4 -4
- homeassistant-stubs/components/onewire/onewire_entities.pyi +4 -4
- homeassistant-stubs/components/onewire/onewirehub.pyi +1 -1
- homeassistant-stubs/components/onewire/sensor.pyi +1 -1
- homeassistant-stubs/components/open_meteo/config_flow.pyi +1 -1
- homeassistant-stubs/components/open_meteo/weather.pyi +5 -5
- homeassistant-stubs/components/openexchangerates/config_flow.pyi +1 -1
- homeassistant-stubs/components/openexchangerates/sensor.pyi +2 -2
- homeassistant-stubs/components/openuv/config_flow.pyi +2 -2
- homeassistant-stubs/components/otbr/__init__.pyi +2 -23
- homeassistant-stubs/components/otbr/config_flow.pyi +1 -1
- homeassistant-stubs/components/otbr/util.pyi +33 -4
- homeassistant-stubs/components/otbr/websocket_api.pyi +1 -2
- homeassistant-stubs/components/overkiz/alarm_control_panel.pyi +15 -15
- homeassistant-stubs/components/overkiz/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/overkiz/button.pyi +1 -1
- homeassistant-stubs/components/overkiz/climate_entities/atlantic_electrical_heater.pyi +2 -2
- homeassistant-stubs/components/overkiz/climate_entities/atlantic_electrical_heater_with_adjustable_temperature_setpoint.pyi +4 -4
- homeassistant-stubs/components/overkiz/climate_entities/atlantic_electrical_towel_dryer.pyi +3 -3
- homeassistant-stubs/components/overkiz/climate_entities/atlantic_heat_recovery_ventilation.pyi +5 -5
- homeassistant-stubs/components/overkiz/climate_entities/atlantic_pass_apc_heating_zone.pyi +2 -2
- homeassistant-stubs/components/overkiz/climate_entities/somfy_thermostat.pyi +3 -3
- homeassistant-stubs/components/overkiz/climate_entities/valve_heating_temperature_interface.pyi +2 -2
- homeassistant-stubs/components/overkiz/config_flow.pyi +3 -3
- homeassistant-stubs/components/overkiz/const.pyi +2 -2
- homeassistant-stubs/components/overkiz/coordinator.pyi +1 -1
- homeassistant-stubs/components/overkiz/cover_entities/awning.pyi +3 -3
- homeassistant-stubs/components/overkiz/cover_entities/generic_cover.pyi +3 -3
- homeassistant-stubs/components/overkiz/cover_entities/vertical_cover.pyi +3 -3
- homeassistant-stubs/components/overkiz/executor.pyi +2 -2
- homeassistant-stubs/components/overkiz/light.pyi +2 -2
- homeassistant-stubs/components/overkiz/lock.pyi +1 -1
- homeassistant-stubs/components/overkiz/number.pyi +2 -2
- homeassistant-stubs/components/overkiz/select.pyi +1 -1
- homeassistant-stubs/components/overkiz/sensor.pyi +3 -3
- homeassistant-stubs/components/overkiz/switch.pyi +4 -4
- homeassistant-stubs/components/overkiz/water_heater_entities/domestic_hot_water_production.pyi +6 -6
- homeassistant-stubs/components/overkiz/water_heater_entities/hitachi_dhw.pyi +4 -4
- homeassistant-stubs/components/peco/config_flow.pyi +1 -1
- homeassistant-stubs/components/peco/sensor.pyi +2 -2
- homeassistant-stubs/components/persistent_notification/__init__.pyi +3 -3
- homeassistant-stubs/components/pi_hole/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/pi_hole/config_flow.pyi +3 -3
- homeassistant-stubs/components/pi_hole/sensor.pyi +1 -1
- homeassistant-stubs/components/pi_hole/update.pyi +8 -8
- homeassistant-stubs/components/powerwall/__init__.pyi +1 -1
- homeassistant-stubs/components/powerwall/config_flow.pyi +4 -4
- homeassistant-stubs/components/powerwall/models.pyi +3 -3
- homeassistant-stubs/components/powerwall/sensor.pyi +3 -3
- homeassistant-stubs/components/proximity/__init__.pyi +2 -2
- homeassistant-stubs/components/prusalink/camera.pyi +1 -1
- homeassistant-stubs/components/prusalink/config_flow.pyi +1 -1
- homeassistant-stubs/components/prusalink/sensor.pyi +2 -2
- homeassistant-stubs/components/pure_energie/config_flow.pyi +2 -2
- homeassistant-stubs/components/pure_energie/sensor.pyi +2 -2
- homeassistant-stubs/components/purpleair/config_flow.pyi +8 -8
- homeassistant-stubs/components/purpleair/sensor.pyi +2 -2
- homeassistant-stubs/components/pvoutput/config_flow.pyi +4 -4
- homeassistant-stubs/components/pvoutput/sensor.pyi +2 -2
- homeassistant-stubs/components/qnap_qsw/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/qnap_qsw/config_flow.pyi +4 -4
- homeassistant-stubs/components/qnap_qsw/entity.pyi +6 -5
- homeassistant-stubs/components/qnap_qsw/sensor.pyi +3 -3
- homeassistant-stubs/components/radarr/config_flow.pyi +3 -3
- homeassistant-stubs/components/radarr/sensor.pyi +4 -4
- homeassistant-stubs/components/rainmachine/config_flow.pyi +4 -4
- homeassistant-stubs/components/rainmachine/update.pyi +1 -1
- homeassistant-stubs/components/raspberry_pi/config_flow.pyi +1 -1
- homeassistant-stubs/components/rdw/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/rdw/config_flow.pyi +1 -1
- homeassistant-stubs/components/rdw/sensor.pyi +2 -2
- homeassistant-stubs/components/recollect_waste/calendar.pyi +1 -1
- homeassistant-stubs/components/recollect_waste/config_flow.pyi +2 -2
- homeassistant-stubs/components/recorder/core.pyi +5 -5
- homeassistant-stubs/components/recorder/db_schema.pyi +81 -81
- homeassistant-stubs/components/recorder/filters.pyi +2 -2
- homeassistant-stubs/components/recorder/history/__init__.pyi +4 -4
- homeassistant-stubs/components/recorder/history/legacy.pyi +9 -9
- homeassistant-stubs/components/recorder/history/modern.pyi +9 -9
- homeassistant-stubs/components/recorder/migration.pyi +6 -6
- homeassistant-stubs/components/recorder/models/context.pyi +4 -4
- homeassistant-stubs/components/recorder/models/database.pyi +1 -1
- homeassistant-stubs/components/recorder/models/legacy.pyi +2 -2
- homeassistant-stubs/components/recorder/models/state.pyi +3 -3
- homeassistant-stubs/components/recorder/models/statistics.pyi +4 -4
- homeassistant-stubs/components/recorder/models/time.pyi +2 -2
- homeassistant-stubs/components/recorder/queries.pyi +4 -4
- homeassistant-stubs/components/recorder/statistics.pyi +34 -34
- homeassistant-stubs/components/recorder/system_health/mysql.pyi +1 -1
- homeassistant-stubs/components/recorder/system_health/postgresql.pyi +1 -1
- homeassistant-stubs/components/recorder/system_health/sqlite.pyi +1 -1
- homeassistant-stubs/components/recorder/table_managers/__init__.pyi +2 -2
- homeassistant-stubs/components/recorder/table_managers/event_data.pyi +4 -4
- 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/state_attributes.pyi +4 -4
- homeassistant-stubs/components/recorder/table_managers/states.pyi +2 -2
- homeassistant-stubs/components/recorder/table_managers/states_meta.pyi +2 -2
- homeassistant-stubs/components/recorder/table_managers/statistics_meta.pyi +7 -7
- homeassistant-stubs/components/recorder/tasks.pyi +3 -3
- homeassistant-stubs/components/recorder/util.pyi +7 -7
- homeassistant-stubs/components/recorder/websocket_api.pyi +3 -3
- homeassistant-stubs/components/remote/__init__.pyi +5 -5
- homeassistant-stubs/components/remote/device_action.pyi +1 -1
- homeassistant-stubs/components/remote/reproduce_state.pyi +2 -2
- homeassistant-stubs/components/renault/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/renault/config_flow.pyi +5 -5
- homeassistant-stubs/components/renault/device_tracker.pyi +2 -2
- homeassistant-stubs/components/renault/renault_vehicle.pyi +1 -1
- homeassistant-stubs/components/renault/select.pyi +2 -2
- homeassistant-stubs/components/renault/sensor.pyi +7 -7
- homeassistant-stubs/components/repairs/__init__.pyi +1 -1
- homeassistant-stubs/components/repairs/issue_handler.pyi +3 -3
- homeassistant-stubs/components/repairs/models.pyi +2 -2
- homeassistant-stubs/components/rest/__init__.pyi +1 -1
- homeassistant-stubs/components/rest/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/rest/data.pyi +1 -1
- homeassistant-stubs/components/rest/entity.pyi +1 -1
- homeassistant-stubs/components/rest/notify.pyi +2 -2
- homeassistant-stubs/components/rest/sensor.pyi +2 -2
- homeassistant-stubs/components/rest/switch.pyi +2 -2
- homeassistant-stubs/components/rfxtrx/__init__.pyi +12 -12
- homeassistant-stubs/components/rfxtrx/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/rfxtrx/config_flow.pyi +13 -13
- homeassistant-stubs/components/rfxtrx/cover.pyi +2 -2
- homeassistant-stubs/components/rfxtrx/device_action.pyi +1 -1
- homeassistant-stubs/components/rfxtrx/sensor.pyi +5 -5
- homeassistant-stubs/components/rfxtrx/siren.pyi +4 -4
- homeassistant-stubs/components/rfxtrx/switch.pyi +1 -1
- homeassistant-stubs/components/rhasspy/config_flow.pyi +1 -1
- homeassistant-stubs/components/ridwell/calendar.pyi +1 -1
- homeassistant-stubs/components/ridwell/config_flow.pyi +2 -2
- homeassistant-stubs/components/rituals_perfume_genie/config_flow.pyi +1 -1
- homeassistant-stubs/components/rituals_perfume_genie/number.pyi +2 -3
- homeassistant-stubs/components/rituals_perfume_genie/select.pyi +1 -1
- homeassistant-stubs/components/rituals_perfume_genie/sensor.pyi +2 -2
- homeassistant-stubs/components/roku/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/roku/browse_media.pyi +3 -3
- homeassistant-stubs/components/roku/config_flow.pyi +3 -3
- homeassistant-stubs/components/roku/coordinator.pyi +1 -1
- homeassistant-stubs/components/roku/entity.pyi +1 -1
- homeassistant-stubs/components/roku/helpers.pyi +1 -1
- homeassistant-stubs/components/roku/media_player.pyi +14 -14
- homeassistant-stubs/components/roku/select.pyi +4 -4
- homeassistant-stubs/components/roku/sensor.pyi +2 -2
- homeassistant-stubs/components/rpi_power/config_flow.pyi +1 -1
- homeassistant-stubs/components/rss_feed_template/__init__.pyi +1 -1
- homeassistant-stubs/components/rtsp_to_webrtc/config_flow.pyi +4 -4
- homeassistant-stubs/components/ruuvi_gateway/config_flow.pyi +2 -2
- homeassistant-stubs/components/ruuvi_gateway/coordinator.pyi +1 -1
- homeassistant-stubs/components/ruuvitag_ble/config_flow.pyi +2 -2
- homeassistant-stubs/components/ruuvitag_ble/sensor.pyi +2 -2
- homeassistant-stubs/components/samsungtv/bridge.pyi +17 -17
- homeassistant-stubs/components/samsungtv/config_flow.pyi +10 -10
- homeassistant-stubs/components/samsungtv/media_player.pyi +2 -2
- homeassistant-stubs/components/samsungtv/triggers/turn_on.pyi +1 -1
- homeassistant-stubs/components/scene/__init__.pyi +2 -2
- homeassistant-stubs/components/schedule/__init__.pyi +3 -3
- homeassistant-stubs/components/scrape/config_flow.pyi +2 -2
- homeassistant-stubs/components/scrape/sensor.pyi +2 -2
- homeassistant-stubs/components/select/__init__.pyi +4 -4
- homeassistant-stubs/components/select/device_action.pyi +1 -1
- homeassistant-stubs/components/select/reproduce_state.pyi +2 -2
- homeassistant-stubs/components/senseme/config_flow.pyi +3 -3
- homeassistant-stubs/components/senseme/fan.pyi +1 -1
- homeassistant-stubs/components/sensibo/binary_sensor.pyi +4 -4
- homeassistant-stubs/components/sensibo/climate.pyi +11 -11
- homeassistant-stubs/components/sensibo/config_flow.pyi +3 -3
- homeassistant-stubs/components/sensibo/entity.pyi +1 -1
- homeassistant-stubs/components/sensibo/number.pyi +2 -2
- homeassistant-stubs/components/sensibo/select.pyi +4 -4
- homeassistant-stubs/components/sensibo/sensor.pyi +6 -6
- homeassistant-stubs/components/sensibo/switch.pyi +4 -4
- homeassistant-stubs/components/sensibo/update.pyi +4 -4
- homeassistant-stubs/components/sensirion_ble/config_flow.pyi +2 -2
- homeassistant-stubs/components/sensirion_ble/sensor.pyi +3 -3
- homeassistant-stubs/components/sensor/__init__.pyi +37 -37
- homeassistant-stubs/components/sensor/const.pyi +2 -2
- homeassistant-stubs/components/sensor/helpers.pyi +1 -1
- homeassistant-stubs/components/sensor/recorder.pyi +8 -8
- homeassistant-stubs/components/sensor/significant_change.pyi +2 -2
- homeassistant-stubs/components/senz/climate.pyi +1 -1
- homeassistant-stubs/components/senz/config_flow.pyi +1 -2
- homeassistant-stubs/components/sfr_box/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/sfr_box/config_flow.pyi +5 -5
- homeassistant-stubs/components/shelly/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/shelly/button.pyi +2 -2
- homeassistant-stubs/components/shelly/climate.pyi +5 -5
- homeassistant-stubs/components/shelly/config_flow.pyi +6 -6
- homeassistant-stubs/components/shelly/coordinator.pyi +7 -7
- homeassistant-stubs/components/shelly/cover.pyi +2 -2
- homeassistant-stubs/components/shelly/entity.pyi +14 -14
- homeassistant-stubs/components/shelly/light.pyi +2 -2
- homeassistant-stubs/components/shelly/number.pyi +1 -1
- homeassistant-stubs/components/shelly/sensor.pyi +3 -3
- homeassistant-stubs/components/shelly/update.pyi +8 -8
- homeassistant-stubs/components/shelly/utils.pyi +6 -6
- homeassistant-stubs/components/simplepush/config_flow.pyi +2 -2
- homeassistant-stubs/components/simplepush/notify.pyi +1 -1
- homeassistant-stubs/components/simplisafe/__init__.pyi +1 -1
- homeassistant-stubs/components/simplisafe/alarm_control_panel.pyi +4 -4
- homeassistant-stubs/components/simplisafe/binary_sensor.pyi +2 -1
- homeassistant-stubs/components/simplisafe/config_flow.pyi +2 -2
- homeassistant-stubs/components/skybell/camera.pyi +1 -1
- homeassistant-stubs/components/skybell/config_flow.pyi +2 -2
- homeassistant-stubs/components/skybell/light.pyi +1 -1
- homeassistant-stubs/components/skybell/sensor.pyi +2 -2
- homeassistant-stubs/components/slack/__init__.pyi +1 -1
- homeassistant-stubs/components/slack/config_flow.pyi +2 -2
- homeassistant-stubs/components/slack/notify.pyi +4 -4
- homeassistant-stubs/components/sleepiq/config_flow.pyi +3 -3
- homeassistant-stubs/components/sleepiq/entity.pyi +2 -2
- homeassistant-stubs/components/smhi/config_flow.pyi +1 -1
- homeassistant-stubs/components/smhi/weather.pyi +2 -2
- homeassistant-stubs/components/snooz/config_flow.pyi +5 -5
- homeassistant-stubs/components/snooz/fan.pyi +3 -3
- homeassistant-stubs/components/sonarr/config_flow.pyi +3 -3
- homeassistant-stubs/components/speedtestdotnet/config_flow.pyi +2 -2
- homeassistant-stubs/components/speedtestdotnet/sensor.pyi +2 -2
- homeassistant-stubs/components/ssdp/__init__.pyi +12 -12
- homeassistant-stubs/components/statistics/sensor.pyi +16 -16
- homeassistant-stubs/components/steamist/config_flow.pyi +3 -3
- homeassistant-stubs/components/steamist/coordinator.pyi +1 -1
- homeassistant-stubs/components/steamist/discovery.pyi +4 -4
- homeassistant-stubs/components/steamist/sensor.pyi +2 -2
- homeassistant-stubs/components/stookalert/config_flow.pyi +1 -1
- homeassistant-stubs/components/stream/__init__.pyi +3 -3
- homeassistant-stubs/components/stream/core.pyi +7 -7
- homeassistant-stubs/components/stream/worker.pyi +3 -3
- homeassistant-stubs/components/sun/__init__.pyi +5 -5
- homeassistant-stubs/components/sun/config_flow.pyi +1 -1
- homeassistant-stubs/components/sun/sensor.pyi +3 -2
- homeassistant-stubs/components/surepetcare/config_flow.pyi +3 -3
- homeassistant-stubs/components/surepetcare/sensor.pyi +1 -1
- homeassistant-stubs/components/switch/__init__.pyi +3 -3
- homeassistant-stubs/components/switch/device_action.pyi +1 -1
- homeassistant-stubs/components/switch/light.pyi +2 -2
- homeassistant-stubs/components/switch/reproduce_state.pyi +2 -2
- homeassistant-stubs/components/switch/significant_change.pyi +1 -1
- homeassistant-stubs/components/switchbee/climate.pyi +4 -4
- homeassistant-stubs/components/switchbee/config_flow.pyi +1 -1
- homeassistant-stubs/components/switchbee/coordinator.pyi +1 -1
- homeassistant-stubs/components/switchbee/cover.pyi +1 -1
- homeassistant-stubs/components/switcher_kis/config_flow.pyi +2 -2
- homeassistant-stubs/components/switcher_kis/sensor.pyi +4 -4
- homeassistant-stubs/components/synology_dsm/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/synology_dsm/camera.pyi +2 -2
- homeassistant-stubs/components/synology_dsm/config_flow.pyi +9 -9
- homeassistant-stubs/components/synology_dsm/entity.pyi +3 -4
- homeassistant-stubs/components/synology_dsm/models.pyi +2 -2
- homeassistant-stubs/components/synology_dsm/sensor.pyi +2 -2
- homeassistant-stubs/components/synology_dsm/switch.pyi +0 -1
- homeassistant-stubs/components/synology_dsm/update.pyi +3 -3
- homeassistant-stubs/components/systemmonitor/sensor.pyi +8 -8
- homeassistant-stubs/components/tag/__init__.pyi +1 -1
- homeassistant-stubs/components/tailscale/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/tailscale/config_flow.pyi +3 -3
- homeassistant-stubs/components/tailscale/sensor.pyi +2 -2
- homeassistant-stubs/components/tautulli/__init__.pyi +1 -1
- homeassistant-stubs/components/tautulli/config_flow.pyi +3 -3
- homeassistant-stubs/components/tautulli/sensor.pyi +2 -2
- homeassistant-stubs/components/tcp/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/tcp/model.pyi +3 -3
- homeassistant-stubs/components/tcp/sensor.pyi +2 -2
- homeassistant-stubs/components/threshold/binary_sensor.pyi +5 -5
- homeassistant-stubs/components/threshold/config_flow.pyi +2 -2
- homeassistant-stubs/components/tibber/config_flow.pyi +1 -1
- homeassistant-stubs/components/tibber/notify.pyi +1 -1
- homeassistant-stubs/components/tile/config_flow.pyi +2 -2
- homeassistant-stubs/components/tile/device_tracker.pyi +4 -4
- homeassistant-stubs/components/tilt_ble/config_flow.pyi +2 -2
- homeassistant-stubs/components/tilt_ble/sensor.pyi +1 -1
- homeassistant-stubs/components/tolo/climate.pyi +6 -6
- homeassistant-stubs/components/tolo/config_flow.pyi +3 -3
- homeassistant-stubs/components/tolo/fan.pyi +1 -1
- homeassistant-stubs/components/tolo/number.pyi +2 -2
- homeassistant-stubs/components/tolo/sensor.pyi +3 -3
- homeassistant-stubs/components/tplink/config_flow.pyi +3 -3
- homeassistant-stubs/components/tplink/light.pyi +8 -8
- homeassistant-stubs/components/tplink/sensor.pyi +4 -4
- homeassistant-stubs/components/tplink_omada/config_flow.pyi +4 -4
- homeassistant-stubs/components/tplink_omada/switch.pyi +1 -1
- homeassistant-stubs/components/tplink_omada/update.pyi +3 -3
- homeassistant-stubs/components/tractive/__init__.pyi +1 -1
- homeassistant-stubs/components/tractive/config_flow.pyi +2 -2
- homeassistant-stubs/components/tradfri/base_class.pyi +2 -2
- homeassistant-stubs/components/tradfri/config_flow.pyi +4 -4
- homeassistant-stubs/components/tradfri/coordinator.pyi +1 -1
- homeassistant-stubs/components/tradfri/cover.pyi +3 -3
- homeassistant-stubs/components/tradfri/fan.pyi +5 -5
- homeassistant-stubs/components/tradfri/light.pyi +4 -4
- homeassistant-stubs/components/tradfri/sensor.pyi +3 -3
- homeassistant-stubs/components/tradfri/switch.pyi +1 -1
- homeassistant-stubs/components/trafikverket_ferry/config_flow.pyi +3 -3
- homeassistant-stubs/components/trafikverket_ferry/sensor.pyi +3 -3
- homeassistant-stubs/components/trafikverket_ferry/util.pyi +1 -1
- homeassistant-stubs/components/trafikverket_train/config_flow.pyi +3 -3
- homeassistant-stubs/components/trafikverket_train/sensor.pyi +2 -2
- homeassistant-stubs/components/trafikverket_train/util.pyi +1 -1
- homeassistant-stubs/components/trafikverket_weatherstation/config_flow.pyi +1 -1
- homeassistant-stubs/components/trafikverket_weatherstation/sensor.pyi +2 -2
- homeassistant-stubs/components/tts/__init__.pyi +16 -16
- homeassistant-stubs/components/tts/media_source.pyi +5 -5
- homeassistant-stubs/components/tts/notify.pyi +1 -1
- homeassistant-stubs/components/twentemilieu/calendar.pyi +1 -1
- homeassistant-stubs/components/twentemilieu/config_flow.pyi +2 -2
- homeassistant-stubs/components/twentemilieu/sensor.pyi +1 -1
- homeassistant-stubs/components/unifi/__init__.pyi +2 -2
- homeassistant-stubs/components/unifi/config_flow.pyi +8 -8
- homeassistant-stubs/components/unifi/controller.pyi +4 -4
- homeassistant-stubs/components/unifi/device_tracker.pyi +3 -3
- homeassistant-stubs/components/unifi/diagnostics.pyi +1 -1
- homeassistant-stubs/components/unifi/entity.pyi +5 -5
- homeassistant-stubs/components/unifi/sensor.pyi +1 -1
- homeassistant-stubs/components/unifi/switch.pyi +1 -1
- homeassistant-stubs/components/unifi/update.pyi +1 -1
- homeassistant-stubs/components/unifiprotect/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/unifiprotect/button.pyi +1 -1
- homeassistant-stubs/components/unifiprotect/camera.pyi +4 -4
- homeassistant-stubs/components/unifiprotect/config_flow.pyi +5 -5
- homeassistant-stubs/components/unifiprotect/data.pyi +3 -3
- homeassistant-stubs/components/unifiprotect/entity.pyi +4 -4
- homeassistant-stubs/components/unifiprotect/media_player.pyi +2 -2
- homeassistant-stubs/components/unifiprotect/media_source.pyi +7 -7
- homeassistant-stubs/components/unifiprotect/models.pyi +10 -10
- homeassistant-stubs/components/unifiprotect/number.pyi +5 -5
- homeassistant-stubs/components/unifiprotect/repairs.pyi +5 -5
- homeassistant-stubs/components/unifiprotect/select.pyi +7 -7
- homeassistant-stubs/components/unifiprotect/sensor.pyi +4 -4
- homeassistant-stubs/components/unifiprotect/text.pyi +1 -1
- homeassistant-stubs/components/unifiprotect/utils.pyi +1 -1
- homeassistant-stubs/components/unifiprotect/views.pyi +3 -3
- homeassistant-stubs/components/upcloud/config_flow.pyi +3 -3
- homeassistant-stubs/components/update/__init__.pyi +26 -26
- homeassistant-stubs/components/update/significant_change.pyi +1 -1
- homeassistant-stubs/components/uptime/config_flow.pyi +1 -1
- homeassistant-stubs/components/uptimerobot/config_flow.pyi +3 -3
- homeassistant-stubs/components/uptimerobot/entity.pyi +1 -1
- homeassistant-stubs/components/usb/__init__.pyi +3 -3
- homeassistant-stubs/components/usb/models.pyi +3 -3
- homeassistant-stubs/components/vacuum/__init__.pyi +11 -11
- homeassistant-stubs/components/vacuum/device_action.pyi +1 -1
- homeassistant-stubs/components/vacuum/reproduce_state.pyi +2 -2
- homeassistant-stubs/components/vallox/__init__.pyi +3 -3
- homeassistant-stubs/components/vallox/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/vallox/config_flow.pyi +1 -1
- homeassistant-stubs/components/vallox/fan.pyi +5 -5
- homeassistant-stubs/components/vallox/number.pyi +1 -1
- homeassistant-stubs/components/vallox/sensor.pyi +5 -5
- homeassistant-stubs/components/vallox/switch.pyi +1 -1
- homeassistant-stubs/components/velbus/button.pyi +1 -1
- homeassistant-stubs/components/velbus/climate.pyi +3 -3
- homeassistant-stubs/components/velbus/config_flow.pyi +2 -2
- homeassistant-stubs/components/velbus/cover.pyi +2 -2
- homeassistant-stubs/components/velbus/sensor.pyi +3 -3
- homeassistant-stubs/components/vlc_telnet/config_flow.pyi +6 -6
- homeassistant-stubs/components/vlc_telnet/media_player.pyi +9 -9
- homeassistant-stubs/components/wake_on_lan/switch.pyi +2 -2
- homeassistant-stubs/components/wallbox/config_flow.pyi +1 -1
- homeassistant-stubs/components/wallbox/number.pyi +1 -1
- homeassistant-stubs/components/wallbox/sensor.pyi +2 -2
- homeassistant-stubs/components/water_heater/__init__.pyi +15 -15
- homeassistant-stubs/components/water_heater/device_action.pyi +1 -1
- homeassistant-stubs/components/water_heater/reproduce_state.pyi +2 -2
- homeassistant-stubs/components/watttime/config_flow.pyi +5 -5
- homeassistant-stubs/components/watttime/sensor.pyi +1 -1
- homeassistant-stubs/components/weather/__init__.pyi +52 -52
- homeassistant-stubs/components/webostv/__init__.pyi +1 -1
- homeassistant-stubs/components/webostv/config_flow.pyi +4 -4
- homeassistant-stubs/components/webostv/media_player.pyi +2 -2
- homeassistant-stubs/components/webostv/notify.pyi +1 -1
- homeassistant-stubs/components/webostv/triggers/turn_on.pyi +1 -1
- homeassistant-stubs/components/websocket_api/__init__.pyi +1 -1
- homeassistant-stubs/components/websocket_api/auth.pyi +1 -1
- homeassistant-stubs/components/websocket_api/connection.pyi +4 -4
- homeassistant-stubs/components/websocket_api/http.pyi +1 -1
- homeassistant-stubs/components/websocket_api/messages.pyi +3 -3
- homeassistant-stubs/components/websocket_api/sensor.pyi +1 -1
- homeassistant-stubs/components/wemo/__init__.pyi +2 -2
- homeassistant-stubs/components/wemo/entity.pyi +4 -4
- homeassistant-stubs/components/wemo/fan.pyi +2 -2
- homeassistant-stubs/components/wemo/light.pyi +2 -2
- homeassistant-stubs/components/wemo/sensor.pyi +4 -4
- homeassistant-stubs/components/wemo/switch.pyi +1 -1
- homeassistant-stubs/components/whois/config_flow.pyi +2 -2
- homeassistant-stubs/components/whois/sensor.pyi +6 -6
- homeassistant-stubs/components/wiz/config_flow.pyi +3 -3
- homeassistant-stubs/components/wiz/models.pyi +1 -1
- homeassistant-stubs/components/wiz/number.pyi +1 -1
- homeassistant-stubs/components/wled/config_flow.pyi +3 -3
- homeassistant-stubs/components/wled/light.pyi +5 -5
- homeassistant-stubs/components/wled/number.pyi +2 -2
- homeassistant-stubs/components/wled/select.pyi +3 -3
- homeassistant-stubs/components/wled/sensor.pyi +2 -2
- homeassistant-stubs/components/wled/switch.pyi +3 -3
- homeassistant-stubs/components/wled/update.pyi +4 -4
- homeassistant-stubs/components/worldclock/sensor.pyi +2 -2
- homeassistant-stubs/components/yale_smart_alarm/alarm_control_panel.pyi +4 -4
- homeassistant-stubs/components/yale_smart_alarm/config_flow.pyi +4 -4
- homeassistant-stubs/components/yale_smart_alarm/lock.pyi +2 -2
- homeassistant-stubs/components/yalexs_ble/config_flow.pyi +3 -3
- homeassistant-stubs/components/yalexs_ble/sensor.pyi +1 -1
- homeassistant-stubs/components/yalexs_ble/util.pyi +2 -2
- homeassistant-stubs/components/zeroconf/__init__.pyi +6 -7
- homeassistant-stubs/components/zodiac/sensor.pyi +2 -2
- homeassistant-stubs/components/zone/__init__.pyi +4 -4
- homeassistant-stubs/components/zwave_js/api.pyi +4 -4
- homeassistant-stubs/components/zwave_js/binary_sensor.pyi +5 -5
- homeassistant-stubs/components/zwave_js/climate.pyi +14 -14
- homeassistant-stubs/components/zwave_js/config_flow.pyi +20 -20
- homeassistant-stubs/components/zwave_js/cover.pyi +6 -6
- homeassistant-stubs/components/zwave_js/device_action.pyi +1 -1
- homeassistant-stubs/components/zwave_js/device_automation_helpers.pyi +1 -1
- homeassistant-stubs/components/zwave_js/discovery.pyi +28 -28
- homeassistant-stubs/components/zwave_js/discovery_data_template.pyi +17 -17
- homeassistant-stubs/components/zwave_js/entity.pyi +2 -2
- homeassistant-stubs/components/zwave_js/fan.pyi +13 -13
- homeassistant-stubs/components/zwave_js/helpers.pyi +19 -19
- homeassistant-stubs/components/zwave_js/humidifier.pyi +3 -3
- homeassistant-stubs/components/zwave_js/light.pyi +10 -10
- homeassistant-stubs/components/zwave_js/lock.pyi +2 -2
- homeassistant-stubs/components/zwave_js/migrate.pyi +1 -1
- homeassistant-stubs/components/zwave_js/number.pyi +3 -3
- homeassistant-stubs/components/zwave_js/select.pyi +3 -3
- homeassistant-stubs/components/zwave_js/sensor.pyi +13 -13
- homeassistant-stubs/components/zwave_js/services.pyi +3 -3
- homeassistant-stubs/components/zwave_js/siren.pyi +2 -2
- homeassistant-stubs/components/zwave_js/switch.pyi +2 -2
- homeassistant-stubs/components/zwave_js/update.pyi +4 -4
- homeassistant-stubs/config.pyi +9 -9
- homeassistant-stubs/config_entries.pyi +31 -31
- homeassistant-stubs/core.pyi +44 -44
- homeassistant-stubs/data_entry_flow.pyi +21 -21
- homeassistant-stubs/exceptions.pyi +2 -2
- homeassistant-stubs/generated/bluetooth.pyi +1 -1
- homeassistant-stubs/generated/dhcp.pyi +1 -1
- homeassistant-stubs/helpers/__init__.pyi +1 -1
- homeassistant-stubs/helpers/aiohttp_client.pyi +3 -3
- homeassistant-stubs/helpers/aiohttp_compat.pyi +1 -1
- homeassistant-stubs/helpers/area_registry.pyi +7 -7
- homeassistant-stubs/helpers/check_config.pyi +3 -3
- homeassistant-stubs/helpers/collection.pyi +4 -4
- homeassistant-stubs/helpers/condition.pyi +10 -10
- homeassistant-stubs/helpers/config_entry_flow.pyi +5 -5
- homeassistant-stubs/helpers/config_entry_oauth2_flow.pyi +6 -6
- homeassistant-stubs/helpers/config_validation.pyi +17 -17
- homeassistant-stubs/helpers/debounce.pyi +2 -2
- homeassistant-stubs/helpers/deprecation.pyi +1 -1
- homeassistant-stubs/helpers/device_registry.pyi +21 -21
- homeassistant-stubs/helpers/discovery.pyi +7 -7
- homeassistant-stubs/helpers/discovery_flow.pyi +1 -1
- homeassistant-stubs/helpers/dispatcher.pyi +1 -1
- homeassistant-stubs/helpers/entity.pyi +58 -58
- homeassistant-stubs/helpers/entity_component.pyi +5 -5
- homeassistant-stubs/helpers/entity_platform.pyi +7 -7
- homeassistant-stubs/helpers/entity_registry.pyi +36 -36
- homeassistant-stubs/helpers/entity_values.pyi +1 -1
- homeassistant-stubs/helpers/entityfilter.pyi +2 -2
- homeassistant-stubs/helpers/event.pyi +31 -31
- homeassistant-stubs/helpers/frame.pyi +2 -2
- homeassistant-stubs/helpers/icon.pyi +2 -2
- homeassistant-stubs/helpers/integration_platform.pyi +1 -1
- homeassistant-stubs/helpers/intent.pyi +19 -19
- homeassistant-stubs/helpers/issue_registry.pyi +14 -14
- homeassistant-stubs/helpers/json.pyi +1 -1
- homeassistant-stubs/helpers/location.pyi +3 -3
- homeassistant-stubs/helpers/network.pyi +3 -3
- homeassistant-stubs/helpers/ratelimit.pyi +2 -2
- homeassistant-stubs/helpers/reload.pyi +2 -2
- homeassistant-stubs/helpers/restore_state.pyi +6 -6
- homeassistant-stubs/helpers/schema_config_entry_flow.pyi +14 -14
- homeassistant-stubs/helpers/script.pyi +12 -12
- homeassistant-stubs/helpers/script_variables.pyi +1 -1
- homeassistant-stubs/helpers/selector.pyi +42 -42
- homeassistant-stubs/helpers/service.pyi +6 -6
- homeassistant-stubs/helpers/significant_change.pyi +7 -7
- homeassistant-stubs/helpers/start.pyi +3 -3
- homeassistant-stubs/helpers/state.pyi +2 -2
- homeassistant-stubs/helpers/storage.pyi +4 -4
- homeassistant-stubs/helpers/sun.pyi +4 -4
- homeassistant-stubs/helpers/temperature.pyi +1 -1
- homeassistant-stubs/helpers/template.pyi +48 -46
- homeassistant-stubs/helpers/template_entity.pyi +10 -10
- homeassistant-stubs/helpers/trace.pyi +15 -15
- homeassistant-stubs/helpers/translation.pyi +3 -3
- homeassistant-stubs/helpers/trigger.pyi +7 -7
- homeassistant-stubs/helpers/update_coordinator.pyi +1 -1
- homeassistant-stubs/loader.pyi +23 -23
- homeassistant-stubs/requirements.pyi +2 -2
- homeassistant-stubs/runner.pyi +2 -2
- homeassistant-stubs/scripts/__init__.pyi +1 -1
- homeassistant-stubs/setup.pyi +1 -1
- homeassistant-stubs/util/__init__.pyi +4 -4
- homeassistant-stubs/util/aiohttp.pyi +2 -2
- homeassistant-stubs/util/async_.pyi +1 -1
- homeassistant-stubs/util/color.pyi +6 -6
- homeassistant-stubs/util/dt.pyi +9 -9
- homeassistant-stubs/util/enum.pyi +1 -1
- homeassistant-stubs/util/json.pyi +7 -7
- homeassistant-stubs/util/location.pyi +4 -4
- homeassistant-stubs/util/logging.pyi +4 -4
- homeassistant-stubs/util/network.pyi +5 -5
- homeassistant-stubs/util/package.pyi +1 -1
- homeassistant-stubs/util/pressure.pyi +1 -1
- homeassistant-stubs/util/read_only_dict.pyi +7 -8
- homeassistant-stubs/util/speed.pyi +1 -1
- homeassistant-stubs/util/timeout.pyi +9 -9
- homeassistant-stubs/util/ulid.pyi +1 -1
- homeassistant-stubs/util/unit_conversion.pyi +18 -18
- homeassistant-stubs/util/unit_system.pyi +7 -7
- homeassistant-stubs/util/yaml/loader.pyi +8 -8
- {homeassistant_stubs-2023.4.0b4.dist-info → homeassistant_stubs-2023.4.0b6.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2023.4.0b4.dist-info → homeassistant_stubs-2023.4.0b6.dist-info}/RECORD +1158 -1158
- {homeassistant_stubs-2023.4.0b4.dist-info → homeassistant_stubs-2023.4.0b6.dist-info}/LICENSE +0 -0
- {homeassistant_stubs-2023.4.0b4.dist-info → homeassistant_stubs-2023.4.0b6.dist-info}/WHEEL +0 -0
@@ -22,7 +22,7 @@ QUERY_STATISTICS: Incomplete
|
|
22
22
|
QUERY_STATISTICS_SHORT_TERM: Incomplete
|
23
23
|
QUERY_STATISTICS_SUMMARY_MEAN: Incomplete
|
24
24
|
QUERY_STATISTICS_SUMMARY_SUM: Incomplete
|
25
|
-
STATISTIC_UNIT_TO_UNIT_CONVERTER: dict[
|
25
|
+
STATISTIC_UNIT_TO_UNIT_CONVERTER: dict[str | None, type[BaseUnitConverter]]
|
26
26
|
_LOGGER: Incomplete
|
27
27
|
|
28
28
|
class BaseStatisticsRow(TypedDict):
|
@@ -30,19 +30,19 @@ class BaseStatisticsRow(TypedDict):
|
|
30
30
|
|
31
31
|
class StatisticsRow(BaseStatisticsRow):
|
32
32
|
end: float
|
33
|
-
last_reset:
|
34
|
-
state:
|
35
|
-
sum:
|
36
|
-
min:
|
37
|
-
max:
|
38
|
-
mean:
|
33
|
+
last_reset: float | None
|
34
|
+
state: float | None
|
35
|
+
sum: float | None
|
36
|
+
min: float | None
|
37
|
+
max: float | None
|
38
|
+
mean: float | None
|
39
39
|
|
40
|
-
def _get_unit_class(unit:
|
41
|
-
def get_display_unit(hass: HomeAssistant, statistic_id: str, statistic_unit:
|
42
|
-
def _get_statistic_to_display_unit_converter(statistic_unit:
|
43
|
-
def _get_display_to_statistic_unit_converter(display_unit:
|
44
|
-
def _get_unit_converter(from_unit: str, to_unit: str) -> Callable[[
|
45
|
-
def can_convert_units(from_unit:
|
40
|
+
def _get_unit_class(unit: str | None) -> str | None: ...
|
41
|
+
def get_display_unit(hass: HomeAssistant, statistic_id: str, statistic_unit: str | None) -> str | None: ...
|
42
|
+
def _get_statistic_to_display_unit_converter(statistic_unit: str | None, state_unit: str | None, requested_units: dict[str, str] | None) -> Callable[[float | None], float | None] | None: ...
|
43
|
+
def _get_display_to_statistic_unit_converter(display_unit: str | None, statistic_unit: str | None) -> Callable[[float], float]: ...
|
44
|
+
def _get_unit_converter(from_unit: str, to_unit: str) -> Callable[[float | None], float | None]: ...
|
45
|
+
def can_convert_units(from_unit: str | None, to_unit: str | None) -> bool: ...
|
46
46
|
|
47
47
|
class PlatformCompiledStatistics:
|
48
48
|
platform_stats: list[StatisticResult]
|
@@ -58,7 +58,7 @@ def validate_statistic_id(value: str) -> str: ...
|
|
58
58
|
|
59
59
|
class ValidationIssue:
|
60
60
|
type: str
|
61
|
-
data:
|
61
|
+
data: dict[str, str | None] | None
|
62
62
|
def as_dict(self) -> dict: ...
|
63
63
|
def __init__(self, type, data) -> None: ...
|
64
64
|
|
@@ -73,14 +73,14 @@ def _compile_statistics(instance: Recorder, session: Session, start: datetime, f
|
|
73
73
|
def _adjust_sum_statistics(session: Session, table: type[StatisticsBase], metadata_id: int, start_time: datetime, adj: float) -> None: ...
|
74
74
|
def _insert_statistics(session: Session, table: type[StatisticsBase], metadata_id: int, statistic: StatisticData) -> None: ...
|
75
75
|
def _update_statistics(session: Session, table: type[StatisticsBase], stat_id: int, statistic: StatisticData) -> None: ...
|
76
|
-
def get_metadata_with_session(instance: Recorder, session: Session, *, statistic_ids:
|
77
|
-
def get_metadata(hass: HomeAssistant, *, statistic_ids:
|
76
|
+
def get_metadata_with_session(instance: Recorder, session: Session, *, statistic_ids: set[str] | None = ..., statistic_type: Literal['mean'] | Literal['sum'] | None = ..., statistic_source: str | None = ...) -> dict[str, tuple[int, StatisticMetaData]]: ...
|
77
|
+
def get_metadata(hass: HomeAssistant, *, statistic_ids: set[str] | None = ..., statistic_type: Literal['mean'] | Literal['sum'] | None = ..., statistic_source: str | None = ...) -> dict[str, tuple[int, StatisticMetaData]]: ...
|
78
78
|
def clear_statistics(instance: Recorder, statistic_ids: list[str]) -> None: ...
|
79
|
-
def update_statistics_metadata(instance: Recorder, statistic_id: str, new_statistic_id:
|
80
|
-
async def async_list_statistic_ids(hass: HomeAssistant, statistic_ids:
|
79
|
+
def update_statistics_metadata(instance: Recorder, statistic_id: str, new_statistic_id: str | None | UndefinedType, new_unit_of_measurement: str | None | UndefinedType) -> None: ...
|
80
|
+
async def async_list_statistic_ids(hass: HomeAssistant, statistic_ids: set[str] | None = ..., statistic_type: Literal['mean'] | Literal['sum'] | None = ...) -> list[dict]: ...
|
81
81
|
def _statistic_by_id_from_metadata(hass: HomeAssistant, metadata: dict[str, tuple[int, StatisticMetaData]]) -> dict[str, dict[str, Any]]: ...
|
82
82
|
def _flatten_list_statistic_ids_metadata_result(result: dict[str, dict[str, Any]]) -> list[dict]: ...
|
83
|
-
def list_statistic_ids(hass: HomeAssistant, statistic_ids:
|
83
|
+
def list_statistic_ids(hass: HomeAssistant, statistic_ids: set[str] | None = ..., statistic_type: Literal['mean'] | Literal['sum'] | None = ...) -> list[dict]: ...
|
84
84
|
def _reduce_statistics(stats: dict[str, list[StatisticsRow]], same_period: Callable[[float, float], bool], period_start_end: Callable[[float], tuple[float, float]], period: timedelta, types: set[Literal['last_reset', 'max', 'mean', 'min', 'state', 'sum']]) -> dict[str, list[StatisticsRow]]: ...
|
85
85
|
def reduce_day_ts_factory() -> tuple[Callable[[float, float], bool], Callable[[float], tuple[float, float]]]: ...
|
86
86
|
def _reduce_statistics_per_day(stats: dict[str, list[StatisticsRow]], types: set[Literal['last_reset', 'max', 'mean', 'min', 'state', 'sum']]) -> dict[str, list[StatisticsRow]]: ...
|
@@ -88,28 +88,28 @@ def reduce_week_ts_factory() -> tuple[Callable[[float, float], bool], Callable[[
|
|
88
88
|
def _reduce_statistics_per_week(stats: dict[str, list[StatisticsRow]], types: set[Literal['last_reset', 'max', 'mean', 'min', 'state', 'sum']]) -> dict[str, list[StatisticsRow]]: ...
|
89
89
|
def reduce_month_ts_factory() -> tuple[Callable[[float, float], bool], Callable[[float], tuple[float, float]]]: ...
|
90
90
|
def _reduce_statistics_per_month(stats: dict[str, list[StatisticsRow]], types: set[Literal['last_reset', 'max', 'mean', 'min', 'state', 'sum']]) -> dict[str, list[StatisticsRow]]: ...
|
91
|
-
def _generate_statistics_during_period_stmt(columns: Select, start_time: datetime, end_time:
|
92
|
-
def _generate_max_mean_min_statistic_in_sub_period_stmt(columns: Select, start_time:
|
93
|
-
def _get_max_mean_min_statistic_in_sub_period(session: Session, result: dict[str, float], start_time:
|
94
|
-
def _get_max_mean_min_statistic(session: Session, head_start_time:
|
95
|
-
def _first_statistic(session: Session, table: type[StatisticsBase], metadata_id: int) ->
|
96
|
-
def _get_oldest_sum_statistic(session: Session, head_start_time:
|
97
|
-
def _get_newest_sum_statistic(session: Session, head_start_time:
|
98
|
-
def statistic_during_period(hass: HomeAssistant, start_time:
|
99
|
-
def _statistics_during_period_with_session(hass: HomeAssistant, session: Session, start_time: datetime, end_time:
|
100
|
-
def statistics_during_period(hass: HomeAssistant, start_time: datetime, end_time:
|
91
|
+
def _generate_statistics_during_period_stmt(columns: Select, start_time: datetime, end_time: datetime | None, metadata_ids: list[int] | None, table: type[StatisticsBase]) -> StatementLambdaElement: ...
|
92
|
+
def _generate_max_mean_min_statistic_in_sub_period_stmt(columns: Select, start_time: datetime | None, end_time: datetime | None, table: type[StatisticsBase], metadata_id: int) -> StatementLambdaElement: ...
|
93
|
+
def _get_max_mean_min_statistic_in_sub_period(session: Session, result: dict[str, float], start_time: datetime | None, end_time: datetime | None, table: type[StatisticsBase], types: set[Literal['max', 'mean', 'min', 'change']], metadata_id: int) -> None: ...
|
94
|
+
def _get_max_mean_min_statistic(session: Session, head_start_time: datetime | None, head_end_time: datetime | None, main_start_time: datetime | None, main_end_time: datetime | None, tail_start_time: datetime | None, tail_end_time: datetime | None, tail_only: bool, metadata_id: int, types: set[Literal['max', 'mean', 'min', 'change']]) -> dict[str, float | None]: ...
|
95
|
+
def _first_statistic(session: Session, table: type[StatisticsBase], metadata_id: int) -> datetime | None: ...
|
96
|
+
def _get_oldest_sum_statistic(session: Session, head_start_time: datetime | None, main_start_time: datetime | None, tail_start_time: datetime | None, oldest_stat: datetime | None, tail_only: bool, metadata_id: int) -> float | None: ...
|
97
|
+
def _get_newest_sum_statistic(session: Session, head_start_time: datetime | None, head_end_time: datetime | None, main_start_time: datetime | None, main_end_time: datetime | None, tail_start_time: datetime | None, tail_end_time: datetime | None, tail_only: bool, metadata_id: int) -> float | None: ...
|
98
|
+
def statistic_during_period(hass: HomeAssistant, start_time: datetime | None, end_time: datetime | None, statistic_id: str, types: set[Literal['max', 'mean', 'min', 'change']] | None, units: dict[str, str] | None) -> dict[str, Any]: ...
|
99
|
+
def _statistics_during_period_with_session(hass: HomeAssistant, session: Session, start_time: datetime, end_time: datetime | None, statistic_ids: set[str] | None, period: Literal['5minute', 'day', 'hour', 'week', 'month'], units: dict[str, str] | None, types: set[Literal['last_reset', 'max', 'mean', 'min', 'state', 'sum']]) -> dict[str, list[StatisticsRow]]: ...
|
100
|
+
def statistics_during_period(hass: HomeAssistant, start_time: datetime, end_time: datetime | None, statistic_ids: set[str] | None, period: Literal['5minute', 'day', 'hour', 'week', 'month'], units: dict[str, str] | None, types: set[Literal['last_reset', 'max', 'mean', 'min', 'state', 'sum']]) -> dict[str, list[StatisticsRow]]: ...
|
101
101
|
def _get_last_statistics_stmt(metadata_id: int, number_of_stats: int) -> StatementLambdaElement: ...
|
102
102
|
def _get_last_statistics_short_term_stmt(metadata_id: int, number_of_stats: int) -> StatementLambdaElement: ...
|
103
103
|
def _get_last_statistics(hass: HomeAssistant, number_of_stats: int, statistic_id: str, convert_units: bool, table: type[StatisticsBase], types: set[Literal['last_reset', 'max', 'mean', 'min', 'state', 'sum']]) -> dict[str, list[StatisticsRow]]: ...
|
104
104
|
def get_last_statistics(hass: HomeAssistant, number_of_stats: int, statistic_id: str, convert_units: bool, types: set[Literal['last_reset', 'max', 'mean', 'min', 'state', 'sum']]) -> dict[str, list[StatisticsRow]]: ...
|
105
105
|
def get_last_short_term_statistics(hass: HomeAssistant, number_of_stats: int, statistic_id: str, convert_units: bool, types: set[Literal['last_reset', 'max', 'mean', 'min', 'state', 'sum']]) -> dict[str, list[StatisticsRow]]: ...
|
106
106
|
def _latest_short_term_statistics_stmt(metadata_ids: list[int]) -> StatementLambdaElement: ...
|
107
|
-
def get_latest_short_term_statistics(hass: HomeAssistant, statistic_ids: set[str], types: set[Literal['last_reset', 'max', 'mean', 'min', 'state', 'sum']], metadata:
|
107
|
+
def get_latest_short_term_statistics(hass: HomeAssistant, statistic_ids: set[str], types: set[Literal['last_reset', 'max', 'mean', 'min', 'state', 'sum']], metadata: dict[str, tuple[int, StatisticMetaData]] | None = ...) -> dict[str, list[StatisticsRow]]: ...
|
108
108
|
def _generate_statistics_at_time_stmt(columns: Select, table: type[StatisticsBase], metadata_ids: set[int], start_time_ts: float) -> StatementLambdaElement: ...
|
109
|
-
def _statistics_at_time(session: Session, metadata_ids: set[int], table: type[StatisticsBase], start_time: datetime, types: set[Literal['last_reset', 'max', 'mean', 'min', 'state', 'sum']]) ->
|
110
|
-
def _sorted_statistics_to_dict(hass: HomeAssistant, session: Session, stats: Sequence[Row[Any]], statistic_ids:
|
109
|
+
def _statistics_at_time(session: Session, metadata_ids: set[int], table: type[StatisticsBase], start_time: datetime, types: set[Literal['last_reset', 'max', 'mean', 'min', 'state', 'sum']]) -> Sequence[Row] | None: ...
|
110
|
+
def _sorted_statistics_to_dict(hass: HomeAssistant, session: Session, stats: Sequence[Row[Any]], statistic_ids: set[str] | None, _metadata: dict[str, tuple[int, StatisticMetaData]], convert_units: bool, table: type[StatisticsBase], start_time: datetime | None, units: dict[str, str] | None, types: set[Literal['last_reset', 'max', 'mean', 'min', 'state', 'sum']]) -> dict[str, list[StatisticsRow]]: ...
|
111
111
|
def validate_statistics(hass: HomeAssistant) -> dict[str, list[ValidationIssue]]: ...
|
112
|
-
def _statistics_exists(session: Session, table: type[StatisticsBase], metadata_id: int, start: datetime) ->
|
112
|
+
def _statistics_exists(session: Session, table: type[StatisticsBase], metadata_id: int, start: datetime) -> int | None: ...
|
113
113
|
def _async_import_statistics(hass: HomeAssistant, metadata: StatisticMetaData, statistics: Iterable[StatisticData]) -> None: ...
|
114
114
|
def async_import_statistics(hass: HomeAssistant, metadata: StatisticMetaData, statistics: Iterable[StatisticData]) -> None: ...
|
115
115
|
def async_add_external_statistics(hass: HomeAssistant, metadata: StatisticMetaData, statistics: Iterable[StatisticData]) -> None: ...
|
@@ -117,7 +117,7 @@ def _filter_unique_constraint_integrity_error(instance: Recorder) -> Callable[[E
|
|
117
117
|
def _import_statistics_with_session(instance: Recorder, session: Session, metadata: StatisticMetaData, statistics: Iterable[StatisticData], table: type[StatisticsBase]) -> bool: ...
|
118
118
|
def import_statistics(instance: Recorder, metadata: StatisticMetaData, statistics: Iterable[StatisticData], table: type[StatisticsBase]) -> bool: ...
|
119
119
|
def adjust_statistics(instance: Recorder, statistic_id: str, start_time: datetime, sum_adjustment: float, adjustment_unit: str) -> bool: ...
|
120
|
-
def _change_statistics_unit_for_table(session: Session, table: type[StatisticsBase], metadata_id: int, convert: Callable[[
|
120
|
+
def _change_statistics_unit_for_table(session: Session, table: type[StatisticsBase], metadata_id: int, convert: Callable[[float | None], float | None]) -> None: ...
|
121
121
|
def change_statistics_unit(instance: Recorder, statistic_id: str, new_unit: str, old_unit: str) -> None: ...
|
122
122
|
def async_change_statistics_unit(hass: HomeAssistant, statistic_id: str, *, new_unit_of_measurement: str, old_unit_of_measurement: str) -> None: ...
|
123
123
|
def cleanup_statistics_timestamp_migration(instance: Recorder) -> bool: ...
|
@@ -10,8 +10,8 @@ class BaseTableManager:
|
|
10
10
|
_pending: Incomplete
|
11
11
|
_id_map: Incomplete
|
12
12
|
def __init__(self, recorder: Recorder) -> None: ...
|
13
|
-
def get_from_cache(self, data: str) ->
|
14
|
-
def get_pending(self, shared_data: str) ->
|
13
|
+
def get_from_cache(self, data: str) -> int | None: ...
|
14
|
+
def get_pending(self, shared_data: str) -> _DataT | None: ...
|
15
15
|
def reset(self) -> None: ...
|
16
16
|
|
17
17
|
class BaseLRUTableManager(BaseTableManager[_DataT]):
|
@@ -16,11 +16,11 @@ _LOGGER: Incomplete
|
|
16
16
|
class EventDataManager(BaseLRUTableManager[EventData]):
|
17
17
|
active: bool
|
18
18
|
def __init__(self, recorder: Recorder) -> None: ...
|
19
|
-
def serialize_from_event(self, event: Event) ->
|
19
|
+
def serialize_from_event(self, event: Event) -> bytes | None: ...
|
20
20
|
def load(self, events: list[Event], session: Session) -> None: ...
|
21
|
-
def get(self, shared_data: str, data_hash: int, session: Session) ->
|
22
|
-
def get_many(self, shared_data_data_hashs: Iterable[tuple[str, int]], session: Session) -> dict[str,
|
23
|
-
def _load_from_hashes(self, hashes: Iterable[int], session: Session) -> dict[str,
|
21
|
+
def get(self, shared_data: str, data_hash: int, session: Session) -> int | None: ...
|
22
|
+
def get_many(self, shared_data_data_hashs: Iterable[tuple[str, int]], session: Session) -> dict[str, int | None]: ...
|
23
|
+
def _load_from_hashes(self, hashes: Iterable[int], session: Session) -> dict[str, int | None]: ...
|
24
24
|
def add_pending(self, db_event_data: EventData) -> None: ...
|
25
25
|
def post_commit_pending(self) -> None: ...
|
26
26
|
def evict_purged(self, data_ids: set[int]) -> None: ...
|
@@ -13,8 +13,8 @@ CACHE_SIZE: int
|
|
13
13
|
class EventTypeManager(BaseLRUTableManager[EventTypes]):
|
14
14
|
def __init__(self, recorder: Recorder) -> None: ...
|
15
15
|
def load(self, events: list[Event], session: Session) -> None: ...
|
16
|
-
def get(self, event_type: str, session: Session) ->
|
17
|
-
def get_many(self, event_types: Iterable[str], session: Session) -> dict[str,
|
16
|
+
def get(self, event_type: str, session: Session) -> int | None: ...
|
17
|
+
def get_many(self, event_types: Iterable[str], session: Session) -> dict[str, int | None]: ...
|
18
18
|
def add_pending(self, db_event_type: EventTypes) -> None: ...
|
19
19
|
def post_commit_pending(self) -> None: ...
|
20
20
|
def evict_purged(self, event_types: Iterable[str]) -> None: ...
|
@@ -4,7 +4,7 @@ from _typeshed import Incomplete
|
|
4
4
|
from datetime import datetime
|
5
5
|
from sqlalchemy.orm.session import Session as Session
|
6
6
|
|
7
|
-
def _find_recorder_run_for_start_time(run_history: _RecorderRunsHistory, start: datetime) ->
|
7
|
+
def _find_recorder_run_for_start_time(run_history: _RecorderRunsHistory, start: datetime) -> RecorderRuns | None: ...
|
8
8
|
|
9
9
|
class _RecorderRunsHistory:
|
10
10
|
run_timestamps: list[int]
|
@@ -24,7 +24,7 @@ class RecorderRunsManager:
|
|
24
24
|
def current(self) -> RecorderRuns: ...
|
25
25
|
@property
|
26
26
|
def active(self) -> bool: ...
|
27
|
-
def get(self, start: datetime) ->
|
27
|
+
def get(self, start: datetime) -> RecorderRuns | None: ...
|
28
28
|
def start(self, session: Session) -> None: ...
|
29
29
|
def reset(self) -> None: ...
|
30
30
|
def end(self, session: Session) -> None: ...
|
@@ -19,11 +19,11 @@ class StateAttributesManager(BaseLRUTableManager[StateAttributes]):
|
|
19
19
|
_exclude_attributes_by_domain: Incomplete
|
20
20
|
_entity_sources: Incomplete
|
21
21
|
def __init__(self, recorder: Recorder, exclude_attributes_by_domain: dict[str, set[str]]) -> None: ...
|
22
|
-
def serialize_from_event(self, event: Event) ->
|
22
|
+
def serialize_from_event(self, event: Event) -> bytes | None: ...
|
23
23
|
def load(self, events: list[Event], session: Session) -> None: ...
|
24
|
-
def get(self, shared_attr: str, data_hash: int, session: Session) ->
|
25
|
-
def get_many(self, shared_attrs_data_hashes: Iterable[tuple[str, int]], session: Session) -> dict[str,
|
26
|
-
def _load_from_hashes(self, hashes: Iterable[int], session: Session) -> dict[str,
|
24
|
+
def get(self, shared_attr: str, data_hash: int, session: Session) -> int | None: ...
|
25
|
+
def get_many(self, shared_attrs_data_hashes: Iterable[tuple[str, int]], session: Session) -> dict[str, int | None]: ...
|
26
|
+
def _load_from_hashes(self, hashes: Iterable[int], session: Session) -> dict[str, int | None]: ...
|
27
27
|
def add_pending(self, db_state_attributes: StateAttributes) -> None: ...
|
28
28
|
def post_commit_pending(self) -> None: ...
|
29
29
|
def evict_purged(self, attributes_ids: set[int]) -> None: ...
|
@@ -5,8 +5,8 @@ class StatesManager:
|
|
5
5
|
_pending: Incomplete
|
6
6
|
_last_committed_id: Incomplete
|
7
7
|
def __init__(self) -> None: ...
|
8
|
-
def pop_pending(self, entity_id: str) ->
|
9
|
-
def pop_committed(self, entity_id: str) ->
|
8
|
+
def pop_pending(self, entity_id: str) -> States | None: ...
|
9
|
+
def pop_committed(self, entity_id: str) -> int | None: ...
|
10
10
|
def add_pending(self, entity_id: str, state: States) -> None: ...
|
11
11
|
def post_commit_pending(self) -> None: ...
|
12
12
|
def reset(self) -> None: ...
|
@@ -14,9 +14,9 @@ class StatesMetaManager(BaseLRUTableManager[StatesMeta]):
|
|
14
14
|
_did_first_load: bool
|
15
15
|
def __init__(self, recorder: Recorder) -> None: ...
|
16
16
|
def load(self, events: list[Event], session: Session) -> None: ...
|
17
|
-
def get(self, entity_id: str, session: Session, from_recorder: bool) ->
|
17
|
+
def get(self, entity_id: str, session: Session, from_recorder: bool) -> int | None: ...
|
18
18
|
def get_metadata_id_to_entity_id(self, session: Session) -> dict[int, str]: ...
|
19
|
-
def get_many(self, entity_ids: Iterable[str], session: Session, from_recorder: bool) -> dict[str,
|
19
|
+
def get_many(self, entity_ids: Iterable[str], session: Session, from_recorder: bool) -> dict[str, int | None]: ...
|
20
20
|
def add_pending(self, db_states_meta: StatesMeta) -> None: ...
|
21
21
|
def post_commit_pending(self) -> None: ...
|
22
22
|
def evict_purged(self, entity_ids: Iterable[str]) -> None: ...
|
@@ -11,7 +11,7 @@ CACHE_SIZE: int
|
|
11
11
|
_LOGGER: Incomplete
|
12
12
|
QUERY_STATISTIC_META: Incomplete
|
13
13
|
|
14
|
-
def _generate_get_metadata_stmt(statistic_ids:
|
14
|
+
def _generate_get_metadata_stmt(statistic_ids: set[str] | None = ..., statistic_type: Literal['mean'] | Literal['sum'] | None = ..., statistic_source: str | None = ...) -> StatementLambdaElement: ...
|
15
15
|
def _statistics_meta_to_id_statistics_metadata(meta: StatisticsMeta) -> tuple[int, StatisticMetaData]: ...
|
16
16
|
|
17
17
|
class StatisticsMetaManager:
|
@@ -19,16 +19,16 @@ class StatisticsMetaManager:
|
|
19
19
|
_stat_id_to_id_meta: Incomplete
|
20
20
|
def __init__(self, recorder: Recorder) -> None: ...
|
21
21
|
def _clear_cache(self, statistic_ids: list[str]) -> None: ...
|
22
|
-
def _get_from_database(self, session: Session, statistic_ids:
|
22
|
+
def _get_from_database(self, session: Session, statistic_ids: set[str] | None = ..., statistic_type: Literal['mean'] | Literal['sum'] | None = ..., statistic_source: str | None = ...) -> dict[str, tuple[int, StatisticMetaData]]: ...
|
23
23
|
def _assert_in_recorder_thread(self) -> None: ...
|
24
24
|
def _add_metadata(self, session: Session, statistic_id: str, new_metadata: StatisticMetaData) -> int: ...
|
25
|
-
def _update_metadata(self, session: Session, statistic_id: str, new_metadata: StatisticMetaData, old_metadata_dict: dict[str, tuple[int, StatisticMetaData]]) -> tuple[
|
25
|
+
def _update_metadata(self, session: Session, statistic_id: str, new_metadata: StatisticMetaData, old_metadata_dict: dict[str, tuple[int, StatisticMetaData]]) -> tuple[str | None, int]: ...
|
26
26
|
def load(self, session: Session) -> None: ...
|
27
|
-
def get(self, session: Session, statistic_id: str) ->
|
28
|
-
def get_many(self, session: Session, statistic_ids:
|
27
|
+
def get(self, session: Session, statistic_id: str) -> tuple[int, StatisticMetaData] | None: ...
|
28
|
+
def get_many(self, session: Session, statistic_ids: set[str] | None = ..., statistic_type: Literal['mean'] | Literal['sum'] | None = ..., statistic_source: str | None = ...) -> dict[str, tuple[int, StatisticMetaData]]: ...
|
29
29
|
def get_from_cache_threadsafe(self, statistic_ids: set[str]) -> dict[str, tuple[int, StatisticMetaData]]: ...
|
30
|
-
def update_or_add(self, session: Session, new_metadata: StatisticMetaData, old_metadata_dict: dict[str, tuple[int, StatisticMetaData]]) -> tuple[
|
31
|
-
def update_unit_of_measurement(self, session: Session, statistic_id: str, new_unit:
|
30
|
+
def update_or_add(self, session: Session, new_metadata: StatisticMetaData, old_metadata_dict: dict[str, tuple[int, StatisticMetaData]]) -> tuple[str | None, int]: ...
|
31
|
+
def update_unit_of_measurement(self, session: Session, statistic_id: str, new_unit: str | None) -> None: ...
|
32
32
|
def update_statistic_id(self, session: Session, source: str, old_statistic_id: str, new_statistic_id: str) -> None: ...
|
33
33
|
def delete(self, session: Session, statistic_ids: list[str]) -> None: ...
|
34
34
|
def reset(self) -> None: ...
|
@@ -35,8 +35,8 @@ class ClearStatisticsTask(RecorderTask):
|
|
35
35
|
|
36
36
|
class UpdateStatisticsMetadataTask(RecorderTask):
|
37
37
|
statistic_id: str
|
38
|
-
new_statistic_id:
|
39
|
-
new_unit_of_measurement:
|
38
|
+
new_statistic_id: str | None | UndefinedType
|
39
|
+
new_unit_of_measurement: str | None | UndefinedType
|
40
40
|
def run(self, instance: Recorder) -> None: ...
|
41
41
|
def __init__(self, statistic_id, new_statistic_id, new_unit_of_measurement) -> None: ...
|
42
42
|
|
@@ -74,7 +74,7 @@ class CompileMissingStatisticsTask(RecorderTask):
|
|
74
74
|
class ImportStatisticsTask(RecorderTask):
|
75
75
|
metadata: StatisticMetaData
|
76
76
|
statistics: Iterable[StatisticData]
|
77
|
-
table: type[
|
77
|
+
table: type[Statistics | StatisticsShortTerm]
|
78
78
|
def run(self, instance: Recorder) -> None: ...
|
79
79
|
def __init__(self, metadata, statistics, table) -> None: ...
|
80
80
|
|
@@ -46,9 +46,9 @@ FIRST_POSSIBLE_SUNDAY: int
|
|
46
46
|
SUNDAY_WEEKDAY: int
|
47
47
|
DAYS_IN_WEEK: int
|
48
48
|
|
49
|
-
def session_scope(*, hass:
|
49
|
+
def session_scope(*, hass: HomeAssistant | None = ..., session: Session | None = ..., exception_filter: Callable[[Exception], bool] | None = ..., read_only: bool = ...) -> Generator[Session, None, None]: ...
|
50
50
|
def execute(qry: Query, to_native: bool = ..., validate_entity_ids: bool = ...) -> list[Row]: ...
|
51
|
-
def execute_stmt_lambda_element(session: Session, stmt: StatementLambdaElement, start_time:
|
51
|
+
def execute_stmt_lambda_element(session: Session, stmt: StatementLambdaElement, start_time: datetime | None = ..., end_time: datetime | None = ..., yield_per: int = ...) -> Sequence[Row] | Result: ...
|
52
52
|
def validate_or_move_away_sqlite_database(dburl: str) -> bool: ...
|
53
53
|
def dburl_to_path(dburl: str) -> str: ...
|
54
54
|
def last_run_was_recently_clean(cursor: SQLiteCursor) -> bool: ...
|
@@ -60,11 +60,11 @@ def execute_on_connection(dbapi_connection: Any, statement: str) -> None: ...
|
|
60
60
|
def query_on_connection(dbapi_connection: Any, statement: str) -> Any: ...
|
61
61
|
def _fail_unsupported_dialect(dialect_name: str) -> NoReturn: ...
|
62
62
|
def _fail_unsupported_version(server_version: str, dialect_name: str, minimum_version: str) -> NoReturn: ...
|
63
|
-
def _extract_version_from_server_response(server_response: str) ->
|
64
|
-
def _datetime_or_none(value: str) ->
|
63
|
+
def _extract_version_from_server_response(server_response: str) -> AwesomeVersion | None: ...
|
64
|
+
def _datetime_or_none(value: str) -> datetime | None: ...
|
65
65
|
def build_mysqldb_conv() -> dict: ...
|
66
66
|
def _async_create_mariadb_range_index_regression_issue(hass: HomeAssistant, version: AwesomeVersion) -> None: ...
|
67
|
-
def setup_connection_for_dialect(instance: Recorder, dialect_name: str, dbapi_connection: Any, first_connection: bool) ->
|
67
|
+
def setup_connection_for_dialect(instance: Recorder, dialect_name: str, dbapi_connection: Any, first_connection: bool) -> DatabaseEngine | None: ...
|
68
68
|
def end_incomplete_runs(session: Session, start_time: datetime) -> None: ...
|
69
69
|
def _is_retryable_error(instance: Recorder, err: OperationalError) -> bool: ...
|
70
70
|
|
@@ -85,7 +85,7 @@ def get_instance(hass: HomeAssistant) -> Recorder: ...
|
|
85
85
|
|
86
86
|
PERIOD_SCHEMA: Incomplete
|
87
87
|
|
88
|
-
def resolve_period(period_def: StatisticPeriod) -> tuple[
|
88
|
+
def resolve_period(period_def: StatisticPeriod) -> tuple[datetime | None, datetime | None]: ...
|
89
89
|
def take(take_num: int, iterable: Iterable) -> list[Any]: ...
|
90
90
|
def chunked(iterable: Iterable, chunked_num: int) -> Iterable[Any]: ...
|
91
|
-
def get_index_by_name(session: Session, table_name: str, index_name: str) ->
|
91
|
+
def get_index_by_name(session: Session, table_name: str, index_name: str) -> str | None: ...
|
@@ -17,12 +17,12 @@ _LOGGER: logging.Logger
|
|
17
17
|
UNIT_SCHEMA: Incomplete
|
18
18
|
|
19
19
|
def async_setup(hass: HomeAssistant) -> None: ...
|
20
|
-
def _ws_get_statistic_during_period(hass: HomeAssistant, msg_id: int, start_time:
|
20
|
+
def _ws_get_statistic_during_period(hass: HomeAssistant, msg_id: int, start_time: dt | None, end_time: dt | None, statistic_id: str, types: set[Literal['max', 'mean', 'min', 'change']] | None, units: dict[str, str]) -> str: ...
|
21
21
|
async def ws_get_statistic_during_period(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict[str, Any]) -> None: ...
|
22
|
-
def _ws_get_statistics_during_period(hass: HomeAssistant, msg_id: int, start_time: dt, end_time:
|
22
|
+
def _ws_get_statistics_during_period(hass: HomeAssistant, msg_id: int, start_time: dt, end_time: dt | None, statistic_ids: set[str] | None, period: Literal['5minute', 'day', 'hour', 'week', 'month'], units: dict[str, str], types: set[Literal['last_reset', 'max', 'mean', 'min', 'state', 'sum']]) -> str: ...
|
23
23
|
async def ws_handle_get_statistics_during_period(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict) -> None: ...
|
24
24
|
async def ws_get_statistics_during_period(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict[str, Any]) -> None: ...
|
25
|
-
def _ws_get_list_statistic_ids(hass: HomeAssistant, msg_id: int, statistic_type:
|
25
|
+
def _ws_get_list_statistic_ids(hass: HomeAssistant, msg_id: int, statistic_type: Literal['mean'] | Literal['sum'] | None = ...) -> str: ...
|
26
26
|
async def ws_handle_list_statistic_ids(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict) -> None: ...
|
27
27
|
async def ws_list_statistic_ids(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict[str, Any]) -> None: ...
|
28
28
|
async def ws_validate_statistics(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict[str, Any]) -> None: ...
|
@@ -54,17 +54,17 @@ class RemoteEntityDescription(ToggleEntityDescription):
|
|
54
54
|
|
55
55
|
class RemoteEntity(ToggleEntity):
|
56
56
|
entity_description: RemoteEntityDescription
|
57
|
-
_attr_activity_list:
|
58
|
-
_attr_current_activity:
|
57
|
+
_attr_activity_list: list[str] | None
|
58
|
+
_attr_current_activity: str | None
|
59
59
|
_attr_supported_features: RemoteEntityFeature
|
60
60
|
@property
|
61
61
|
def supported_features(self) -> RemoteEntityFeature: ...
|
62
62
|
@property
|
63
|
-
def current_activity(self) ->
|
63
|
+
def current_activity(self) -> str | None: ...
|
64
64
|
@property
|
65
|
-
def activity_list(self) ->
|
65
|
+
def activity_list(self) -> list[str] | None: ...
|
66
66
|
@property
|
67
|
-
def state_attributes(self) ->
|
67
|
+
def state_attributes(self) -> dict[str, Any] | None: ...
|
68
68
|
def send_command(self, command: Iterable[str], **kwargs: Any) -> None: ...
|
69
69
|
async def async_send_command(self, command: Iterable[str], **kwargs: Any) -> None: ...
|
70
70
|
def learn_command(self, **kwargs: Any) -> None: ...
|
@@ -7,5 +7,5 @@ from homeassistant.helpers.typing import ConfigType as ConfigType, TemplateVarsT
|
|
7
7
|
|
8
8
|
ACTION_SCHEMA: Incomplete
|
9
9
|
|
10
|
-
async def async_call_action_from_config(hass: HomeAssistant, config: ConfigType, variables: TemplateVarsType, context:
|
10
|
+
async def async_call_action_from_config(hass: HomeAssistant, config: ConfigType, variables: TemplateVarsType, context: Context | None) -> None: ...
|
11
11
|
async def async_get_actions(hass: HomeAssistant, device_id: str) -> list[dict[str, str]]: ...
|
@@ -8,5 +8,5 @@ from typing import Any
|
|
8
8
|
_LOGGER: Incomplete
|
9
9
|
VALID_STATES: Incomplete
|
10
10
|
|
11
|
-
async def _async_reproduce_state(hass: HomeAssistant, state: State, *, context:
|
12
|
-
async def async_reproduce_states(hass: HomeAssistant, states: Iterable[State], *, context:
|
11
|
+
async def _async_reproduce_state(hass: HomeAssistant, state: State, *, context: Context | None = ..., reproduce_options: dict[str, Any] | None = ...) -> None: ...
|
12
|
+
async def async_reproduce_states(hass: HomeAssistant, states: Iterable[State], *, context: Context | None = ..., reproduce_options: dict[str, Any] | None = ...) -> None: ...
|
@@ -15,7 +15,7 @@ class RenaultBinarySensorRequiredKeysMixin:
|
|
15
15
|
def __init__(self, on_key, on_value) -> None: ...
|
16
16
|
|
17
17
|
class RenaultBinarySensorEntityDescription(BinarySensorEntityDescription, RenaultDataEntityDescription, RenaultBinarySensorRequiredKeysMixin):
|
18
|
-
icon_fn:
|
18
|
+
icon_fn: Callable[[RenaultBinarySensor], str] | None
|
19
19
|
def __init__(self, on_key, on_value, coordinator, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, icon_fn) -> None: ...
|
20
20
|
|
21
21
|
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
@@ -23,8 +23,8 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, asyn
|
|
23
23
|
class RenaultBinarySensor(RenaultDataEntity[KamereonVehicleBatteryStatusData], BinarySensorEntity):
|
24
24
|
entity_description: RenaultBinarySensorEntityDescription
|
25
25
|
@property
|
26
|
-
def is_on(self) ->
|
26
|
+
def is_on(self) -> bool | None: ...
|
27
27
|
@property
|
28
|
-
def icon(self) ->
|
28
|
+
def icon(self) -> str | None: ...
|
29
29
|
|
30
30
|
BINARY_SENSOR_TYPES: tuple[RenaultBinarySensorEntityDescription, ...]
|
@@ -13,9 +13,9 @@ class RenaultFlowHandler(config_entries.ConfigFlow):
|
|
13
13
|
renault_config: Incomplete
|
14
14
|
renault_hub: Incomplete
|
15
15
|
def __init__(self) -> None: ...
|
16
|
-
async def async_step_user(self, user_input:
|
17
|
-
def _show_user_form(self, errors:
|
18
|
-
async def async_step_kamereon(self, user_input:
|
16
|
+
async def async_step_user(self, user_input: dict[str, Any] | None = ...) -> FlowResult: ...
|
17
|
+
def _show_user_form(self, errors: dict[str, Any] | None = ...) -> FlowResult: ...
|
18
|
+
async def async_step_kamereon(self, user_input: dict[str, Any] | None = ...) -> FlowResult: ...
|
19
19
|
async def async_step_reauth(self, entry_data: Mapping[str, Any]) -> FlowResult: ...
|
20
|
-
async def async_step_reauth_confirm(self, user_input:
|
21
|
-
def _show_reauth_confirm_form(self, errors:
|
20
|
+
async def async_step_reauth_confirm(self, user_input: dict[str, Any] | None = ...) -> FlowResult: ...
|
21
|
+
def _show_reauth_confirm_form(self, errors: dict[str, Any] | None = ...) -> FlowResult: ...
|
@@ -11,9 +11,9 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, asyn
|
|
11
11
|
|
12
12
|
class RenaultDeviceTracker(RenaultDataEntity[KamereonVehicleLocationData], TrackerEntity):
|
13
13
|
@property
|
14
|
-
def latitude(self) ->
|
14
|
+
def latitude(self) -> float | None: ...
|
15
15
|
@property
|
16
|
-
def longitude(self) ->
|
16
|
+
def longitude(self) -> float | None: ...
|
17
17
|
@property
|
18
18
|
def source_type(self) -> SourceType: ...
|
19
19
|
|
@@ -41,7 +41,7 @@ class RenaultVehicleProxy:
|
|
41
41
|
async def set_charge_start(self) -> models.KamereonVehicleChargingStartActionData: ...
|
42
42
|
async def set_charge_stop(self) -> models.KamereonVehicleChargingStartActionData: ...
|
43
43
|
async def set_ac_stop(self) -> models.KamereonVehicleHvacStartActionData: ...
|
44
|
-
async def set_ac_start(self, temperature: float, when:
|
44
|
+
async def set_ac_start(self, temperature: float, when: datetime | None = ...) -> models.KamereonVehicleHvacStartActionData: ...
|
45
45
|
async def get_charging_settings(self) -> models.KamereonVehicleChargingSettingsData: ...
|
46
46
|
async def set_charge_schedules(self, schedules: list[models.ChargeSchedule]) -> models.KamereonVehicleChargeScheduleActionData: ...
|
47
47
|
|
@@ -22,11 +22,11 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, asyn
|
|
22
22
|
class RenaultSelectEntity(RenaultDataEntity[KamereonVehicleBatteryStatusData], SelectEntity):
|
23
23
|
entity_description: RenaultSelectEntityDescription
|
24
24
|
@property
|
25
|
-
def current_option(self) ->
|
25
|
+
def current_option(self) -> str | None: ...
|
26
26
|
@property
|
27
27
|
def data(self) -> StateType: ...
|
28
28
|
@property
|
29
|
-
def icon(self) ->
|
29
|
+
def icon(self) -> str | None: ...
|
30
30
|
async def async_select_option(self, option: str) -> None: ...
|
31
31
|
|
32
32
|
def _get_charge_mode_icon(entity: RenaultSelectEntity) -> str: ...
|
@@ -20,10 +20,10 @@ class RenaultSensorRequiredKeysMixin:
|
|
20
20
|
def __init__(self, data_key, entity_class) -> None: ...
|
21
21
|
|
22
22
|
class RenaultSensorEntityDescription(SensorEntityDescription, RenaultDataEntityDescription, RenaultSensorRequiredKeysMixin[T]):
|
23
|
-
icon_lambda:
|
24
|
-
condition_lambda:
|
23
|
+
icon_lambda: Callable[[RenaultSensor[T]], str] | None
|
24
|
+
condition_lambda: Callable[[RenaultVehicleProxy], bool] | None
|
25
25
|
requires_fuel: bool
|
26
|
-
value_lambda:
|
26
|
+
value_lambda: Callable[[RenaultSensor[T]], StateType | datetime] | None
|
27
27
|
def __init__(self, data_key, entity_class, coordinator, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, unit_of_measurement, last_reset, native_unit_of_measurement, options, state_class, suggested_display_precision, suggested_unit_of_measurement, icon_lambda, condition_lambda, requires_fuel, value_lambda) -> None: ...
|
28
28
|
|
29
29
|
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
@@ -33,14 +33,14 @@ class RenaultSensor(RenaultDataEntity[T], SensorEntity):
|
|
33
33
|
@property
|
34
34
|
def data(self) -> StateType: ...
|
35
35
|
@property
|
36
|
-
def icon(self) ->
|
36
|
+
def icon(self) -> str | None: ...
|
37
37
|
@property
|
38
|
-
def native_value(self) ->
|
38
|
+
def native_value(self) -> StateType | datetime: ...
|
39
39
|
|
40
40
|
def _get_charging_power(entity: RenaultSensor[T]) -> StateType: ...
|
41
|
-
def _get_charge_state_formatted(entity: RenaultSensor[T]) ->
|
41
|
+
def _get_charge_state_formatted(entity: RenaultSensor[T]) -> str | None: ...
|
42
42
|
def _get_charge_state_icon(entity: RenaultSensor[T]) -> str: ...
|
43
|
-
def _get_plug_state_formatted(entity: RenaultSensor[T]) ->
|
43
|
+
def _get_plug_state_formatted(entity: RenaultSensor[T]) -> str | None: ...
|
44
44
|
def _get_plug_state_icon(entity: RenaultSensor[T]) -> str: ...
|
45
45
|
def _get_rounded_value(entity: RenaultSensor[T]) -> float: ...
|
46
46
|
def _get_utc_value(entity: RenaultSensor[T]) -> datetime: ...
|
@@ -3,4 +3,4 @@ from .issue_handler import ConfirmRepairFlow as ConfirmRepairFlow, RepairsFlowMa
|
|
3
3
|
from .models import RepairsFlow as RepairsFlow
|
4
4
|
from homeassistant.core import HomeAssistant
|
5
5
|
|
6
|
-
def repairs_flow_manager(hass: HomeAssistant) ->
|
6
|
+
def repairs_flow_manager(hass: HomeAssistant) -> RepairsFlowManager | None: ...
|
@@ -8,11 +8,11 @@ from homeassistant.helpers.issue_registry import async_delete_issue as async_del
|
|
8
8
|
from typing import Any
|
9
9
|
|
10
10
|
class ConfirmRepairFlow(RepairsFlow):
|
11
|
-
async def async_step_init(self, user_input:
|
12
|
-
async def async_step_confirm(self, user_input:
|
11
|
+
async def async_step_init(self, user_input: dict[str, str] | None = ...) -> data_entry_flow.FlowResult: ...
|
12
|
+
async def async_step_confirm(self, user_input: dict[str, str] | None = ...) -> data_entry_flow.FlowResult: ...
|
13
13
|
|
14
14
|
class RepairsFlowManager(data_entry_flow.FlowManager):
|
15
|
-
async def async_create_flow(self, handler_key: str, *, context:
|
15
|
+
async def async_create_flow(self, handler_key: str, *, context: dict[str, Any] | None = ..., data: dict[str, Any] | None = ...) -> RepairsFlow: ...
|
16
16
|
async def async_finish_flow(self, flow: data_entry_flow.FlowHandler, result: data_entry_flow.FlowResult) -> data_entry_flow.FlowResult: ...
|
17
17
|
|
18
18
|
def async_setup(hass: HomeAssistant) -> None: ...
|
@@ -4,7 +4,7 @@ from typing import Protocol
|
|
4
4
|
|
5
5
|
class RepairsFlow(data_entry_flow.FlowHandler):
|
6
6
|
issue_id: str
|
7
|
-
data:
|
7
|
+
data: dict[str, str | int | float | None] | None
|
8
8
|
|
9
9
|
class RepairsProtocol(Protocol):
|
10
|
-
async def async_create_fix_flow(self, hass: HomeAssistant, issue_id: str, data:
|
10
|
+
async def async_create_fix_flow(self, hass: HomeAssistant, issue_id: str, data: dict[str, str | int | float | None] | None) -> RepairsFlow: ...
|
@@ -20,5 +20,5 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
|
|
20
20
|
def _async_setup_shared_data(hass: HomeAssistant) -> None: ...
|
21
21
|
async def _async_process_config(hass: HomeAssistant, config: ConfigType) -> bool: ...
|
22
22
|
async def async_get_config_and_coordinator(hass: HomeAssistant, platform_domain: str, discovery_info: DiscoveryInfoType) -> tuple[ConfigType, DataUpdateCoordinator[None], RestData]: ...
|
23
|
-
def _rest_coordinator(hass: HomeAssistant, rest: RestData, resource_template:
|
23
|
+
def _rest_coordinator(hass: HomeAssistant, rest: RestData, resource_template: template.Template | None, update_interval: timedelta) -> DataUpdateCoordinator[None]: ...
|
24
24
|
def create_rest_data_from_config(hass: HomeAssistant, config: ConfigType) -> RestData: ...
|
@@ -14,12 +14,12 @@ from homeassistant.helpers.template_entity import TemplateEntity as TemplateEnti
|
|
14
14
|
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType
|
15
15
|
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator
|
16
16
|
|
17
|
-
async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_add_entities: AddEntitiesCallback, discovery_info:
|
17
|
+
async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = ...) -> None: ...
|
18
18
|
|
19
19
|
class RestBinarySensor(RestEntity, TemplateEntity, BinarySensorEntity):
|
20
20
|
_previous_data: Incomplete
|
21
21
|
_value_template: Incomplete
|
22
22
|
_attr_device_class: Incomplete
|
23
|
-
def __init__(self, hass: HomeAssistant, coordinator:
|
23
|
+
def __init__(self, hass: HomeAssistant, coordinator: DataUpdateCoordinator[None] | None, rest: RestData, config: ConfigType, unique_id: str | None) -> None: ...
|
24
24
|
_attr_is_on: bool
|
25
25
|
def _update_from_rest_data(self) -> None: ...
|