Is there any way to change a light entity to show up as a switch entity, or disable the dimmer capability on a particular entity?
For context: I have a zwave dimmer that I’ve configured via attributes to function as a simple on/off switch (dimmer is disabled; minimum brightness is same as max).
The “problem” is HA is showing this as a light entity, and the dimmer control is coming through. This is confusing for the family because in HomeKit it shows a dimmer control, which suggests the light can be adjusted…but it can’t.
I’ve been trying to see if there is any way to change the entity type. In the documentation I saw something similar to this:
switch:
- platform: light
name: Kitchen Lights - Front
entity_id: light.z_wave_dimmer_switch_1
- platform: light
name: Kitchen Lights - Central
entity_id: light.z_wave_dimmer_switch_2
But the configuration check failed with this error:
Platform error switch.light - No module named ‘homeassistant.components.light.switch’
Platform error switch.light - No module named ‘homeassistant.components.light.switch’
I’m assuming I misunderstood the instructions and maybe can’t switch types this way? Any thoughts?