mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Add optional lambda to BLESensor for raw data parsing (#1851)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
		| @@ -271,6 +271,9 @@ sensor: | ||||
|     descriptor_uuid: 'ffe2' | ||||
|     notify: true | ||||
|     update_interval: never | ||||
|     lambda: |- | ||||
|       ESP_LOGD("main", "Length of data is %i", x.size()); | ||||
|       return x[0]; | ||||
|     on_notify: | ||||
|       then: | ||||
|         - lambda: |- | ||||
|   | ||||
		Reference in New Issue
	
	Block a user