New Action - fire-dom-event
You can now fire DOM events as an action! This is useful for opening browser mod popup cards. See the README for a quick example and the browser mod documentation for more information.
More Tooltip Options #74
You can now customize the tooltips label, offset, transform function, and display using these slider CSS properties:
--tooltip-label
, defaults to{{ VALUE }}
.VALUE
corresponds to the current slider value.
--tooltip-offset
, defaults to{{ OFFSET }}px
.OFFSET
corresponds to the tooltip x offset from center in pixels.
--tooltip-transform
, defaults totranslateX(var(--tooltip-offset))
.--tooltip-display
, defaults toinitial
.- Deprecated field
tooltip
will also set this property.
- Deprecated field
Autofill Remote and Media Player IDs in Service Calls #73
The media_player_id
field has been restored and a new field autofill_entity_id
has been added. If the latter is enabled, any service call actions that do not have a target ID (entity, device, or area) will have their entity ID fields autopopulated if their service call domains are remote
or media_player
and the corresponding remote_id
or media_player_id
fields are populated. media_player_id
will also work as slider_id
if the latter is not provided and autofill for kodi
and denonavr
domain service calls.
Row and Column IDs for Card-Mod Styling #63
All rows and columns now have a unique ID that can be used for styling using card-mod. See this comment for an example.
Other Changes
- Even more slider performance and render improvements.
- Sliders will now properly update if their value is changed by something else after the user has touched them.
VALUE
andHOLD_SECS
can be used in most templates that do not apply to the root remote element.- Deprecated
tooltip
in favor of style options. - Change the amount of time slider waits before allowing for value updates from Home Assistant after using it using
value_from_hass_delay
(defaults to 1000ms). - Slider will update once per second if it's value attribute is
media_position
. - Keyboard buttons should no longer erroneously trigger and error due to regular button action handlers.
Full Changelog: 3.5.2...3.6.0-beta.006