py-smart-gardena / hass-gardena-smart-system

Home Assistant custom component integration for Gardena Smart System
Apache License 2.0
213 stars 53 forks source link

Warnings in log after update to core-2021.12.0b0 #95

Open eikowagenknecht opened 2 years ago

eikowagenknecht commented 2 years ago

And they say "please report it to the custom component author" ;-)

2021-12-05 14:10:35 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.au_garten_rasenmaher_batterie (<class 'custom_components.gardena_smart_system.sensor.GardenaSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-05 14:10:36 WARNING (MainThread) [homeassistant.helpers.entity] Entity vacuum.au_garten_rasenmaeher (<class 'custom_components.gardena_smart_system.vacuum.GardenaSmartMower'>) implements device_state_attributes. Please report it to the custom component author.
grm commented 2 years ago

Hello, I don t know yet what it means but i ll have a look :)

Thanks for the report !

Jeremie

Le dim. 5 déc. 2021 à 14:43, Eiko Wagenknecht @.***> a écrit :

And they say "please report it to the custom component author" ;-)

2021-12-05 14:10:35 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.au_garten_rasenmaher_batterie (<class 'custom_components.gardena_smart_system.sensor.GardenaSensor'>) implements device_state_attributes. Please report it to the custom component author. 2021-12-05 14:10:36 WARNING (MainThread) [homeassistant.helpers.entity] Entity vacuum.au_garten_rasenmaeher (<class 'custom_components.gardena_smart_system.vacuum.GardenaSmartMower'>) implements device_state_attributes. Please report it to the custom component author.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/py-smart-gardena/hass-gardena-smart-system/issues/95, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAARGI52Q6ITSWIXKHPQAOLUPNT7FANCNFSM5JMZSDLA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

driesvandamme commented 2 years ago

FYI: https://github.com/home-assistant/core/pull/47304

Replace Entity.device_state_attributes with Entity.extra_state_attributes

grm commented 2 years ago

Thx for the tip ! just released the fix in 0.2.5b4 :)

Jérémie

Le lun. 20 déc. 2021 à 18:01, driesvandamme @.***> a écrit :

FYI: home-assistant/core#47304 https://github.com/home-assistant/core/pull/47304

Replace Entity.device_state_attributes with Entity.extra_state_attributes

— Reply to this email directly, view it on GitHub https://github.com/py-smart-gardena/hass-gardena-smart-system/issues/95#issuecomment-998107571, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAARGIZI77WN6B4CYDQ54K3UR5OOHANCNFSM5JMZSDLA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.*** com>