mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Add device class support to Switch (#3012)
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
This commit is contained in:
		| @@ -2037,6 +2037,10 @@ switch: | ||||
|   - platform: template | ||||
|     id: ble1_status | ||||
|     optimistic: true | ||||
|   - platform: template | ||||
|     id: outlet_switch | ||||
|     optimistic: true | ||||
|     device_class: outlet | ||||
|  | ||||
| fan: | ||||
|   - platform: binary | ||||
|   | ||||
		Reference in New Issue
	
	Block a user