Wait for initialization to complete before update relay status

That was crashing that method right after boot.

- Solves #28
This commit is contained in:
Edward Firmo
2024-12-20 02:08:49 +01:00
parent c62e7a689c
commit 59da9bcb96
4 changed files with 30 additions and 8 deletions

View File

@@ -129,7 +129,6 @@ select:
disabled_by_default: false
icon: mdi:dip-switch
sensor:
- id: sun_elevation
name: Sun Elevation