Skip to content

A simple component for home assistant to create a binary_sensor for any datetime input

License

Notifications You must be signed in to change notification settings

skal88/custom-components-datetime-sensors

Repository files navigation

Datetime_sensors

GitHub Release GitHub Activity License

this is a homeassistant custom-component to make create a binary-sensor for any input_datetime. With this componente, the binary_sensor follows the input_datetime value to get on state when the time as the input_datetime are matched. otherwise it returns off state. Very useful to use this with a automation trigger.

Why?

Currently, to use any input_datetime as a trigger, we need create a trigger-template whit a non easy reminder logic. For this reason, I made this simple component (under-construction) to make this action more easy. Whit this component, you only need create a binary_sensor with this platform and a sensor will be created to follow the input_datetime value.

Installation

At the moment, this component is * under-construction *. For this reason, It doesn't be finded in HACS repository. However, you can install it alike using HACS adding this github repo in your ** Hacs Settings ** temporarily.

Contributions are welcome!

If you want to contribute to this please read the Contribution guidelines