Skip to content

Commit

Permalink
Fixed issue with HA 2024.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGos committed Jan 10, 2024
1 parent f774fd3 commit 1912210
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions custom_components/davis_vantage/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,9 +557,6 @@ async def async_setup_entry(

# Add all meter sensors described above.
for description in DESCRIPTIONS:
if entry.data.get(CONFIG_STATION_MODEL, '') == MODEL_VANTAGE_PRO2PLUS:
if description.key in ["SolarRad", "UV"]:
description.entity_registry_enabled_default = True
entities.append(
DavisVantageSensor(
coordinator=coordinator,
Expand Down

0 comments on commit 1912210

Please sign in to comment.