Change attribute key for Lutron cover to lutron_integration_id (#45114)

Currently, covers return "Lutron Integration ID" as a state attribute. This is inconsistent with the light, switch, and binary_sensor which return "lutron_integration_id".
This commit is contained in:
TimothyLeeAdams 2021-01-13 12:59:57 -05:00 committed by GitHub
parent 94417e3e14
commit 7872e6caf8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,4 +66,4 @@ class LutronCover(LutronDevice, CoverEntity):
@property
def device_state_attributes(self):
"""Return the state attributes."""
return {"Lutron Integration ID": self._lutron_device.id}
return {"lutron_integration_id": self._lutron_device.id}