-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update home_assistant_add_sensor.txt
update based on latest MQTT topics definition
- Loading branch information
1 parent
14cf6c0
commit 2d52281
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# Example configuration.yaml entry | ||
|
||
## example of one additional sensor. check MQTT Explorer to find out full list of sensors and respective topics | ||
## on top of autodiscovered sensors any parameter present in JSON file can be added like below | ||
|
||
mqtt: | ||
sensor: | ||
- name: pytes_uptime | ||
state_topic: "homeassistant/sensor/pytes/state" | ||
value_template: '{{ value_json.serial_stat.uptime }}' | ||
state_topic: "pytes_serial/pytes/serial_stat" | ||
value_template: '{{ value_json.uptime}}' | ||
unit_of_measurement: '' |