Closed tinnetju closed 10 months ago
The config will not reflect your changes it will only be set temporarily (they will be reset when restarting HA). You can see the settings in your switch's attributes.
BTW, I do not understand why you have this automation because by default it will use the current sunset and sunrise.
I added a note here https://github.com/basnijholt/adaptive-lighting/pull/786.
I had no idea the sunrise and sunset times were automatic by default, makes so much more sense haha. The settings being temporary also explain a lot. Thanks for the quick solution, you are awesome!
Home Assistant Adaptive Lighting Issue Template
Bug Reports
If you need help with using or configuring Adaptive Lighting, please open a Q&A discussion thread here instead.
Before submitting a bug report, please follow these troubleshooting steps:
Please confirm that you have completed the following steps:
Required information for bug reports:
Please include the following information in your issue.
Issues missing this information may not be addressed.
(If using Zigbee2MQTT), provide your configuration files (remove all personal information before posting):
devices.yaml
groups.yaml
configuration.yaml
⚠️; Warning REMOVE ALL of the PERSONAL INFORMATION BELOW before posting ⚠️;server
:user
:password
:pan_id
:network_key
:log_syslog
if you use thisDescribe the bug and how to reproduce it: I have created an automation that takes the next_rising and next_setting values of the sun integration, parses them, and attempts to update them using the adaptive_lighting.change_switch_settings service. The values are correct (i can copy and paste them in the adaptive lightning configuration) and the logs state they are accepted and applied. However, when reviewing the values of the configs (in the UI and in the config entries) the new values have not been applied.
Little sidenote, i'm relatively new in the HA-world so excuse me if it's a fault on my end. Also, feel free to use this automation as I think it might be a valuable addition to the change_settings service.