-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hello,
after the last update (Core 2025.12.0 - Supervisor 2025.11.5 ), this warning appeared:
Deprecation of the obsolete sensor model
Attention · Reported by Template
This stops working in version 2026.6. Please fix this issue before upgrading.
The obsolete syntax platform: templatefor sensoris being removed. Please migrate crypto_totalto the modern template syntax.
Remove the existing template definition.
Add new template definition:
template:
- sensor:
- unit_of_measurement: "{{ expand(integration_entities('cryptoinfo'))\n | map(attribute='attributes.unit_of_measurement')\n
\ | list | default(['$'], true)\n | first }}\n"
default_entity_id: sensor.crypto_total
name: Total my crypto
state: "{{ integration_entities('cryptoinfo')\n | map('states')\n | map('float',
0)\n | sum | round(2) }}"
Restart Home Assistant or reload the model entities.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels