How to keep your sensor awake using the Home Assistant Helper
1. Select HA Settings
2. Select Devices and Services
3. Select Helpers
4. Select Create Helper
5. Select Toggle
6. Under Name input: apollo_ota_mode
7. Select desired icon such as "mdi:sleep-off"
8. Select Create
9. Toggle the OTA mode on as shown below.
10. Now when you reboot your device or when it wakes up on its wake timer, it will no longer go back to sleep. Warning: this will keep ALL of your apollo devices from sleeping. You might want to keep reading to create an automation to turn this helper off after one hour of it being on.
11. Create a new automation and select "add trigger" then select entity then select state.
12. Type in "apollo_ota_mode" in the box for entity and then select "On" and finally put a 1 in the hours box under "For". This is telling home assistant if the apollo_ota_mode is on for one hour then this trigger will fire (trigger).
13. Scroll down to "Then do" and click "Add Action" and type in "input boolean" and choose the option that says "Input Boolean: Turn off".
14. Now select choose entity and select apollo_ota_mode as shown below.
15. Now you are done! You can toggle your OTA mode on so that you can update your devices and after one hour it will automatically be turned off for you!