Skip to content

v3.0.0

Latest

Choose a tag to compare

@TheFes TheFes released this 04 Jul 12:59
653873d

🌟 NEW FEATURES

  • This version adds support to use a duration instead of a datetime/timestamp. Set duration=true to treat a numeric input as duration. The default unit of measurement used for the duration is seconds, but you can use duration_unit to set this to "d", "h", "min", "ms", "s", or "ΞΌs" (which are the units Home Assistant also uses for sensors with state_class: duration).
  • This version add support to directly use an entity_id as input. It will check if the entity exists, and if so, it will use the state of that entity.
  • In case the input is an entity_id of a sensor with state_class: duration, the macro will detect this and automatically set duration=true and use the correc duration_unit.
  • In case the input is input_datetime which is set to time only, it will use that time on the current day.

🌐 LANGUAGES

  • Typo fix in Russian translations
  • Add Turkish translation

What's Changed

  • Fixed millisecond typos in Russian translation by @sashakavun in #70
  • Add Turkish translation by @TheFes in #72
  • Add support for direct input of entities and duration by @TheFes in #74

New Contributors

Full Changelog: v2.4.0...v3.0.0