diff --git a/custom_components/petkit/__init__.py b/custom_components/petkit/__init__.py index 37a908a..0a942e1 100644 --- a/custom_components/petkit/__init__.py +++ b/custom_components/petkit/__init__.py @@ -712,6 +712,8 @@ async def update_device_detail(self): pms = { 'deviceId': self.device_id, } + if self.device_type == 't4': + pms['date'] = datetime.datetime.today().strftime('%Y%m%d') rsp = None try: rsp = await self.account.request(api, pms)