Skip to content

Commit 02fd069

Browse files
committed
Fix household view not activating
1 parent 6897359 commit 02fd069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/powersensor/sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ async def handle_discovered_sensor(sensor_mac: str, sensor_role: str):
137137
if sensor_role == "solar" and mains_present:
138138
async_dispatcher_send(hass, HAVE_SOLAR_SENSOR_SIGNAL)
139139

140-
if sensor_role == "mains":
140+
if sensor_role == "house-net":
141141
async_dispatcher_send(hass, HAVE_MAINS_SENSOR_SIGNAL)
142142

143143
entry.async_on_unload(

0 commit comments

Comments
 (0)