Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Pulpyyyy opened this issue Dec 15, 2021 · 1 comment
Assignees

Comments

@Pulpyyyy
Copy link

Pulpyyyy commented Dec 15, 2021

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
Copy link
Owner

Farfar commented Jan 20, 2022

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.

@Farfar Farfar self-assigned this Feb 1, 2022
Farfar added a commit that referenced this issue Feb 1, 2022
@Farfar Farfar closed this as completed Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants