mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	| @@ -491,7 +491,7 @@ sensor: | ||||
|       - mqtt.publish_json: | ||||
|           topic: the/topic | ||||
|           payload: |- | ||||
|             root["key"] = id(the_sensor).value; | ||||
|             root["key"] = id(the_sensor).state; | ||||
|             root["greeting"] = "Hello World"; | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user