Skip to main content

Blue Series On/Off - Change Device Type in Home Assistant (Zigbee2MQTT)

Written by Eric Maycock

If you're using an Inovelli Blue Series On/Off Switch (VZM30-SN) to control an exhaust fan or other on/off fan, Zigbee2MQTT will normally expose the load in Home Assistant as a light.

You can override the Home Assistant discovery information in Zigbee2MQTT so that the load appears as a fan entity instead. This changes how the device is presented in Home Assistant; it does not change the operation of the switch itself.

Step 1: Find the IEEE Address

In Zigbee2MQTT, locate your VZM30-SN and find its IEEE address. It will look similar to:

0x12345678...

Step 2: Edit the Zigbee2MQTT Configuration

Open your Zigbee2MQTT configuration.yaml file and locate the devices: section.

Add the following configuration for your switch, replacing the example IEEE address and friendly name with those of your device:

devices:   
"0x12345678":
friendly_name: Bathroom Exhaust Fan Switch
homeassistant:
fan:
state_value_template: "{{ value_json.state }}"
light:
object_id: fan
type: fan

Important: If your configuration.yaml already contains a devices: section, do not add a second one. Add the configuration for the VZM30-SN underneath the existing devices: section.

Step 3: Restart Zigbee2MQTT

Save the configuration and restart Zigbee2MQTT.

When Zigbee2MQTT starts, it will publish updated MQTT discovery information to Home Assistant. The VZM30-SN's load should now be presented in Home Assistant as a fan rather than a light.

You do not need to re-pair the switch.

What Does This Change?

This configuration only changes how Zigbee2MQTT presents the VZM30-SN to Home Assistant through MQTT discovery. The physical switch and its Zigbee functionality continue to operate normally.

This can be useful when a VZM30-SN is being used for applications such as:

  • Bathroom exhaust fans

  • Ventilation fans

  • Other on/off fan loads

Zigbee2MQTT supports device-specific overrides of Home Assistant MQTT discovery properties, which is what this configuration uses to change the entity type.

Did this answer your question?