Cant get the log to function any more :(
Hi
I tried about almost evrything now and nothing seems to have any effect. Im a new to Home Assistant and all this so bear with me...
Until recently evrything was working perfecty with my Sonoff throuh this intergration and i could follew the temprature, humidity, current etc etc the last 12 hours when i pressed the enitity. I have replaced my rpi3 with a new rpi4 and changed back the HASS on this new one. But since then i can call the log files everything else is working like a charm but when i press them i no longer get the past 12 hours i only get the loading icon:

I have tried everything, deleting the integration and installing it several times. also the enitire HACS have been deleted and installed again.
Any help would be higly appreciatied!! :)
2020-10-04 20:26:26 DEBUG main SysInfo: {'version': '0.115.6', 'dev': False, 'hassio': True, 'virtualenv': False, 'python_version': '3.8.5', 'docker': True, 'arch': 'armv7l', 'os_name': 'Linux', 'os_version': '4.19.127-v7l', 'supervisor': '245', 'host_os': 'HassOS 4.13', 'chassis': 'embedded', 'docker_version': '19.03.11'}
2020-10-04 20:26:26 DEBUG main AUTO mode start
2020-10-04 20:26:29 DEBUG sonoff_cloud 2 devices loaded from the Cloud Server
2020-10-04 20:26:39 DEBUG main Init force_update for attributes: {'temperature', 'power'}
2020-10-04 20:26:39 DEBUG main Init auto sensors for: ['temperature', 'humidity', 'power', 'current', 'voltage']
2020-10-04 20:26:39 DEBUG main 1000ae8dba == Init | {'uiid': 32, 'extra': {'manufacturer': 'SONOFF', 'model': 'POW', 'sw_version': 'PSC-B67-GL v3.5.0'}, 'params': {'version': 8, 'sledOnline': 'on', 'fwVersion': '3.5.0', 'staMac': '...', 'rssi': -84, 'init': 1, 'alarmType': 'pcv', 'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 500, 'power': '609.31', 'voltage': '229.44', 'current': '2.80', 'oneKwh': 'stop', 'uiActive': 7200, 'timeZone': 2, 'hundredDaysKwh': 'get', 'bindInfos': {'scene': 1}, 'endTime': '2020-08-17T19:55:16.320Z', 'startTime': '2020-08-17T19:55:11.879Z', 'timers': [{'mId': '...', 'type': 'repeat', 'at': '0 10 * * 0,1,2,3,4,5,6', 'coolkit_timer_type': 'repeat', 'enabled': 1, 'do': {'switch': 'off'}}, {'mId': '...', 'type': 'repeat', 'at': '0 16 * * 0,1,2,3,4,5,6', 'coolkit_timer_type': 'repeat', 'enabled': 1, 'do': {'switch': 'on'}}], 'only_device': {'ota': 'success'}, 'ssid': 'Von Hoejborg', 'bssid': '...', 'cloud': 'online'}}
2020-10-04 20:26:39 DEBUG main 1000cf639b == Init | {'uiid': 15, 'extra': {'manufacturer': 'SONOFF', 'model': 'TH16', 'sw_version': 'PSA-BHA-GL v3.4.1'}, 'params': {'version': 8, 'sledOnline': 'on', 'init': 1, 'switch': 'on', 'fwVersion': '3.4.1', 'rssi': -68, 'staMac': '...', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 500, 'sensorType': 'AM2301', 'currentHumidity': '45', 'currentTemperature': '26.8', 'mainSwitch': 'on', 'deviceType': 'normal', 'bindInfos': {'scene': 1}, 'targets': [{'targetHigh': '25.0', 'reaction': {'switch': 'on'}}, {'targetLow': '20.0', 'reaction': {'switch': 'off'}}], 'timers': [{'mId': '...', 'type': 'repeat', 'at': '0 10 * * 0,1,2,3,4,5,6', 'coolkit_timer_type': 'repeat', 'enabled': 1, 'do': {'switch': 'off', 'mainSwitch': 'off'}}, {'mId': '...', 'type': 'repeat', 'at': '0 16 * * 0,1,2,3,4,5,6', 'coolkit_timer_type': 'repeat', 'enabled': 1, 'do': {'switch': 'on', 'mainSwitch': 'on'}}], 'cloud': 'online'}}
2020-10-04 20:26:39 DEBUG sonoff_cloud Start refresh task for 1 POW
2020-10-04 20:26:39 DEBUG sonoff_local 1000cf639b <= Local1 | {'mainSwitch': 'on', 'deviceType': 'normal', 'targets': [{'targetHigh': 25, 'reaction': {'switch': 'on'}}, {'targetLow': 20, 'reaction': {'switch': 'off'}}], 'switch': 'on', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'sensorType': 'AM2301', 'humidity': 44, 'temperature': 27.34} | 56
2020-10-04 20:26:39 DEBUG sonoff_local 1000ae8dba <= Local1 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'power': 609.29, 'voltage': 229.44, 'current': 2.8, 'ssid': 'Von Hoejborg', 'bssid': '...'} | 617
2020-10-04 20:26:39 DEBUG sonoff_cloud Cloud init: {'error': 0, 'apikey': '...', 'config': {'hb': 1, 'hbInterval': 145}, 'sequence': '1601835999946'}
Hi, i had this issues last week but it turn out that i exclude it in my recorder. You might want to check yours. For more information please refer link below.
https://www.home-assistant.io/integrations/recorder/
Maybe some problems with database. Stop HA, remove DB and run HA again.