# OpenHAB3 - Insteon Binding Documentation - broadcastOnOff Type in Things

**URL:** <https://community.openhab.org/t/openhab3-insteon-binding-documentation-broadcastonoff-type-in-things/123330>\
**Category:** Bindings\
**Tags:** insteon, openhab3\
**Created:** [June 7, 2021, 8:48pm UTC](https://community.openhab.org/t/openhab3-insteon-binding-documentation-broadcastonoff-type-in-things/123330 "2021-06-07T20:48:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Burzin\_Sumariwalla](https://community.openhab.org/user_avatar/community.openhab.org/burzin_sumariwalla/32/38850_2.png) [@Burzin\_Sumariwalla](https://community.openhab.org/u/Burzin_Sumariwalla)\
**Post date:** [June 7, 2021, 8:48pm UTC](https://community.openhab.org/t/openhab3-insteon-binding-documentation-broadcastonoff-type-in-things/123330/1 "2021-06-07T20:48:21Z")

</div>

**System Information**

```yaml
Hardware: Raspberry Pi 3 Model B version 1.2 (ARMv8, with 1GB RAM, and SSD)
OS: Raspbian GNU/Linux 10 (Buster)
Java Runtime Environment: 
	openjdk version "11.0.11" 2021-04-20 LTS
	OpenJDK Runtime Environment Zulu11.48+21-CA (build 11.0.11+9-LTS)
	OpenJDK Client VM Zulu11.48+21-CA (build 11.0.11+9-LTS, mixed mode)
openHAB version:
	openhab-distro : 3.0.2
	openhab-core : 3.0.2
	openhab-addons : 3.0.2
	karaf : 4.2.7

```

Hello openHAB Community,

I’d like to understand the usage of Type with regard to the broadcastOnOff channel. The documentation seems to contradict itself and I’d like to understand what I am missing.

Consider the listing of [Insteon - Bindings | openHAB](https://www.openhab.org/addons/bindings/insteon/#channels)

```yaml
channel type description
broadcastOnOff	Switch	Broadcast On/Off

```

Now consider [Insteon - Bindings | openHAB](https://www.openhab.org/addons/bindings/insteon/#direct-sending-of-group-broadcasts-triggering-scenes)

**.Things Example**

```yaml
Bridge insteon:network:home [port="/dev/ttyUSB0"] {
  Thing device AABBCC [address="AA.BB.CC", productKey="0x000045"] {
    Channels:
      Type broadcastOnOff : broadcastOnOff#2
  }
}

```

If the Channel Type for “broadcastOnOff” is a switch, shouldn’t the line under Channels read: “Type switch : broadcastOnOff#2”? Curiously, the version 2.5 documentation for [Insteon - Bindings | openHAB](https://v2.openhab.org/addons/bindings/insteon/#insteon-binding) shows the broadcastOnOff Channel Type as switch in the things example.

Regards,  
Burzin

---

<div class="post-metadata">

**Author:** ![ranielsen](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/c5a1d2/32.png) [@ranielsen](https://community.openhab.org/u/ranielsen)\
**Post date:** [June 7, 2021, 8:57pm UTC](https://community.openhab.org/t/openhab3-insteon-binding-documentation-broadcastonoff-type-in-things/123330/2 "2021-06-07T20:57:59Z")

</div>

The documentation for 2.5 was not correct. If you look [here](https://github.com/openhab/openhab-addons/blob/main/bundles/org.openhab.binding.insteon/src/main/resources/OH-INF/thing/thing-types.xml#L192), it shows the definition for channel type:

```auto
<channel-type id="broadcastOnOff">
	<item-type>Switch</item-type>
	<label>Broadcast On/Off</label>
	<config-description-ref uri="channel-type:insteon:switch"/>
</channel-type>

```

The item type for `broadcastOnOff` is `Switch`, as you have shown. If you really want, use `switch`, but label in the UI won’t be correct.

---

<div class="post-metadata">

**Author:** ![Burzin\_Sumariwalla](https://community.openhab.org/user_avatar/community.openhab.org/burzin_sumariwalla/32/38850_2.png) [@Burzin\_Sumariwalla](https://community.openhab.org/u/Burzin_Sumariwalla)\
**Post date:** [June 8, 2021, 12:20pm UTC](https://community.openhab.org/t/openhab3-insteon-binding-documentation-broadcastonoff-type-in-things/123330/3 "2021-06-08T12:20:50Z")

</div>

Thanks Rob. That helps and explains why switch worked as well.

---

<div class="post-metadata">

**Author:** ![ranielsen](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/c5a1d2/32.png) [@ranielsen](https://community.openhab.org/u/ranielsen)\
**Post date:** [June 8, 2021, 1:27pm UTC](https://community.openhab.org/t/openhab3-insteon-binding-documentation-broadcastonoff-type-in-things/123330/4 "2021-06-08T13:27:23Z")

</div>

This is all explained in the [documentation](https://www.openhab.org/docs/developer/bindings/thing-xml.html#state-channel-types).
