Different device type for Hue device

I recently bought a philips hue gateway, and an Osram Lightify Plug, which I can control in home-assistnat just fine, there is just one minor cosmetical thing. The Osram Plug shows up as a “light” device in home-assistant. Is there any way I can override it into a “switch”? I have a small heater plugged into it and would love to change it from a “light” to something else.
I didn’t find anything related to customizing device type, but maybe I just overlooked it somewhere :slight_smile:

Hi,

i had the same “problem” with my Osram Lightify smart plug.
It worked fine with the lightify gateway, but the plug was shown as a “light”.
The function was not affected, but it was not nice to see all the “light-properties” in the more-info view.

I managed to change it to a “switch” with the template switch feature (https://home-assistant.io/components/switch.template/).

 switch:
- platform: template
  switches:
    lightify_workarround_plug_01:
      value_template: "{{ states('light.plug_01') }}"
      turn_on:
      - service: light.turn_on
        data:
          entity_id: light.plug_01
      turn_off:
      - service: light.turn_off
        data:
          entity_id: light.plug_01

Hope, that helps anyone.

Kind regards

3 Likes