Example MQTT.yaml
#The Order Doesn't Mater, just make sure the indents are correct
vacuum:
- name: "Eva 2"
schema: state
supported_features:
- start
- pause
- stop
- return_home
- battery
- status
- locate
- clean_spot
- send_command
fan_speed_list:
- min
- medium
- high
- max
set_fan_speed_topic: "vacuum/set_fan_speed"
command_topic: "vacuum/eva2/command"
state_topic: "vacuum/eva2/state"
send_command_topic: "vacuum/eva2/send_command"
binary_sensor:
##ESPresense Sensors
- name: room_living_room
state_topic: "espresense/rooms/livingroom/status"
json_attributes_topic: "espresense/rooms/livingroom/telemetry"
payload_on: "online"
payload_off: "offline"
device_class: connectivity
- name: room_bedroom
state_topic: "espresense/rooms/bedroom/status"
json_attributes_topic: "espresense/rooms/bedroom/telemetry"
payload_on: "online"
payload_off: "offline"
device_class: connectivity
- name: room_office
state_topic: "espresense/rooms/office/status"
json_attributes_topic: "espresense/rooms/office/telemetry"
payload_on: "online"
payload_off: "offline"
device_class: connectivity
- name: room_garage
state_topic: "espresense/rooms/garage/status"
json_attributes_topic: "espresense/rooms/garage/telemetry"
payload_on: "online"
payload_off: "offline"
device_class: connectivity
sensor:
- state_topic: "homeassistant/sensor/log_onenote/url"
name: "Daily Log Onenote URL"
qos: 0
- state_topic: "homeassistant/sensor/log_notion/url"
name: "Daily Log Notion URL"
qos: 0
- state_topic: "homeassistant/binary_sensor/log_notion/complete"
name: "Daily Log Notion Complete"
qos: 0
- state_topic: "homeassistant/binary_sensor/log_onenote/complete"
name: "Daily Log OneNote Complete"
qos: 0
##METERMON
##GAS METER
- state_topic: "metermon/xxxxxxxx"
name: "Gas Meter Reading"
qos: 0
value_template: "{{ value_json.Consumption }}"
unit_of_measurement: ft^3
device_class: "gas"
#WATER METER
- state_topic: "metermon/xxxxxxxxxx"
name: "Water Meter Reading"
qos: 0
value_template: "{{ value_json.Consumption }}"
unit_of_measurement: gal
- state_topic: "torque/volvo/lon"
name: "Volvo Longitude"
qos: 0
- state_topic: "torque/volvo/lat"
name: "Volvo Latitude"
qos: 0
- state_topic: "torque/volvo/fuel_level"
name: "Volvo Fuel Level"
unit_of_measurement: "%"
qos: 0
- state_topic: "torque/volvo/mpg"
name: "Volvo Trip MPG"
unit_of_measurement: "mpg"
qos: 0
- state_topic: "torque/volvo/trip_dist"
name: "Volvo Trip Distance"
unit_of_measurement: "miles"
qos: 0
- state_topic: "torque/volvo/trip_cost"
name: "Volvo Trip Cost"
unit_of_measurement: "$"
qos: 0