mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-29 22:24:26 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			376 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			376 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| time:
 | |
|   - platform: host
 | |
|     id: esptime
 | |
|     timezone: Australia/Sydney
 | |
| 
 | |
| logger:
 | |
|   level: VERBOSE
 | |
| 
 | |
| host:
 | |
|   mac_address: "62:23:45:AF:B3:DD"
 | |
| 
 | |
| esphome:
 | |
|   on_boot:
 | |
|     - lambda: |-
 | |
|         static const uint8_t my_addr[6] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
 | |
|         if (!mac_address_is_valid(my_addr))
 | |
|           ESP_LOGD("test", "Invalid mac address %X", my_addr[0]); // etc.
 |