Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

home-assistant-javascript-templates

Package Overview
Dependencies
Maintainers
1
Versions
21
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.0.0

Diff

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
elchininet
published 1.1.0 •

Changelog

Source

[1.1.0] - 2024-01-28

  • Added user to Hass interface
  • New properties to get user data (user_name, user_is_admin, user_is_owner)
  • Add strict mode to the compiled code
elchininet
published 1.0.1 •

Changelog

Source

[1.0.1] - 2024-01-28

  • Exports the Hass interface
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