home-assistant-javascript-templates
Advanced tools
Changelog
[5.2.0] - 2024-10-24
panel_url
which will return the window.location.pathname
Changelog
[5.1.0] - 2024-10-24
trackTemplate
with the same template but with different renderingFunctions
was registering only the first one.trackTemplate
method now returns a function that will clean the tracking of that template/rendering function when calledChangelog
[5.0.0] - 2024-09-19
trackNonExistent
parametertrackTemplate
method to execute rendering functions when entities changetracked
propertycleanTrackedEntities
methodcleanTrackedDomains
methodcleanTracked
methodChangelog
[4.0.0] - 2024-08-31
Changelog
[3.0.1] - 2024-02-10
states.any_entity_with_underscores
Changelog
[3.0.0] - 2024-01-29
states
as an object will not return an array if a domain is used. In its place it will return an object with all the entities ids as keys.Changelog
[2.0.0] - 2024-01-28
hass
object anymore. It needs an HTML element that contains the hass
object as a property. This is to solve a bug that the templates were returining always the old version of the states.Changelog
[1.2.0] - 2024-01-28
None
returns and return undefined
in these cases.states
method is used with a domain