Skip to content

Commit 7e0963f

Browse files
authored
replace device_state_attributes with extra_state_attributes (#26)
closes #25
1 parent 55cc4f5 commit 7e0963f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

custom_components/calendarific/sensor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def state(self):
102102
return self._state
103103

104104
@property
105-
def device_state_attributes(self):
105+
def extra_state_attributes(self):
106106
"""Return the state attributes."""
107107
return {
108108
ATTR_DATE: self._attr_date,

hacs.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"zip_release": true,
55
"filename": "calendarific.zip",
66
"domains": ["calendarific", "sensor"],
7-
"homeassistant": "0.109.0",
7+
"homeassistant": "2021.12.0",
88
"iot_class": "Cloud Polling"
99
}

0 commit comments

Comments
 (0)