mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-25 02:07:15 +00:00
Mark example as JSON
This commit is contained in:
parent
0f665e4886
commit
7ba873a03e
@ -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…
x
Reference in New Issue
Block a user