From ecf799b2c31415e201f51742ea9736ae4b441f63 Mon Sep 17 00:00:00 2001 From: Hristo Jelev Date: Tue, 28 Apr 2020 00:14:14 +0300 Subject: [PATCH] formatting --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 96955be..81d1b6c 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ $ pip install paho-mqtt Copy rpi-cpu2mqtt.py and config.py.example to a folder of your choise (I am using ```/home/pi/scripts/``` ). -Rename config.py.example to config.py and populate the needed variables (MQTT host, user, password and main topic). +Rename ```config.py.example``` to ```config.py``` and populate the needed variables (MQTT host, user, password and main topic). Test the script. ```bash @@ -46,7 +46,7 @@ Create a cron entry like this (you might need to update the path in the cron ent Once you installed the script on your raspberry you need to create some sensors in home assistant. -This is the sensors configuration assuming your sensors are separated in sensors.yaml file. +This is the sensors configuration assuming your sensors are separated in ```sensors.yaml``` file. ```yaml - platform: mqtt state_topic: "masoko/rpi4/cpuload"