Farfar / homeassistant-seatconnect

Seat Connect - A home assistant plugin to add integration with your car
Apache License 2.0
61 stars 15 forks source link

Warning in logs : 'sensor' implements device_state_attributes. Please report it to the custom component author. #13

Closed Pulpyyyy closed 2 years ago

Pulpyyyy commented 2 years ago

Hello,

HA 2021.12 updates the sensor mechanism so i guess update needs to be backported : device_state_attributes has been deprecated and replaced with extra_state_attributes

2021-12-15 20:15:10 WARNING (MainThread) [homeassistant.helpers.entity] Entity binary_sensor.ibiza_parking_light (<class 'custom_components.seatconnect.binary_sensor.SeatBinarySensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-15 20:15:10 WARNING (MainThread) [homeassistant.helpers.entity] Entity binary_sensor.ibiza_doors_locked (<class 'custom_components.seatconnect.binary_sensor.SeatBinarySensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-15 20:15:10 WARNING (MainThread) [homeassistant.helpers.entity] Entity binary_sensor.ibiza_door_closed_left_front (<class 'custom_components.seatconnect.binary_sensor.SeatBinarySensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-15 20:15:10 WARNING (MainThread) [homeassistant.helpers.entity] Entity binary_sensor.ibiza_door_closed_right_front (<class 'custom_components.seatconnect.binary_sensor.SeatBinarySensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-15 20:15:10 WARNING (MainThread) [homeassistant.helpers.entity] Entity binary_sensor.ibiza_door_closed_left_back (<class 'custom_components.seatconnect.binary_sensor.SeatBinarySensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-15 20:15:10 WARNING (MainThread) [homeassistant.helpers.entity] Entity binary_sensor.ibiza_door_closed_right_back (<class 'custom_components.seatconnect.binary_sensor.SeatBinarySensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-15 20:15:10 WARNING (MainThread) [homeassistant.helpers.entity] Entity binary_sensor.ibiza_trunk_locked (<class 'custom_components.seatconnect.binary_sensor.SeatBinarySensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-15 20:15:10 WARNING (MainThread) [homeassistant.helpers.entity] Entity binary_sensor.ibiza_trunk_closed (<class 'custom_components.seatconnect.binary_sensor.SeatBinarySensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-15 20:15:10 WARNING (MainThread) [homeassistant.helpers.entity] Entity binary_sensor.ibiza_hood_closed (<class 'custom_components.seatconnect.binary_sensor.SeatBinarySensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-15 20:15:10 WARNING (MainThread) [homeassistant.helpers.entity] Entity binary_sensor.ibiza_windows_closed (<class 'custom_components.seatconnect.binary_sensor.SeatBinarySensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-15 20:15:10 WARNING (MainThread) [homeassistant.helpers.entity] Entity binary_sensor.ibiza_window_closed_left_front (<class 'custom_components.seatconnect.binary_sensor.SeatBinarySensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-15 20:15:10 WARNING (MainThread) [homeassistant.helpers.entity] Entity binary_sensor.ibiza_window_closed_left_back (<class 'custom_components.seatconnect.binary_sensor.SeatBinarySensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-15 20:15:10 WARNING (MainThread) [homeassistant.helpers.entity] Entity binary_sensor.ibiza_window_closed_right_front (<class 'custom_components.seatconnect.binary_sensor.SeatBinarySensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-15 20:15:10 WARNING (MainThread) [homeassistant.helpers.entity] Entity binary_sensor.ibiza_window_closed_right_back (<class 'custom_components.seatconnect.binary_sensor.SeatBinarySensor'>) implements device_state_attributes. Please report it to the custom component author.

Regards

Farfar commented 2 years ago

Yes I will fix this in upcoming release, right now it's only an eyesore though and I don't have much time for this at the moment.