thecode / ha-rpi_gpio

Home Assistant Raspberry Pi GPIO Integration
Apache License 2.0
178 stars 39 forks source link

Device_class seems to be unsupported #239

Closed ripvega closed 6 months ago

ripvega commented 6 months ago

This is such a great add-on. Thank you for taking the time with it.

I tried to add device_class to the rpi binary_sensors and the yaml check threw up an error saying it is unsupported.

Is this something that can be added so that if the rpi gpio input is a door sensor, for example, it will show open/closed in the front end rather than on or off?

The device classes for binary_sensor.

github-actions[bot] commented 6 months ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!