π NEW FEATURES
- This version adds support to use a duration instead of a datetime/timestamp. Set
duration=trueto treat a numeric input as duration. The default unit of measurement used for the duration is seconds, but you can useduration_unitto set this to "d", "h", "min", "ms", "s", or "ΞΌs" (which are the units Home Assistant also uses for sensors withstate_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 setduration=trueand use the correcduration_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
- @sashakavun made their first contribution in #70
Full Changelog: v2.4.0...v3.0.0