custom-components / authenticated

A platform which allows you to get information about sucessfull logins to Home Assistant.
MIT License
82 stars 28 forks source link

Deprecated #76

Closed RogerSelwyn closed 2 years ago

RogerSelwyn commented 2 years ago

I get the following error in my log. It just needs 'device' changing to 'extra' in the relevant method.

2021-12-11 22:21:25 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.last_successful_authentication (<class 'custom_components.authenticated.sensor.AuthenticatedSensor'>) implements device_state_attributes. Please report it to the custom component author.

timbba80 commented 2 years ago

This can be fixed with by (meanwhile in case anyone wants to fix this, they can change the value manually from HA).

In [config folder]\custom_components\authenticatedt\sensor.py, line 241, replace device_state_attributes with extra_state_attributes

ludeeus commented 2 years ago

https://github.com/custom-components/authenticated/pull/77