mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Merge branch 'services_must_make_copy' into integration
This commit is contained in:
		| @@ -175,7 +175,7 @@ class CustomAPIDevice { | ||||
|       resp.data.emplace_back(); | ||||
|       auto &kv = resp.data.back(); | ||||
|       kv.set_key(StringRef(it.first)); | ||||
|       kv.set_value(StringRef(it.second)); | ||||
|       kv.value = it.second; | ||||
|     } | ||||
|     global_api_server->send_homeassistant_service_call(resp); | ||||
|   } | ||||
| @@ -218,7 +218,7 @@ class CustomAPIDevice { | ||||
|       resp.data.emplace_back(); | ||||
|       auto &kv = resp.data.back(); | ||||
|       kv.set_key(StringRef(it.first)); | ||||
|       kv.set_value(StringRef(it.second)); | ||||
|       kv.value = it.second; | ||||
|     } | ||||
|     global_api_server->send_homeassistant_service_call(resp); | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user