Skip to content

Commit

Permalink
fix: remove measurement designation from certain HASS entities
Browse files Browse the repository at this point in the history
  • Loading branch information
bachya committed Jun 4, 2024
1 parent 08f99b0 commit c330eed
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 2,248 deletions.
6 changes: 0 additions & 6 deletions ecowitt2mqtt/helpers/publisher/mqtt/hass.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
DATA_POINT_UV,
DATA_POINT_WEEKLY_RAIN,
DATA_POINT_WINDCHILL,
DATA_POINT_WINDDIR_NAME,
DATA_POINT_WRAIN_PIEZO,
DATA_POINT_WS90_VER,
DATA_POINT_YEARLY_RAIN,
Expand Down Expand Up @@ -212,7 +211,6 @@ class HassDiscoveryInfo:
),
DATA_POINT_BEAUFORT_SCALE: EntityDescription(
icon="mdi:weather-windy",
state_class=StateClass.MEASUREMENT,
),
DATA_POINT_CO2: EntityDescription(
device_class=DeviceClass.CO2,
Expand Down Expand Up @@ -421,10 +419,6 @@ class HassDiscoveryInfo:
device_class=DeviceClass.TEMPERATURE,
state_class=StateClass.MEASUREMENT,
),
DATA_POINT_WINDDIR_NAME: EntityDescription(
icon="mdi:compass",
state_class=StateClass.MEASUREMENT,
),
DATA_POINT_WS90_VER: EntityDescription(entity_category=EntityCategory.DIAGNOSTIC),
}

Expand Down
Loading

0 comments on commit c330eed

Please sign in to comment.