djtimca / HASpaceX

Home Assistant integration for SpaceX Next Launch and Starman data.
https://github.com/djtimca/HASpaceX
Apache License 2.0
32 stars 5 forks source link

Entities implementing deprecated attributes #35

Closed ZephireNZ closed 2 years ago

ZephireNZ commented 2 years ago

These logs are appearing as of 2021.12.0b0.

2021-12-06 21:52:35 WARNING (MainThread) [homeassistant.helpers.entity] Entity binary_sensor.next_launch_confirmed (<class 'custom_components.spacex.binary_sensor.SpaceXBinarySensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-06 21:52:35 WARNING (MainThread) [homeassistant.helpers.entity] Entity binary_sensor.launch_within_24_hours (<class 'custom_components.spacex.binary_sensor.SpaceXBinarySensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-06 21:52:35 WARNING (MainThread) [homeassistant.helpers.entity] Entity binary_sensor.launch_within_20_minutes (<class 'custom_components.spacex.binary_sensor.SpaceXBinarySensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-06 21:52:35 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.next_launch_mission (<class 'custom_components.spacex.sensor.SpaceXSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-06 21:52:35 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.next_launch_day (<class 'custom_components.spacex.sensor.SpaceXSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-06 21:52:35 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.next_launch_time (<class 'custom_components.spacex.sensor.SpaceXSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-06 21:52:35 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.next_launch_countdown (<class 'custom_components.spacex.sensor.SpaceXSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-06 21:52:35 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.next_launch_site (<class 'custom_components.spacex.sensor.SpaceXSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-06 21:52:35 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.next_launch_rocket (<class 'custom_components.spacex.sensor.SpaceXSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-06 21:52:35 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.next_launch_payload (<class 'custom_components.spacex.sensor.SpaceXSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-06 21:52:35 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.next_confirmed_launch_day (<class 'custom_components.spacex.sensor.SpaceXSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-06 21:52:35 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.next_confirmed_launch_time (<class 'custom_components.spacex.sensor.SpaceXSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-06 21:52:35 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.latest_launch_mission (<class 'custom_components.spacex.sensor.SpaceXSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-06 21:52:35 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.latest_launch_day (<class 'custom_components.spacex.sensor.SpaceXSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-06 21:52:35 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.latest_launch_time (<class 'custom_components.spacex.sensor.SpaceXSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-06 21:52:35 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.latest_launch_site (<class 'custom_components.spacex.sensor.SpaceXSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-06 21:52:35 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.latest_launch_rocket (<class 'custom_components.spacex.sensor.SpaceXSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-06 21:52:35 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.latest_launch_payload (<class 'custom_components.spacex.sensor.SpaceXSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-06 21:52:35 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.starman_speed (<class 'custom_components.spacex.sensor.SpaceXSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-06 21:52:35 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.starman_distance (<class 'custom_components.spacex.sensor.SpaceXSensor'>) implements device_state_attributes. Please report it to the custom component author.
ZephireNZ commented 2 years ago

Seems this might have been around for a while, see:

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

However devs have only just added a notification, and will be removed in 2022.4:

https://github.com/home-assistant/core/pull/59672

djtimca commented 2 years ago

Will be fixed in today's release.