Files
esphome/devices/dimmer_serial_no.yaml
2024-05-22 09:59:52 +02:00

9 lines
233 B
YAML

- platform: template
name: 'Serial No.'
lambda: |-
std::string mac = get_mac_address();
return "dim" + mac.erase(0, mac.length()/2);
icon: mdi:expansion-card-variant
entity_category: diagnostic
update_interval: 10m