Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 101551

MQTT how to configure sensor, publish

$
0
0

@oldsap wrote:

i created a sensor in my sensor.yaml file like this:

platform: mqtt
state_topic: “maindoor/lastopened”
name: maindoorlastopened

i want sensor.maindoorlastopened to show the last time the door sensor was triggered using mqtt.publish. how do i go about doing it? thank you

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 101551

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>