Template Helper: Binary Sensor - Cannot unset device class, bad values for power

Hi, i just created a binary sensor from a switch and encountered two glitches:

  • If you change the sensors device class after creation (show as), you cannot unset the device class afterwards (or set it to none)
  • If you set the the device class to power, its state is displayed as detected/clear instead of on/off

Is this a known issue? I just worked around by manually recreating helpers