Files
homeassistant/packages/sensor/openmqttgateway.yaml
dfcarvajal 5550749c67 Add openmqttgateway
sensor & binary_sensor
2019-06-22 17:07:43 +00:00

17 lines
423 B
YAML

sensor:
- platform: mqtt
name: "Wifi OpenGateway ESP32"
state_topic: "home/OpenMQTTGateway/SYStoMQTT"
unit_of_measurement: 'dB'
value_template: "{{ value_json.rssi}}"
availability_topic: "home/OpenMQTTGateway/LWT"
payload_available: "Online"
payload_not_available: "Offline"
icon: "mdi:wifi"
json_attributes:
- version
- uptime
- freeMem
- SSID
- modules