mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Merge branch 'proxy_uuids_services' into integration
This commit is contained in:
		| @@ -65,6 +65,8 @@ FINAL_VALIDATE_SCHEMA = esp32_ble.validate_variant | |||||||
|  |  | ||||||
|  |  | ||||||
| async def to_code(config): | async def to_code(config): | ||||||
|  |     cg.add_define("USE_ESP32_BLE_UUID") | ||||||
|  |  | ||||||
|     uuid = config[CONF_UUID].hex |     uuid = config[CONF_UUID].hex | ||||||
|     uuid_arr = [ |     uuid_arr = [ | ||||||
|         cg.RawExpression(f"0x{uuid[i : i + 2]}") for i in range(0, len(uuid), 2) |         cg.RawExpression(f"0x{uuid[i : i + 2]}") for i in range(0, len(uuid), 2) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user