cyberjunky / home-assistant-ttn_gateway

This components reads statistics from a The Things Network Gateway.
MIT License
2 stars 0 forks source link

Warning: Entity XXX implements device_state_attributes #3

Closed Wummeke closed 2 years ago

Wummeke commented 2 years ago

Hi, after the update to Home-asisstant 2021.12.x, the following messages are showing in my logs:

2021-12-13 14:58:38 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.ttn_gw_gateway (<class 'custom_components.ttn_gateway.sensor.TTNGatewaySensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-13 14:58:38 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.ttn_gw_hardware_version (<class 'custom_components.ttn_gateway.sensor.TTNGatewaySensor'>) implements device_state_attributes. Please report it to the custom component author.

Etc. For every sensor of the component there is another entry in the logs.

I get them from another custom component of yours too (Google-Fit).

Probably not a big issue at the moment, but I thought I'd let you know. Thanks for your awesome custom components!

cyberjunky commented 2 years ago

Fixed