Merge branch 'master' into dev

This commit is contained in:
Yordan Suarez
2022-07-21 20:46:49 -04:00
12 changed files with 975 additions and 29 deletions

View File

@@ -30,16 +30,17 @@ class FplEntity(CoordinatorEntity, SensorEntity):
DOMAIN, self.account, self.sensorName.lower().replace(" ", "")
)
@property
def name(self):
return f"{DOMAIN.upper()} {self.account} {self.sensorName}"
@property
def device_info(self):
return {
"identifiers": {(DOMAIN, self.account)},
"name": f"FPL Account {self.account}",
<<<<<<< HEAD:custom_components/fpl1/fplEntity.py
"model": VERSION,
=======
"model": "FPL Monitoring API",
"sw_version": VERSION,
>>>>>>> master:custom_components/fpl/fplEntity.py
"manufacturer": "Florida Power & Light",
}