@sfgabe I have my Reef-PI up and running and am trying to integrate it with Home Assistant. I am not good with the coding but trying to learn. I understand how to create sensors and switches using Reef-PI API and have several working. I would like to set my sunrise/sunset and temperature to reflect a given location to resemble an actual reed the best that I can. I ran across your thread and used your code to get the sunrise/sunset and temperature of Bali. I would like to use the sunrise/sunset times from HA each day to set the sunrise/sunset times in Reef-PI. I would like to do the same with the temperature to control my heater. Is this possible? If so, can you point me in the right direction?