custom-components / sensor.avfallsor

Simple sensor for avfallsor
MIT License
8 stars 5 forks source link

implements device_state_attributes #12

Open tuytra opened 2 years ago

tuytra commented 2 years ago

Logger: homeassistant.helpers.entity Source: helpers/entity.py:549 First occurred: 09:02:43 (5 occurrences) Last logged: 09:02:43

Entity sensor.avfallsor_paper_83d373c2_bb11_4ac2_835f_d8da156ef2f9 (<class 'custom_components.avfallsor.sensor.AvfallSor'>) implements device_state_attributes. Please report it to the custom component author. Entity sensor.avfallsor_bio_83d373c2_bb11_4ac2_835f_d8da156ef2f9 (<class 'custom_components.avfallsor.sensor.AvfallSor'>) implements device_state_attributes. Please report it to the custom component author. Entity sensor.avfallsor_mixed_83d373c2_bb11_4ac2_835f_d8da156ef2f9 (<class 'custom_components.avfallsor.sensor.AvfallSor'>) implements device_state_attributes. Please report it to the custom component author. Entity sensor.avfallsor_metal_83d373c2_bb11_4ac2_835f_d8da156ef2f9 (<class 'custom_components.avfallsor.sensor.AvfallSor'>) implements device_state_attributes. Please report it to the custom component author. Entity sensor.avfallsor_plastic_83d373c2_bb11_4ac2_835f_d8da156ef2f9 (<class 'custom_components.avfallsor.sensor.AvfallSor'>) implements device_state_attributes. Please report it to the custom component author.

Hellowlol commented 2 years ago

Thanks!

tuytra commented 2 years ago

Thanks!

I installed sensor.avfallsor yesterday, and got these errors in the log. When do you have time to fix it? :)

yurgh commented 2 years ago

I get the same messages. From browsing around the interwebs the fix is supposedly to "Rename the property device_state_attributes to extra_state_attributes https://developers.home-assistant.io/docs/core/entity?_highlight=extra_state_attributes#generic-properties 38