StyraHem / ShellyForHASS

Shelly smart home platform for Home Assistant
MIT License
616 stars 111 forks source link

[BUG] #685

Open hagak opened 2 years ago

hagak commented 2 years ago

Environment

Describe the bug

See this warning for all temperature sensors: Temperature sensor sensor.front_door_device_temp (<class 'custom_components.shelly.sensor.ShellyInfoSensor'>) does not inherit SensorEntity, this will be unsupported in Home Assistant Core 2022.7.Please report it to the custom component author.

Steps to Reproduce

Just start up with any shelly sensor that reports temperature

Expected behavior

No warning and move class over to inherit from SensorEntity

Screenshots

Traceback/Error logs

Additional context

bcutter commented 1 year ago

@hagak

Do you see this for temperature sensors (physical shelly temperature sensors) or temperature entities (like for certain shelly devices like plugs)?