mirror of
https://github.com/esphome/esphome.git
synced 2025-10-14 07:43:48 +01:00
Add friendly_name to device (#4296)
This commit is contained in:
@@ -453,6 +453,8 @@ class EsphomeCore:
|
||||
self.ace = False
|
||||
# The name of the node
|
||||
self.name: Optional[str] = None
|
||||
# The friendly name of the node
|
||||
self.friendly_name: Optional[str] = None
|
||||
# Additional data components can store temporary data in
|
||||
# The first key to this dict should always be the integration name
|
||||
self.data = {}
|
||||
@@ -492,6 +494,7 @@ class EsphomeCore:
|
||||
def reset(self):
|
||||
self.dashboard = False
|
||||
self.name = None
|
||||
self.friendly_name = None
|
||||
self.data = {}
|
||||
self.config_path = None
|
||||
self.build_path = None
|
||||
|
Reference in New Issue
Block a user