Skip to content

Commit 2d52281

Browse files
authored
Update home_assistant_add_sensor.txt
update based on latest MQTT topics definition
1 parent 14cf6c0 commit 2d52281

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/home_assistant_add_sensor.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Example configuration.yaml entry
2-
2+
## example of one additional sensor. check MQTT Explorer to find out full list of sensors and respective topics
33
## on top of autodiscovered sensors any parameter present in JSON file can be added like below
44

55
mqtt:
66
sensor:
77
- name: pytes_uptime
8-
state_topic: "homeassistant/sensor/pytes/state"
9-
value_template: '{{ value_json.serial_stat.uptime }}'
8+
state_topic: "pytes_serial/pytes/serial_stat"
9+
value_template: '{{ value_json.uptime}}'
1010
unit_of_measurement: ''

0 commit comments

Comments
 (0)