mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	fix bl0906 reset energy action (#7488)
Co-authored-by: Samuel Sieb <samuel@sieb.net>
This commit is contained in:
		| @@ -8,6 +8,7 @@ uart: | ||||
|  | ||||
| sensor: | ||||
|   - platform: bl0906 | ||||
|     id: bl | ||||
|     frequency: | ||||
|       name: 'Frequency' | ||||
|     temperature: | ||||
| @@ -60,3 +61,9 @@ sensor: | ||||
|       name: 'Total_Energy' | ||||
|     total_power: | ||||
|       name: 'Total_Power' | ||||
|  | ||||
| button: | ||||
|   - platform: template | ||||
|     id: reset | ||||
|     on_press: | ||||
|       - bl0906.reset_energy: bl | ||||
|   | ||||
		Reference in New Issue
	
	Block a user