Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chime TTS ignores "length scale" set in the piper addon configuration #244

Open
4 tasks done
birdwing opened this issue Jan 6, 2025 · 0 comments
Open
4 tasks done

Comments

@birdwing
Copy link

birdwing commented Jan 6, 2025

System Health details

System Information

version core-2025.1.0
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.13.1
os_name Linux
os_version 6.6.66-haos
arch x86_64
timezone America/New_York
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 5000
Installed Version 2.0.2
Stage running
Available Repositories 1513
Downloaded Repositories 36
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 14.1
update_channel stable
supervisor_version supervisor-2024.12.3
agent_version 1.6.0
docker_version 27.2.0
disk_total 30.8 GB
disk_used 24.3 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization kvm
board ova
supervisor_api ok
version_api ok
installed_addons Home Assistant Google Drive Backup (0.112.1), MariaDB (2.7.1), AdGuard Home (5.2.2), Advanced SSH & Web Terminal (20.0.0), Vaultwarden (Bitwarden) (0.23.7), Cloudflared (5.2.6), Nginx Proxy Manager (1.0.1), InfluxDB (5.0.1), Grafana (10.2.2), File editor (5.8.0), Tailscale (0.24.0), Firefox (1.4.0), Uptime Kuma (0.12.4), ESPHome Device Builder (2024.12.2), Mosquitto broker (6.4.1), Govee to MQTT Bridge (2025.01.04-2c39a50f), Piper (1.5.2)
Dashboards
dashboards 5
resources 17
views 12
mode storage
Recorder
oldest_recorder_run December 27, 2024 at 4:19 AM
current_recorder_run January 6, 2025 at 3:34 PM
estimated_db_size 4833.45 MiB
database_engine mysql
database_version 10.11.6
Sonoff
version 3.8.1 (ffa7e22)
cloud_online 0 / 1
local_online 1 / 1
Spotify
api_endpoint_reachable ok

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of currently previous issues..

Describe the issue

When setting up the Piper addon, there is a Length scale parameter that controls the speed of the selected voice
Screenshot_20250106-170831

Even when set, using chime TTS by default will play the response at 100% speed (length scale of 1)

In order to get the voice to speak at the desired speed you must use the tts_speed parameter of the chime_tts.say action.

By default chime should play the voice at the configured speed within the piper addon configuration unless overridden with the tts_speed parameter.

Reproduction steps

  1. Setup piper addon with a voice you like
  2. Set the length scale within the addon to be slower or faster
  3. Call the chime_tts.say action without specifying a tts_speed parameter.
  4. Listen to the voice play at default 100% speed rather than configured length scale within piper addon.
    ...

Debug logs

2025-01-06 17:15:46.947 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration amplifi which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-01-06 17:15:46.951 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration python_script which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-01-06 17:15:46.954 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration tuya_local which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-01-06 17:15:46.956 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration uptime_kuma which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-01-06 17:15:46.960 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration ecoflow_cloud which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-01-06 17:15:46.963 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration ynab which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-01-06 17:15:46.965 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration resmed_myair which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-01-06 17:15:46.967 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration spotcast which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-01-06 17:15:46.970 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration mail_and_packages which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-01-06 17:15:46.972 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-01-06 17:15:46.974 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration sonoff which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-01-06 17:15:46.976 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration chime_tts which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-01-06 17:15:46.979 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration wyzeapi which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-01-06 17:15:46.981 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration retry which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-01-06 17:15:46.983 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration battery_notes which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-01-06 17:15:46.985 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration adaptive_lighting which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-01-06 17:15:46.989 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration watchman which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-01-06 17:15:46.991 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration proxmoxve which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-01-06 17:15:54.786 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╔════════════════════════════════════╗
2025-01-06 17:15:54.786 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ║ Chime TTS Version v1.2.2 is set up ║
2025-01-06 17:15:54.786 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╚════════════════════════════════════╝
2025-01-06 17:15:54.916 INFO (MainThread) [custom_components.chime_tts.helpers.services_helper] Updated services.yaml chime options.
2025-01-06 17:15:54.917 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭────────────────────────────────╮
2025-01-06 17:15:54.917 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ Chime TTS Configuration Values │
2025-01-06 17:15:54.917 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰────────────────────────────────╯
2025-01-06 17:15:54.917 DEBUG (MainThread) [custom_components.chime_tts]  - queue_timeout: 60
2025-01-06 17:15:54.917 DEBUG (MainThread) [custom_components.chime_tts]  - tts_timeout: 30
2025-01-06 17:15:54.917 DEBUG (MainThread) [custom_components.chime_tts]  - tts_platform: 'google_translate'
2025-01-06 17:15:54.917 DEBUG (MainThread) [custom_components.chime_tts]  - default_language: None
2025-01-06 17:15:54.917 DEBUG (MainThread) [custom_components.chime_tts]  - default_voice: None
2025-01-06 17:15:54.917 DEBUG (MainThread) [custom_components.chime_tts]  - default_tld: None
2025-01-06 17:15:54.917 DEBUG (MainThread) [custom_components.chime_tts]  - fallback_tts_platform: ''
2025-01-06 17:15:54.917 DEBUG (MainThread) [custom_components.chime_tts]  - offset: 450
2025-01-06 17:15:54.917 DEBUG (MainThread) [custom_components.chime_tts]  - crossfade: 0
2025-01-06 17:15:54.917 DEBUG (MainThread) [custom_components.chime_tts]  - fade_transition: 500
2025-01-06 17:15:54.917 DEBUG (MainThread) [custom_components.chime_tts]  - remove_temp_file_delay: 0
2025-01-06 17:15:54.917 DEBUG (MainThread) [custom_components.chime_tts]  - add_cover_art: False
2025-01-06 17:15:54.917 DEBUG (MainThread) [custom_components.chime_tts]  - temp_chimes_path: '/media/sounds/temp/chime_tts/chimes/'
2025-01-06 17:15:54.917 DEBUG (MainThread) [custom_components.chime_tts]  - temp_path: '/media/sounds/temp/chime_tts/'
2025-01-06 17:15:54.917 DEBUG (MainThread) [custom_components.chime_tts]  - www_path: '/config/www/chime_tts/'
2025-01-06 17:15:54.917 DEBUG (MainThread) [custom_components.chime_tts]  - custom_chimes_path: ''
2025-01-06 17:15:55.158 WARNING (ImportExecutor_0) [homeassistant.components.light] ATTR_COLOR_TEMP was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use kelvin equivalent (ATTR_COLOR_TEMP_KELVIN) instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:55.164 WARNING (ImportExecutor_0) [homeassistant.components.light] COLOR_MODE_BRIGHTNESS was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use ColorMode.BRIGHTNESS instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:55.171 WARNING (ImportExecutor_0) [homeassistant.components.light] COLOR_MODE_COLOR_TEMP was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use ColorMode.COLOR_TEMP instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:55.176 WARNING (ImportExecutor_0) [homeassistant.components.light] COLOR_MODE_HS was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use ColorMode.HS instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:55.182 WARNING (ImportExecutor_0) [homeassistant.components.light] COLOR_MODE_RGB was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use ColorMode.RGB instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:55.187 WARNING (ImportExecutor_0) [homeassistant.components.light] COLOR_MODE_RGBW was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use ColorMode.RGBW instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:55.192 WARNING (ImportExecutor_0) [homeassistant.components.light] COLOR_MODE_RGBWW was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use ColorMode.RGBWW instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:55.199 WARNING (ImportExecutor_0) [homeassistant.components.light] COLOR_MODE_XY was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use ColorMode.XY instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:55.205 WARNING (ImportExecutor_0) [homeassistant.components.light] SUPPORT_BRIGHTNESS was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use supported_color_modes instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:55.212 WARNING (ImportExecutor_0) [homeassistant.components.light] SUPPORT_COLOR was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use supported_color_modes instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:55.221 WARNING (ImportExecutor_0) [homeassistant.components.light] SUPPORT_COLOR_TEMP was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use supported_color_modes instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:55.237 WARNING (ImportExecutor_0) [homeassistant.components.light] SUPPORT_TRANSITION was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use LightEntityFeature.TRANSITION instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:55.243 WARNING (ImportExecutor_0) [homeassistant.components.light] ATTR_COLOR_TEMP was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use kelvin equivalent (ATTR_COLOR_TEMP_KELVIN) instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:55.250 WARNING (ImportExecutor_0) [homeassistant.components.light] COLOR_MODE_BRIGHTNESS was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use ColorMode.BRIGHTNESS instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:55.256 WARNING (ImportExecutor_0) [homeassistant.components.light] COLOR_MODE_COLOR_TEMP was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use ColorMode.COLOR_TEMP instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:55.261 WARNING (ImportExecutor_0) [homeassistant.components.light] COLOR_MODE_HS was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use ColorMode.HS instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:55.266 WARNING (ImportExecutor_0) [homeassistant.components.light] COLOR_MODE_RGB was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use ColorMode.RGB instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:55.272 WARNING (ImportExecutor_0) [homeassistant.components.light] COLOR_MODE_RGBW was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use ColorMode.RGBW instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:55.279 WARNING (ImportExecutor_0) [homeassistant.components.light] COLOR_MODE_RGBWW was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use ColorMode.RGBWW instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:55.285 WARNING (ImportExecutor_0) [homeassistant.components.light] COLOR_MODE_XY was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use ColorMode.XY instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:55.291 WARNING (ImportExecutor_0) [homeassistant.components.light] SUPPORT_BRIGHTNESS was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use supported_color_modes instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:55.297 WARNING (ImportExecutor_0) [homeassistant.components.light] SUPPORT_COLOR was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use supported_color_modes instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:55.304 WARNING (ImportExecutor_0) [homeassistant.components.light] SUPPORT_COLOR_TEMP was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use supported_color_modes instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:55.313 WARNING (ImportExecutor_0) [homeassistant.components.light] SUPPORT_TRANSITION was used from adaptive_lighting, this is a deprecated constant which will be removed in HA Core 2026.1. Use LightEntityFeature.TRANSITION instead, please report it to the author of the 'adaptive_lighting' custom integration
2025-01-06 17:15:56.656 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'ynab' calls async_forward_entry_setup for integration, ynab with title: Gifts and Gatherings and entry_id: 01JGYNF7GRAY5GTGBD789FAXK7, which is deprecated, await async_forward_entry_setups instead at custom_components/ynab/__init__.py, line 59: hass.async_create_task(. This will stop working in Home Assistant 2025.6, please create a bug report at https://github.com/birdwing/ynab/issues
2025-01-06 17:15:57.815 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'proxmoxve' calls `device_registry.async_get_or_create` referencing a non existing `via_device` ('', ''), with device info: {'configuration_url': 'https://10.0.0.141:8006/#v1:0:=node/nest', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'hw_version': None, 'identifiers': {('proxmoxve', 'df516710ca74f0628ebc709c5df1642f_NODE_nest')}, 'manufacturer': 'Proxmox VE', 'model': 'Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz', 'name': 'Node nest', 'serial_number': None, 'sw_version': 'Proxmox 8.2.2', 'via_device': ('', '')} at custom_components/proxmoxve/__init__.py, line 714: return device_registry.async_get_or_create(. This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/dougiteixeira/proxmoxve/issues
2025-01-06 17:15:59.161 WARNING (ImportExecutor_0) [homeassistant.components.light] ATTR_COLOR_TEMP was used from wyzeapi, this is a deprecated constant which will be removed in HA Core 2026.1. Use kelvin equivalent (ATTR_COLOR_TEMP_KELVIN) instead, please report it to the author of the 'wyzeapi' custom integration
2025-01-06 17:15:59.174 WARNING (ImportExecutor_0) [homeassistant.components.light] ATTR_COLOR_TEMP was used from wyzeapi, this is a deprecated constant which will be removed in HA Core 2026.1. Use kelvin equivalent (ATTR_COLOR_TEMP_KELVIN) instead, please report it to the author of the 'wyzeapi' custom integration
2025-01-06 17:15:59.411 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'ynab' uses `async_config_entry_first_refresh`, which is only supported when entry state is ConfigEntryState.SETUP_IN_PROGRESS, but it is in state ConfigEntryState.LOADED at custom_components/ynab/sensor.py, line 23: await coordinator.async_config_entry_first_refresh(). This will stop working in Home Assistant 2025.11, please create a bug report at https://github.com/birdwing/ynab/issues
2025-01-06 17:15:59.559 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'proxmoxve' calls `device_registry.async_get_or_create` referencing a non existing `via_device` ('', ''), with device info: {'configuration_url': 'https://10.0.0.141:8006/#v1:0:=node/nest', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'hw_version': None, 'identifiers': {('proxmoxve', 'df516710ca74f0628ebc709c5df1642f_NODE_nest')}, 'manufacturer': 'Proxmox VE', 'model': 'Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz', 'name': 'Node nest', 'serial_number': None, 'sw_version': 'Proxmox 8.2.2', 'via_device': ('', '')} at custom_components/proxmoxve/binary_sensor.py, line 106: async_add_entities(await async_setup_binary_sensors_nodes(hass, config_entry)). This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/dougiteixeira/proxmoxve/issues
2025-01-06 17:15:59.582 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'proxmoxve' calls `device_registry.async_get_or_create` referencing a non existing `via_device` ('', ''), with device info: {'configuration_url': 'https://10.0.0.141:8006/#v1:0:=node/nest', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'hw_version': None, 'identifiers': {('proxmoxve', 'df516710ca74f0628ebc709c5df1642f_NODE_nest')}, 'manufacturer': 'Proxmox VE', 'model': 'Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz', 'name': 'Node nest', 'serial_number': None, 'sw_version': 'Proxmox 8.2.2', 'via_device': ('', '')} at custom_components/proxmoxve/button.py, line 243: async_add_entities(buttons). This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/dougiteixeira/proxmoxve/issues
2025-01-06 17:15:59.635 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'proxmoxve' calls `device_registry.async_get_or_create` referencing a non existing `via_device` ('', ''), with device info: {'configuration_url': 'https://10.0.0.141:8006/#v1:0:=node/nest', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'hw_version': None, 'identifiers': {('proxmoxve', 'df516710ca74f0628ebc709c5df1642f_NODE_nest')}, 'manufacturer': 'Proxmox VE', 'model': 'Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz', 'name': 'Node nest', 'serial_number': None, 'sw_version': 'Proxmox 8.2.2', 'via_device': ('', '')} at custom_components/proxmoxve/sensor.py, line 493: async_add_entities(await async_setup_sensors_nodes(hass, config_entry)). This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/dougiteixeira/proxmoxve/issues
2025-01-06 17:16:00.305 WARNING (MainThread) [homeassistant.helpers.frame] Detected that integration 'zha' calls `device_registry.async_get_or_create` referencing a non existing `via_device` ('zha', e0:79:8d:ff:fe:cf:a8:04), with device info: {'connections': {('zigbee', '00:15:8d:00:09:ee:e8:e0')}, 'identifiers': {('zha', '00:15:8d:00:09:ee:e8:e0')}, 'manufacturer': 'LUMI', 'model': 'lumi.sensor_magnet.aq2', 'name': 'LUMI lumi.sensor_magnet.aq2', 'via_device': ('zha', e0:79:8d:ff:fe:cf:a8:04)} at homeassistant/components/zha/helpers.py, line 1177: _async_add_entities(entities_to_add, update_before_add=False). This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+zha%22
2025-01-06 17:16:03.904 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration ynab with title: Gifts and Gatherings and entry_id: 01JGYNF7GRAY5GTGBD789FAXK7, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1, please report this issue
Stack (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 227, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 213, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 154, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 707, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 678, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2033, in _run_once
    handle._run()
  File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2353, in async_forward_entry_setup
    _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup")
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1199, in _report_non_awaited_platform_forwards
    report_usage(
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 234, in report_usage
    _LOGGER.warning(msg, stack_info=True)
2025-01-06 17:16:05.846 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration ynab with title: Main Budget and entry_id: 01JB6X441TAKZ24TXBJV4SZ5XN, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1, please report this issue
Stack (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 227, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 213, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 154, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 707, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 678, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2033, in _run_once
    handle._run()
  File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2353, in async_forward_entry_setup
    _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup")
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1199, in _report_non_awaited_platform_forwards
    report_usage(
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 234, in report_usage
    _LOGGER.warning(msg, stack_info=True)
2025-01-06 17:16:05.895 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ (states('sensor.linux_server_swap_used') | float * 100) / states('sensor.linux_server_swap_total') | float }}) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2364, in forgiving_float_filter
    return float(value)
ValueError: could not convert string to float: 'unknown'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 643, in async_render
    render_result = _render_with_context(self.template, compiled, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2745, in _render_with_context
    return template.render(**kwargs)
           ~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
    self.environment.handle_exception()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 1, in top-level template code
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2367, in forgiving_float_filter
    raise_no_default("float", value)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1921, in raise_no_default
    raise ValueError(
    ...<2 lines>...
    )
ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ (states('sensor.linux_server_swap_used') | float * 100) / states('sensor.linux_server_swap_total') | float }}' but no default was specified

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 760, in async_render_to_info
    render_info._result = self.async_render(  # noqa: SLF001
                          ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
        variables, strict=strict, log_fn=log_fn, **kwargs
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 645, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ (states('sensor.linux_server_swap_used') | float * 100) / states('sensor.linux_server_swap_total') | float }}' but no default was specified
2025-01-06 17:16:05.904 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ (states('sensor.linux_server_swap_used') | float * 100) / states('sensor.linux_server_swap_total') | float }}' but no default was specified') while processing template 'Template<template=({{ (states('sensor.linux_server_swap_used') | float * 100) / states('sensor.linux_server_swap_total') | float }}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.linux_server_swap_used_percentage'
2025-01-06 17:16:07.832 WARNING (MainThread) [homeassistant.components.waze_travel_time] No routes found
2025-01-06 17:16:07.833 WARNING (MainThread) [homeassistant.components.waze_travel_time.sensor] No routes found
2025-01-06 17:16:21.420 WARNING (MainThread) [homeassistant.components.waze_travel_time] No routes found
2025-01-06 17:16:21.420 WARNING (MainThread) [homeassistant.components.waze_travel_time.sensor] No routes found
2025-01-06 17:16:35.127 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╔══════════════════════════════════════╗
2025-01-06 17:16:35.127 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ║ Chime TTS Say Called. Version v1.2.2 ║
2025-01-06 17:16:35.128 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╚══════════════════════════════════════╝
2025-01-06 17:16:35.128 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Adding service call to queue
2025-01-06 17:16:35.270 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭────────────────────╮
2025-01-06 17:16:35.270 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ General Parameters │
2025-01-06 17:16:35.270 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰────────────────────╯
2025-01-06 17:16:35.270 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * entity_ids = ['media_player.living_room_notifier']
2025-01-06 17:16:35.270 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * chime_path = mario_coin
2025-01-06 17:16:35.270 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * cache = True
2025-01-06 17:16:35.270 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * offset = 450.0
2025-01-06 17:16:35.270 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * crossfade = 0
2025-01-06 17:16:35.270 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * final_delay = 0.0
2025-01-06 17:16:35.271 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * message = Sliding Glass Door is open
2025-01-06 17:16:35.271 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * tts_platform = tts.piper
2025-01-06 17:16:35.271 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * tts_speed = 100.0
2025-01-06 17:16:35.271 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * tts_pitch = 0
2025-01-06 17:16:35.271 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * announce = False
2025-01-06 17:16:35.271 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * fade_audio = False
2025-01-06 17:16:35.271 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * volume_level = -1
2025-01-06 17:16:35.271 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * join_players = False
2025-01-06 17:16:35.271 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * unjoin_players = False
2025-01-06 17:16:35.271 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]  * media_players_array:
2025-01-06 17:16:35.271 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]    - 0: entity_id: media_player.living_room_notifier
2025-01-06 17:16:35.271 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      platform: esphome
2025-01-06 17:16:35.271 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      initial volume: 1.0
2025-01-06 17:16:35.271 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      target volume: -1.0
2025-01-06 17:16:35.271 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      now playing: False
2025-01-06 17:16:35.271 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      join supported: False
2025-01-06 17:16:35.271 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers]      announce supported: True
2025-01-06 17:16:35.271 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭─────────────────╮
2025-01-06 17:16:35.271 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ Preparing Audio │
2025-01-06 17:16:35.271 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰─────────────────╯
2025-01-06 17:16:35.271 DEBUG (MainThread) [custom_components.chime_tts]  *** Checking Chime TTS audio cache ***
2025-01-06 17:16:35.289 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to listdir with args ('.',) inside the event loop by custom integration 'chime_tts' at custom_components/chime_tts/helpers/filesystem.py, line 57: dir_contents = os.listdir(parent_directory) (offender: /config/custom_components/chime_tts/helpers/filesystem.py, line 57: dir_contents = os.listdir(parent_directory)), please create a bug report at https://github.com/nimroddolev/chime_tts/issues
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#listdir
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 227, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 213, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 154, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 707, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 678, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2033, in _run_once
    handle._run()
  File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run
    self._context.run(self._callback, *self._args)
  File "/config/custom_components/chime_tts/queue_manager.py", line 92, in async_queue_processor
    await self.async_process_queue()
  File "/config/custom_components/chime_tts/queue_manager.py", line 50, in async_process_queue
    await self._process_service_call(service_call)
  File "/config/custom_components/chime_tts/queue_manager.py", line 57, in _process_service_call
    result = await asyncio.wait_for(
  File "/usr/local/lib/python3.13/asyncio/tasks.py", line 507, in wait_for
    return await fut
  File "/config/custom_components/chime_tts/__init__.py", line 176, in async_say_execute
    return await async_prepare_media(hass, params, options, media_players_array, is_say_url, start_time)
  File "/config/custom_components/chime_tts/__init__.py", line 286, in async_prepare_media
    audio_dict = await async_get_playback_audio_path(params, options)
  File "/config/custom_components/chime_tts/__init__.py", line 538, in async_get_playback_audio_path
    audio_dict: dict = await async_verify_cached_audio(hass, filepath_hash, params, options, is_local, is_public, ffmpeg_args)
  File "/config/custom_components/chime_tts/__init__.py", line 713, in async_verify_cached_audio
    local_external_filepath = filesystem_helper.get_local_path(hass=hass, file_path=f"{audio_dict.get(PUBLIC_PATH_KEY, '')}")
  File "/config/custom_components/chime_tts/helpers/filesystem.py", line 507, in get_local_path
    if self.path_exists(local_file_path) and os.path.isfile(local_file_path):
  File "/config/custom_components/chime_tts/helpers/filesystem.py", line 57, in path_exists
    dir_contents = os.listdir(parent_directory)

2025-01-06 17:16:35.291 DEBUG (MainThread) [custom_components.chime_tts]    Using cached audio:
2025-01-06 17:16:35.291 DEBUG (MainThread) [custom_components.chime_tts]      - local_path = "/media/sounds/temp/chime_tts/0d3f985c1e7e200a8967c5dd1fb17da8.mp3"
2025-01-06 17:16:35.291 DEBUG (MainThread) [custom_components.chime_tts]      - audio_duration = 3.042
2025-01-06 17:16:35.291 DEBUG (MainThread) [custom_components.chime_tts]      - public_path = None
2025-01-06 17:16:35.291 DEBUG (MainThread) [custom_components.chime_tts]      - media_content_id = "media-source://media_source/local/sounds/temp/chime_tts/0d3f985c1e7e200a8967c5dd1fb17da8.mp3"
2025-01-06 17:16:35.291 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭────────────────────╮
2025-01-06 17:16:35.291 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ Chime TTS playback │
2025-01-06 17:16:35.291 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰────────────────────╯
2025-01-06 17:16:35.291 DEBUG (MainThread) [custom_components.chime_tts]    1 Regular media player detected:
2025-01-06 17:16:35.291 DEBUG (MainThread) [custom_components.chime_tts]      - media_player.living_room_notifier
2025-01-06 17:16:35.291 DEBUG (MainThread) [custom_components.chime_tts]    Calling media_player.play_media with data:
2025-01-06 17:16:35.291 DEBUG (MainThread) [custom_components.chime_tts]      - entity_id: ['media_player.living_room_notifier']
2025-01-06 17:16:35.291 DEBUG (MainThread) [custom_components.chime_tts]      - announce: False
2025-01-06 17:16:35.292 DEBUG (MainThread) [custom_components.chime_tts]      - media_content_type: music
2025-01-06 17:16:35.292 DEBUG (MainThread) [custom_components.chime_tts]      - media_content_id: media-source://media_source/local/sounds/temp/chime_tts/0d3f985c1e7e200a8967c5dd1fb17da8.mp3
2025-01-06 17:16:35.295 DEBUG (MainThread) [custom_components.chime_tts]  - Waiting 3.042s for audio playback to complete...
2025-01-06 17:16:38.339 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper]  - Waiting until 1 media_player isn't playing...
2025-01-06 17:16:40.148 DEBUG (MainThread) [custom_components.chime_tts.helpers.media_player_helper]    ✔ media_player.living_room_notifier
2025-01-06 17:16:40.148 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭───────────────────────────────────────────╮
2025-01-06 17:16:40.148 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │──── Chime TTS Say Completed in 4.88 s ────│
2025-01-06 17:16:40.148 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰───────────────────────────────────────────╯

Diagnostics dump

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant