peternijssen / home-assistant-jumbo

:convenience_store: Integrate Jumbo.com in Home Assistant
MIT License
7 stars 4 forks source link

device_state_attributes Depreciated #11

Open TheRedBull205 opened 2 years ago

TheRedBull205 commented 2 years ago

Entity sensor.jumbo_delivery_time_slots (<class 'custom_components.jumbo.sensor.DeliveryTimeSlotSensor'>) implements device_state_attributes. Please report it to the custom component author. Entity sensor.jumbo_pick_up (<class 'custom_components.jumbo.sensor.PickUpSensor'>) implements device_state_attributes. Please report it to the custom component author. Entity sensor.jumbo_pick_up_time_slots (<class 'custom_components.jumbo.sensor.PickUpTimeSlotSensor'>) implements device_state_attributes. Please report it to the custom component author. Entity sensor.jumbo_basket (<class 'custom_components.jumbo.sensor.BasketSensor'>) implements device_state_attributes. Please report it to the custom component author.

In [config folder]\custom_components/jumbo/sensor.py replace all device_state_attributes with extra_state_attributes

TheRedBull205 commented 2 years ago

Added Pull #12 to fix this issue