github ExperienceLovelace/ha-floorplan 1.0.34
New `execute` service to run JavaScripts functions

latest releases: 1.0.45-beta.1, 1.0.44, 1.0.43...
23 months ago

Description

This release contains one new feature, and a minor change. It's now possible to use the new execute-service 🥳, to execute JavaScript, without having to use a service like class_set. handleError is now changed, so the error-message is prioritized before error-stack.

Please do report, if you find anything that doesn't work after the following changes, listed below.

Changes

  • Feature: New execute service. Add your JavaScript, and execute it - instead of having to wrap your functions in class_set or using a custom component like none:none. See #260 for "how to use it". execute will execute all JavaScript defined within service_data (the string, or easy key with a string). See more things related to this in this discussion, and how to use browser_mod in combination with execute in our docs.
  • Change: handleError will now echo the message to our log, instead of the error stack. Check the browser console, for the error-stack.

Don't miss a new ha-floorplan release

NewReleases is sending notifications on new releases.