Mark example as JSON
This commit is contained in:
parent
0f665e4886
commit
7ba873a03e
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ sensor:
|
||||||
|
|
||||||
If you are using a DHT sensor and a NodeMCU board (esp8266), you can retrieve temperature and humidity with a MQTT sensor. A code example can be found [here](https://github.com/mertenats/open-home-automation/tree/master/ha_mqtt_sensor_dht22). A regular MQTT message from this example looks like this:
|
If you are using a DHT sensor and a NodeMCU board (esp8266), you can retrieve temperature and humidity with a MQTT sensor. A code example can be found [here](https://github.com/mertenats/open-home-automation/tree/master/ha_mqtt_sensor_dht22). A regular MQTT message from this example looks like this:
|
||||||
|
|
||||||
```
|
```json
|
||||||
office/sensor1
|
office/sensor1
|
||||||
{
|
{
|
||||||
"temperature": 23.20,
|
"temperature": 23.20,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue