New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

home-assistant-javascript-templates

Package Overview
Dependencies
Maintainers
0
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

home-assistant-javascript-templates - npm Package Versions

13

5.2.0

Diff

Changelog

Source

[5.2.0] - 2024-10-24

  • New property available in the templates panel_url which will return the window.location.pathname
elchininet
published 5.1.0 •

Changelog

Source

[5.1.0] - 2024-10-24

  • Fix an issue about calling trackTemplate with the same template but with different renderingFunctions was registering only the first one.
  • The trackTemplate method now returns a function that will clean the tracking of that template/rendering function when called
elchininet
published 5.0.0 •

Changelog

Source

[5.0.0] - 2024-09-19

  • Complete refactor of the library
    • The library now returns a promise and the result of the promise is the renderer
    • Removed the trackNonExistent parameter
    • The options of the library are provided now with an options object
    • New trackTemplate method to execute rendering functions when entities change
    • Removed tracked property
    • Removed cleanTrackedEntities method
    • Removed cleanTrackedDomains method
    • Changed the function of the cleanTracked method
elchininet
published 4.0.0 •

Changelog

Source

[4.0.0] - 2024-08-31

  • New methods, objects and properties
    • entities method
    • entities object
    • entity_attr method
    • is_entity_attr method
    • devices method
    • devices object
    • user_agent property
  • New parameter to track non-existent entities and domains
  • Fix a bug of device_id not tracking the entity id
elchininet
published 3.1.1 •

elchininet
published 3.1.0 •

Changelog

Source

[3.1.0] - 2024-02-11

  • Create entities and domains tracker
elchininet
published 3.0.1 •

Changelog

Source

[3.0.1] - 2024-02-10

  • Fix a bug that was returning the wrong result with states.any_entity_with_underscores
elchininet
published 3.0.0 •

Changelog

Source

[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.
elchininet
published 2.0.0 •

Changelog

Source

[2.0.0] - 2024-01-28

  • The main class doesn‘t accept a 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.
elchininet
published 1.2.0 •

Changelog

Source

[1.2.0] - 2024-01-28

  • Rollback the None returns and return undefined in these cases.
  • Throw an error if the states method is used with a domain
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc