DevelopmentalOctopus / ha-buttplug

Buttplug.io Integration for Home Assistant
10 stars 2 forks source link

Update NumberEntity to use native values #3

Open geekytwink opened 1 year ago

geekytwink commented 1 year ago

Following the instructions to support unit conversions: https://developers.home-assistant.io/blog/2022/06/14/number_entity_refactoring/

After making this change in my local copy, Home Assistant no longer shows the value as Unknown, and setting the value through a Lovelace dashboard works.