mirror of
https://github.com/boneIO-eu/esphome.git
synced 2026-04-10 20:50:02 +02:00
10 lines
264 B
YAML
10 lines
264 B
YAML
text_sensor:
|
|
- 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: 10min
|