![]() If set the entity needs to have state ‘on’ or ‘home’ otherwise the alarm is not triggered. ![]() You can set an additional entity that is checked before the sunrise is triggered. ![]() to disable sleep mode in adaptive_lighting. Custom Pre-sunrise ActionsĪs noted you can define custom actions to be run before the sunrise effect. Manual alarm time requires ‘sensor.date’ to be enabled. Note that alarm times at midnight or shortly after will not work as expected. The alarm will go off everyday at that time unless you turn off the automation manually or define additional conditions (see below). Using a manual alarm timeīy setting the timestamp sensor to ‘none’ you can use a manual alarm time. However you can still manually input the sensor by its name. However the source (like the next_alarm sensor) needs to have an attribute device_class set to timestamp before it appears in the dropdown. You can in principle use other sources as long as they contain a valid timestamp in text form with both date and time information that can be parsed by the as_timestamp function. By default a compatible source is the _next_alarm sensor provided by the Android companion app that reads your next configured smart phone alarm. You can provide a timestamp sensor containing the date and time of the next alarm. Configuration can be found here: Time & Date - Home Assistant Timestamp Sensor You need to enable the ‘date_time_iso’ and ‘date’ sensor in your configuration.yaml and restart HA before using this blueprint in an automation. User-defined actions can be run at the start of the sunrise. The sunrise effect can be stopped by simply turning off the light during the automation run. It will generate a sunrise effect starting from a configurable amount of minutes before the alarm time with a dim and warm-colored light slowly transitioning to the fullest brightness and coldest light temperature supported by the lamp at the alarm time. It takes its alarm time from an existing timestamp source (such as the _next_alarm sensor from the Android companion app) or from a manual input. This is a blueprint for a wake-up light / alarm clock using a dimmable and color-temperature controllable light entity. GIthub Gist: Home Assistant Blueprint: Wake-up light alarm with sunrise effect
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |