Take a look through the included example file. It provides all the samples you need:
@Juggler there’s nothing in there that announces the devices to the homeassistant mqtt autodiscovery topic (e.g. homeassistant/<component_type>/<unique_id>/config
). Do you have an example showing the config topic and message for each device?
fan.yaml
- platform: mqtt
name: "livingroom fanlinc fan"
command_topic: 'insteon/aa.bb.cc/fan/set'
state_topic: 'insteon/aa.bb.cc/fan/state'
percentage_command_topic: 'insteon/aa.bb.cc/fan/speed/set'
percentage_command_template: >
{% if value == 1 %}
low
{% elif value == 2 %}
medium
{% elif value == 3 %}
high
{% endif %}
percentage_state_topic: 'insteon/aa.bb.cc/fan/speed/state'
percentage_value_template: >
{% if value == 'low' %}
33
{% elif value == 'medium' %}
67
{% elif value == 'high' %}
100
{% else %}
0
{% endif %}
speed_range_min: 1
speed_range_max: 3
light.yaml
- platform: mqtt
schema: json
name: "bar pendant lights"
state_topic: "insteon/aa.bb.cc/state"
command_topic: "insteon/aa.bb.cc/level"
brightness: true
switch.yaml
- platform: mqtt
name: "basement bathroom pots"
state_topic: 'insteon/aa.bb.cc/state'
command_topic: 'insteon/aa.bb.cc/set'
value_template: "{{ value_json.state }}"
- platform: mqtt
name: "closet outlet top"
state_topic: 'insteon/aa.bb.cc/state/1'
command_topic: 'insteon/aa.bb.cc/set/1'
Looks like autodiscovery is coming soon! MQTT discovery automatic configuration · Issue #128 · TD22057/insteon-mqtt · GitHub
Is this MQTT better than integrated Insteon support?