Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request Timeout or "Cloud ERROR 504" for POW devices #1563

Open
AlexxIT opened this issue Jan 13, 2025 · 32 comments
Open

Request Timeout or "Cloud ERROR 504" for POW devices #1563

AlexxIT opened this issue Jan 13, 2025 · 32 comments
Assignees
Labels
bug Something isn't working

Comments

@AlexxIT
Copy link
Owner

AlexxIT commented Jan 13, 2025

It has been noticed that some POW devices switch off after being queried for current power values.

In the debug logs it looks like this:

2025-01-13 20:22:52.669 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1002244e00 => Cloud4 | {'uiActive': 60} | 1736788972668
2025-01-13 20:22:57.923 WARNING (MainThread) [custom_components.sonoff.core.ewelink.cloud] Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': 'xxx', 'apikey': '1002244e00', 'sequence': '1736788972668'}
2025-01-13 20:23:02.733 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1002244e00 <= Cloud3 | {'online': False} | None
2025-01-13 20:23:24.034 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1002244e00 <= Cloud3 | {'online': True} | None

At this point, the known model:

  • UIID 0226, fwVersion 1.0.0, CK-BL602-W102SW18-01

Please let me know if your POW devices have a similar problem.
Be sure to attach the UIID of your model (or device diagnostics). And debug logs that illustrate the problem.
Posts without details will be ignored. Posts not about POW devices will be deleted.

Maybe something is broken in cloud updates or firmware updates for your devices. And these requests need to be disabled.
Unfortunately, you'll lose the actual power data, but at least your devices will still work.

PS. Unfortunately I don't use POW devices at all. I can't find the problem myself.

@vegos
Copy link

vegos commented Jan 13, 2025

Device ID: 1001d4cc4c
Model: POWR320D
Firmware: 1.1.1

The moment I enabled energy, it shut down.

Logger: custom_components.sonoff.core.ewelink.cloud
Source: custom_components/sonoff/core/ewelink/cloud.py:616
integration: Sonoff (documentation, issues)
First occurred: 19:48:46 (1 occurrences)
Last logged: 19:48:46
Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': '1001d4cc4c', 'apikey': '', 'sequence': '1736790515471'}

@AlexxIT
Copy link
Owner Author

AlexxIT commented Jan 13, 2025

Without debug logs, it's useless. It is necessary to understand after which request this error occurs.
I understand what you're saying about energy. But it's important to confirm that with logs.

And what about the device? Does it physically switch off? Or does it just become temporarily unavailable in the HA?

@vegos
Copy link

vegos commented Jan 13, 2025

It switch off. Like someone trigger it.
home-assistant_sonoff_2025-01-13T18-51-43.650Z.log

@driagi
Copy link

driagi commented Jan 13, 2025

Currently I solved it by deleting and reconnecting the device on the ewelink App and disabling the Energy entity. For now I prefer not to touch anything anymore. However I follow this issue carefully.

@vegos
Copy link

vegos commented Jan 13, 2025

Currently I solved it by deleting and reconnecting the device on the ewelink App and disabling the Energy entity. For now I prefer not to touch anything anymore. However I follow this issue carefully.

That was the first thing I did, but the problem reapears after 12? hours...
The only solution is that you mention, to disable energy entity.

@driagi
Copy link

driagi commented Jan 13, 2025

Currently I solved it by deleting and reconnecting the device on the ewelink App and disabling the Energy entity. For now I prefer not to touch anything anymore. However I follow this issue carefully.

That was the first thing I did, but the problem reapears after 12? hours... The only solution is that you mention, to disable energy entity.

I had deleted the energy entity, but the problem persisted. When I deleted the device on the ewelink App and reconnected it started working. It has been working regularly for 48 hours now.

@vegos
Copy link

vegos commented Jan 13, 2025

I had deleted the energy entity, but the problem persisted. When I deleted it on the ewelink App and reconnected it started working. It has been working regularly for 48 hours now.

Right now I have only disable the sensor on device, nothing else and it had stopped.
The moment I enabled it, it shut downs.

image

@driagi
Copy link

driagi commented Jan 13, 2025

@vegos In my case it kept deactivating until I disconnected and reconnected on the App. The strange thing is that I have been using it for 3 years without problems and in these days I have not done any updates (not even the device's fw)

@vegos
Copy link

vegos commented Jan 13, 2025

@vegos In my case it kept deactivating until I disconnected and reconnected on the App. The strange thing is that I have been using it for 3 years without problems and in these days I have not done any updates (not even the device's fw)

Yeap, me too. It was working fine...

@AlexxIT
Copy link
Owner Author

AlexxIT commented Jan 14, 2025

So it can be cloud problem. If nothing other have been changed.

@driagi
Copy link

driagi commented Jan 14, 2025

So it can be cloud problem. If nothing other have been changed.

After reconnecting, the only thing done was to deactivate the energy entities, but it might have been useless. Honestly, I don't have the courage to reactivate the entities. 😅

Yes, it could also be just a Cloud problem. However, on the sonoff pages, no one has complained

@exSnake
Copy link

exSnake commented Jan 14, 2025

The problem with my appears exactly every 5 days. At the moment, have an automation let HA turn it back on because I have been trying understand what is happening for months also i'm too lazy to replace it (Sonoff just sent me a new one after weeks of troubleshooting they said that was related to the integration making too many requests)

Device: 100179eb80
UIID: 190
FW: 1.1.1

It just happened. On Sunday, I will try to enable debug to see what we get there This is the diagnostic.

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2024.10.3",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.12.4",
    "docker": true,
    "arch": "aarch64",
    "timezone": "Europe/Rome",
    "os_name": "Linux",
    "os_version": "6.6.62-haos-raspi",
    "supervisor": "2024.12.3",
    "host_os": "Home Assistant OS 14.1",
    "docker_version": "27.2.0",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "hacs": {
      "documentation": "https://hacs.xyz/docs/configuration/start",
      "version": "2.0.1",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "sonoff": {
      "documentation": "https://github.com/AlexxIT/SonoffLAN",
      "version": "3.8.1",
      "requirements": [
        "pycryptodome>=3.6.6"
      ]
    }
  },
  "integration_manifest": {
    "domain": "sonoff",
    "name": "Sonoff",
    "codeowners": [
      "AlexxIT"
    ],
    "config_flow": true,
    "dependencies": [
      "http",
      "zeroconf"
    ],
    "documentation": "https://github.com/AlexxIT/SonoffLAN",
    "iot_class": "local_push",
    "issue_tracker": "/api/sonoff/7e7aeb65-8ba6-4611-aa82-c4857bdb6f2b",
    "requirements": [
      "pycryptodome>=3.6.6"
    ],
    "version": "3.8.1",
    "is_built_in": false
  },
  "setup_times": {
    "null": {
      "setup": 0.0004439410040504299
    },
    "01JGMYDCVD0G55S6QHFHWEQAZE": {
      "wait_import_platforms": -0.0002904049979406409,
      "wait_base_component": -4.7589430259977235,
      "config_entry_setup": 5.932352008007001
    }
  },
  "data": {
    "version": "ffa7e22",
    "cloud_auth": true,
    "config": null,
    "options": {
      "mode": "auto",
      "debug": true
    },
    "errors": [
      {
        "name": "custom_components.sonoff.core.ewelink.cloud",
        "message": [
          "Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': 'xxx', 'apikey': 'xxx', 'sequence': '1736859748852'}",
          "Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': 'xxx', 'apikey': 'xxx', 'sequence': '1736860138868'}",
          "Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': 'xxx', 'apikey': 'xxx', 'sequence': '1736871301897'}",
          "Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': 'xxx', 'apikey': 'xxx', 'sequence': '1736876612315'}",
          "Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': 'xxx', 'apikey': 'xxx', 'sequence': '1736893022887'}"
        ],
        "level": "WARNING",
        "source": [
          "custom_components/sonoff/core/ewelink/cloud.py",
          616
        ],
        "timestamp": 1736893027.9040115,
        "exception": "",
        "count": 6,
        "first_occurred": 1736859633.864911
      }
    ],
    "devices": {
      "xxx": {
        "uiid": 190,
        "params": {
          "bindInfos": "***",
          "version": 8,
          "demNextFetchTime": 1736892000000,
          "ssid": "***",
          "bssid": "***",
          "fwVersion": "1.1.1",
          "switches": [
            {
              "switch": "on",
              "outlet": 0
            }
          ],
          "configure": [
            {
              "startup": "off",
              "outlet": 0
            }
          ],
          "pulses": [
            {
              "pulse": "off",
              "switch": "off",
              "outlet": 0,
              "width": 500
            }
          ],
          "sledOnline": "on",
          "staMac": "***",
          "rssi": -67,
          "threshold": {
            "actPow": {
              "min": 10,
              "max": 500000
            },
            "voltage": {
              "min": 16500,
              "max": 27700
            },
            "current": {
              "min": 10,
              "max": 2100
            }
          },
          "overload_00": {
            "minAP": {
              "en": 0,
              "val": 10
            },
            "maxAP": {
              "en": 1,
              "val": 500000
            },
            "minV": {
              "en": 0,
              "val": 16500
            },
            "maxV": {
              "en": 0,
              "val": 27700
            },
            "maxC": {
              "en": 1,
              "val": 2100
            },
            "minC": {
              "en": 0,
              "val": 10
            }
          },
          "current": 332,
          "voltage": 22249,
          "power": 60202,
          "uiActive": 60,
          "timeZone": 2,
          "dayKwh": 592,
          "monthKwh": 5056,
          "getHoursKwh": {
            "start": 0,
            "end": 743
          },
          "operSide": 1,
          "devPushType": 2
        },
        "model": "POWR320D",
        "online": true,
        "local": null,
        "localtype": null,
        "host": null
      }
    }
  }
}

@AlexxIT
Copy link
Owner Author

AlexxIT commented Jan 15, 2025

No one ever sends in the debug logs. Without them, the search for the problem is meaningless.

@vegos
Copy link

vegos commented Jan 15, 2025

No one ever sends in the debug logs. Without them, the search for the problem is meaningless.

I have send them already.

@exSnake
Copy link

exSnake commented Jan 15, 2025

No one ever sends in the debug logs. Without them, the search for the problem is meaningless.

On Sunday, when the problem occurs again, I will post the debug logs. I thought debugging was enabled, but when I checked the extension page, it was not.

@AlexxIT
Copy link
Owner Author

AlexxIT commented Jan 15, 2025

@vegos you right. My bad. Missed that. Thanks!

@AlexxIT
Copy link
Owner Author

AlexxIT commented Jan 16, 2025

@vegos Do you have custom settings for getting energy? By default, energy should be requested once per hour. In your logs it is requested every 1-2 minutes.

@vegos
Copy link

vegos commented Jan 16, 2025

@vegos Do you have custom settings for getting energy? By default, energy should be requested once per hour. In your logs it is requested every 1-2 minutes.

No, I don't. I just enabled the sensor on your integration.

Image

Nothing else is running.

@AlexxIT
Copy link
Owner Author

AlexxIT commented Jan 16, 2025

Maybe something changed in the cloud. It's definitely not supposed to work that way.
Unfortunately I don't have any devices with this sensor.
If anyone wants to share theirs, they can do so for [email protected] account.

@exSnake
Copy link

exSnake commented Jan 17, 2025

@AlexxIT have shared mine. According to my calculations, it will go offline tomorrow (Sunday 19th) at 23:15 UTC.

@FlexxFR
Copy link

FlexxFR commented Jan 19, 2025

Same issues with older POWR2.

100090c4da > is the POWR2 with issues. Suddenly stopped communicating, via APP it's still possible to turn off/on (sometimes?), no measuring values in app. No control in HA.

[edit]
I'm not sure if it's local or cloud. Now I have some values in HA again, all but energy, which appear to update again. However, in the app still nothing. I'm sure the switch is enabled (current IS flowing), but in the app it shows OFF (and no measuring values)

2025-01-19 15:59:52.481 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.local] 100090c4da => Local4 | 192.168.2.41:8081 | {'switch': 'off'} !! Timeout 1
2025-01-19 15:59:52.481 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 100090c4da => Cloud4 | {'switch': 'off'} | 1737298791480
2025-01-19 15:59:52.505 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 100090c4da <= Local3 | 192.168.2.41:8081 | {'switch': 'off', 'startup': 'off', 'pulse': 'off', 'sledOnline': 'on', 'fwVersion': '3.6.0', 'pulseWidth': 500, 'rssi': -57} | 1375
2025-01-19 15:59:52.524 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 100090c4da <= Cloud3 | {'switch': 'off'} | 1737298791480
2025-01-19 15:59:52.662 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 100090c4da => Cloud4 | 1737298792662
2025-01-19 15:59:52.686 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 100090c4da <= Cloud3 | {'version': 8, 'sledOnline': 'on', 'switch': 'off', 'fwVersion': '3.6.0', 'rssi': -57, 'staMac': 'C4:4F:33:B2:DD:51', 'startup': 'off', 'init': 1, 'pulse': 'off', 'pulseWidth': 500, 'swMode': 2, 'swCtrlReverse': 'off'} | 1737298792662
2025-01-19 15:59:53.878 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 100090c4da <= Local3 | 192.168.2.41:8081 | {'switch': 'off', 'startup': 'off', 'pulse': 'off', 'sledOnline': 'on', 'fwVersion': '3.6.0', 'pulseWidth': 500, 'rssi': -57} | 1376
2025-01-19 16:00:29.824 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] Can't decrypt message
Traceback (most recent call last):
  File "/config/custom_components/sonoff/core/ewelink/__init__.py", line 270, in local_update
    params = self.local.decrypt_msg(msg, device["devicekey"])
  File "/config/custom_components/sonoff/core/ewelink/local.py", line 288, in decrypt_msg
    return json.loads(data)
           ~~~~~~~~~~^^^^^^
  File "/usr/local/lib/python3.13/json/__init__.py", line 341, in loads
    s = s.decode(detect_encoding(s), 'surrogatepass')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x9a in position 1: invalid start byte
2025-01-19 16:01:54.657 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] Can't decrypt message
Traceback (most recent call last):
  File "/config/custom_components/sonoff/core/ewelink/__init__.py", line 270, in local_update
    params = self.local.decrypt_msg(msg, device["devicekey"])
  File "/config/custom_components/sonoff/core/ewelink/local.py", line 288, in decrypt_msg
    return json.loads(data)
           ~~~~~~~~~~^^^^^^
  File "/usr/local/lib/python3.13/json/__init__.py", line 341, in loads
    s = s.decode(detect_encoding(s), 'surrogatepass')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbc in position 129: invalid start byte
2025-01-19 16:02:05.207 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1000bda793 <= Local3 | 192.168.2.51:8081 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'off', 'startup': 'stay', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'power': 2169.52, 'voltage': 229.9, 'current': 9.59, 'ssid': 'WNET_2G_IOT', 'bssid': 'e2:63:da:35:dc:ab'} | 31
2025-01-19 16:02:05.240 WARNING (MainThread) [homeassistant.components.utility_meter.sensor] Daily Energy CarCharge received an invalid new state from sensor.smartplug_carcharge_energy : unknown
2025-01-19 16:02:09.650 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] Can't decrypt message
Traceback (most recent call last):
  File "/config/custom_components/sonoff/core/ewelink/__init__.py", line 270, in local_update
    params = self.local.decrypt_msg(msg, device["devicekey"])
  File "/config/custom_components/sonoff/core/ewelink/local.py", line 288, in decrypt_msg
    return json.loads(data)
           ~~~~~~~~~~^^^^^^
  File "/usr/local/lib/python3.13/json/__init__.py", line 341, in loads
    s = s.decode(detect_encoding(s), 'surrogatepass')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf2 in position 115: invalid continuation byte
2025-01-19 16:02:54.978 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection] 
2025-01-19 16:03:12.322 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 100090c4da <= Local3 | 192.168.2.41:8081 | {'switch': 'off', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 500, 'rssi': -58} | 1377
2025-01-19 16:03:12.997 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 100090c4da <= Cloud3 | {'online': True} | None
2025-01-19 16:03:15.276 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 100090c4da <= Cloud3 | {'sledOnline': 'on'} | None
2025-01-19 16:03:15.318 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 100090c4da <= Cloud3 | {'switch': 'off', 'fwVersion': '3.6.0', 'rssi': -58, 'staMac': 'C4:4F:33:B2:DD:51', 'startup': 'off', 'init': 1, 'pulse': 'off', 'pulseWidth': 500, 'swMode': 2, 'swCtrlReverse': 'off'} | None
2025-01-19 16:03:15.371 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.local] 100090c4da => Local4 | 192.168.2.41:8081 | None <= {'seq': 1378, 'sequence': '1737298992997', 'error': 404}
2025-01-19 16:03:19.144 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.local] 1000bda793 => Local4 | 192.168.2.51:8081 | {'switch': 'on'} <= {'seq': 33, 'sequence': '1737298999031', 'error': 0}
2025-01-19 16:03:19.145 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] Can't decrypt message
Traceback (most recent call last):
  File "/config/custom_components/sonoff/core/ewelink/__init__.py", line 270, in local_update
    params = self.local.decrypt_msg(msg, device["devicekey"])
  File "/config/custom_components/sonoff/core/ewelink/local.py", line 288, in decrypt_msg
    return json.loads(data)
           ~~~~~~~~~~^^^^^^
  File "/usr/local/lib/python3.13/json/__init__.py", line 341, in loads
    s = s.decode(detect_encoding(s), 'surrogatepass')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x98 in position 32: invalid start byte
2025-01-19 16:08:21.196 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.local] 1000bda793 => Local4 | 192.168.2.51:8081 | {'switch': 'on'} <= {'seq': 34, 'sequence': '1737299301007', 'error': 0}
2025-01-19 16:08:21.226 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] Can't decrypt message
Traceback (most recent call last):
  File "/config/custom_components/sonoff/core/ewelink/__init__.py", line 270, in local_update
    params = self.local.decrypt_msg(msg, device["devicekey"])
  File "/config/custom_components/sonoff/core/ewelink/local.py", line 288, in decrypt_msg
    return json.loads(data)
           ~~~~~~~~~~^^^^^^
  File "/usr/local/lib/python3.13/json/__init__.py", line 341, in loads
    s = s.decode(detect_encoding(s), 'surrogatepass')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 35: invalid start byte
2025-01-19 16:09:37.195 ERROR (MainThread) [reolink_aio.baichuan.baichuan] Baichuan host 192.168.2.221: keepalive loop seems to have stopped running, restarting
2025-01-19 16:09:40.929 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.local] 1000bda793 => Local4 | 192.168.2.51:8081 | {'switch': 'on'} <= {'seq': 35, 'sequence': '1737299380863', 'error': 0}
2025-01-19 16:09:40.931 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] Can't decrypt message
Traceback (most recent call last):
  File "/config/custom_components/sonoff/core/ewelink/__init__.py", line 270, in local_update
    params = self.local.decrypt_msg(msg, device["devicekey"])
  File "/config/custom_components/sonoff/core/ewelink/local.py", line 288, in decrypt_msg
    return json.loads(data)
           ~~~~~~~~~~^^^^^^
  File "/usr/local/lib/python3.13/json/__init__.py", line 341, in loads
    s = s.decode(detect_encoding(s), 'surrogatepass')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf6 in position 64: invalid start byte

@FlexxFR
Copy link

FlexxFR commented Jan 19, 2025

After some restarting, power off/on, re-connect to network, etc most values are comming in HA again.
(App still appears to have issues)

Only the ENERGY value is still unknown in HA.

Following message remain in debug log.

2025-01-19 16:47:20.834 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] Can't decrypt message
Traceback (most recent call last):
  File "/config/custom_components/sonoff/core/ewelink/__init__.py", line 270, in local_update
    params = self.local.decrypt_msg(msg, device["devicekey"])
  File "/config/custom_components/sonoff/core/ewelink/local.py", line 288, in decrypt_msg
    return json.loads(data)
           ~~~~~~~~~~^^^^^^
  File "/usr/local/lib/python3.13/json/__init__.py", line 341, in loads
    s = s.decode(detect_encoding(s), 'surrogatepass')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd8 in position 17: invalid continuation byte

@Teico88
Copy link

Teico88 commented Feb 13, 2025

I've had the same problem. After months of working, my smartplugs didn't refresh the power/energy values. It only refreshed after opening the Ewelink app and opening the specific device page. It's working again for me (for now).

A simple HA restart did the trick. Now all smart plugs are being refreshed every x seconds.
Also not too sure if this helped, but I added *.coolkit.cc to my (NextDNS) whitelist. At this point I'm too afraid to test, since everything is working as intended right now.

The error I had:

"errors": [
      {
        "name": "custom_components.sonoff.core.ewelink.cloud",
        "message": [
          "Cloud WS Connection error: Cannot connect to host eu-dispa.coolkit.cc:443 ssl:default [Timeout while contacting DNS servers]"
        ],
        "level": "WARNING",
        "source": [
          "custom_components/sonoff/core/ewelink/cloud.py",
          582
        ],
        "timestamp": 1739134335.490396,
        "exception": "",
        "count": 2,
        "first_occurred": 1739134245.3812702
      },
      {
        "name": "custom_components.sonoff.core.ewelink.cloud",
        "message": [
          "Cloud ERROR: {'error': 503, 'reason': 'Device Offline', 'deviceid': '100202e231', 'apikey': 'x', 'sequence': '1739134386889'}",
          "Cloud ERROR: {'error': 503, 'reason': 'Device Offline', 'deviceid': '1002251750', 'apikey': 'x', 'sequence': '1739134387890'}",
          "Cloud ERROR: {'error': 503, 'reason': 'Device Offline', 'deviceid': '10020ac80e', 'apikey': 'x', 'sequence': '1739134388891'}",
          "Cloud ERROR: {'error': 503, 'reason': 'Device Offline', 'deviceid': '100202e3e2', 'apikey': 'x', 'sequence': '1739134389892'}",
          "Cloud ERROR: {'error': 503, 'reason': 'Device Offline', 'deviceid': '10018cc4af', 'apikey': 'x', 'sequence': '1739134392674'}"
        ],
        "level": "WARNING",
        "source": [
          "custom_components/sonoff/core/ewelink/cloud.py",
          603
        ],

@vegos
Copy link

vegos commented Feb 13, 2025

I noticed that after "restart" of the POW, it starts on OFF position and the Default action is turned to OFF (I set it to ON after power loss / it doesn't keep up after restart).

@Teico88
Copy link

Teico88 commented Feb 13, 2025

I noticed that after "restart" of the POW, it starts on OFF position and the Default action is turned to OFF (I set it to ON after power loss / it doesn't keep up after restart).

Did you try to set this device behavior setting through the Ewelink app?

@vegos
Copy link

vegos commented Feb 13, 2025

I noticed that after "restart" of the POW, it starts on OFF position and the Default action is turned to OFF (I set it to ON after power loss / it doesn't keep up after restart).

Did you try to set this device behavior setting through the Ewelink app?

Yes, I setup on the ewelink app, it looks ok but after power off, it defaults to off...

@Teico88
Copy link

Teico88 commented Feb 13, 2025

Yes, I setup on the ewelink app, it looks ok but after power off, it defaults to off...

I just tested this behavior on my end and it works as expected. Im not sure if your issue is related to HA..

@exSnake
Copy link

exSnake commented Feb 14, 2025

@AlexxIT

I was able to get some debug logs:

2025-02-13 23:06:32.187 DEBUG (Recorder) [homeassistant.components.recorder.core] Sending keepalive
2025-02-13 23:06:35.421 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:06:38.182 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.1; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:06:22.275544+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.12; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:06:38.180551+01:00>>
2025-02-13 23:06:38.184 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=273.52; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:06:22.275957+01:00>, new_state=<state sensor.sonoff_100179eb80_power=278.06; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:06:38.180974+01:00>>
2025-02-13 23:06:38.185 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=226.74; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:06:22.276272+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.27; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:06:38.181321+01:00>>
2025-02-13 23:06:40.422 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:06:41.295 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.12; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:06:38.180551+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.13; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:06:41.293745+01:00>>
2025-02-13 23:06:41.297 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=278.06; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:06:38.180974+01:00>, new_state=<state sensor.sonoff_100179eb80_power=273.4; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:06:41.294138+01:00>>
2025-02-13 23:06:42.263 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.13; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:06:41.293745+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.12; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:06:42.261454+01:00>>
2025-02-13 23:06:42.265 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=273.4; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:06:41.294138+01:00>, new_state=<state sensor.sonoff_100179eb80_power=275.58; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:06:42.261878+01:00>>
2025-02-13 23:06:50.424 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:06:51.624 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=275.58; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:06:42.261878+01:00>, new_state=<state sensor.sonoff_100179eb80_power=276.16; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:06:51.623230+01:00>>
2025-02-13 23:06:51.626 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.27; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:06:38.181321+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=228.13; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:06:51.623585+01:00>>
2025-02-13 23:06:52.191 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=276.16; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:06:51.623230+01:00>, new_state=<state sensor.sonoff_100179eb80_power=279.13; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:06:52.190124+01:00>>
2025-02-13 23:06:52.193 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=228.13; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:06:51.623585+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.27; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:06:52.190451+01:00>>
2025-02-13 23:06:55.424 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:07:00.190 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.12; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:06:42.261454+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.13; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:07:00.188587+01:00>>
2025-02-13 23:07:00.192 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=279.13; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:06:52.190124+01:00>, new_state=<state sensor.sonoff_100179eb80_power=281.16; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:07:00.189004+01:00>>
2025-02-13 23:07:00.193 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.27; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:06:52.190451+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.8; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:07:00.189325+01:00>>
2025-02-13 23:07:00.425 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:07:02.188 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: KeepAliveTask()
2025-02-13 23:07:02.189 DEBUG (Recorder) [homeassistant.components.recorder.core] Sending keepalive
2025-02-13 23:07:10.427 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:07:12.305 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.13; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:07:00.188587+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.15; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:07:12.303986+01:00>>
2025-02-13 23:07:12.307 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=281.16; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:07:00.189004+01:00>, new_state=<state sensor.sonoff_100179eb80_power=279.61; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:07:12.304557+01:00>>
2025-02-13 23:07:12.308 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.8; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:07:00.189325+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=228.33; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:07:12.304927+01:00>>
2025-02-13 23:07:15.428 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:07:16.198 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.15; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:07:12.303986+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.13; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:07:16.196277+01:00>>
2025-02-13 23:07:16.199 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=279.61; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:07:12.304557+01:00>, new_state=<state sensor.sonoff_100179eb80_power=278.85; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:07:16.196685+01:00>>
2025-02-13 23:07:16.200 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=228.33; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:07:12.304927+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=228.87; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:07:16.196935+01:00>>
2025-02-13 23:07:18.190 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.13; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:07:16.196277+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.12; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:07:18.189016+01:00>>
2025-02-13 23:07:18.192 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=278.85; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:07:16.196685+01:00>, new_state=<state sensor.sonoff_100179eb80_power=275.73; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:07:18.189377+01:00>>
2025-02-13 23:07:18.194 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=228.87; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:07:16.196935+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=228.73; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:07:18.189655+01:00>>
2025-02-13 23:07:20.429 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:07:21.446 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=275.73; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:07:18.189377+01:00>, new_state=<state sensor.sonoff_100179eb80_power=275.92; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:07:21.444484+01:00>>
2025-02-13 23:07:21.448 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=228.73; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:07:18.189655+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.8; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:07:21.444878+01:00>>
2025-02-13 23:07:22.174 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=275.92; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:07:21.444484+01:00>, new_state=<state sensor.sonoff_100179eb80_power=271.23; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:07:22.173459+01:00>>
2025-02-13 23:07:25.430 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:07:32.189 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: KeepAliveTask()
2025-02-13 23:07:32.190 DEBUG (Recorder) [homeassistant.components.recorder.core] Sending keepalive
2025-02-13 23:07:32.273 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_power, old_state=<state sensor.smartpower07_power=53; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:05:13.874357+01:00>, new_state=<state sensor.smartpower07_power=45; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:07:32.272232+01:00>>
2025-02-13 23:07:32.274 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_consumption, old_state=<state sensor.smartpower07_consumption=53; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:05:13.875465+01:00>, new_state=<state sensor.smartpower07_consumption=45; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:07:32.273055+01:00>>
2025-02-13 23:07:35.290 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_power, old_state=<state sensor.smartpower07_power=45; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:07:32.272232+01:00>, new_state=<state sensor.smartpower07_power=53; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:07:35.289453+01:00>>
2025-02-13 23:07:35.291 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_consumption, old_state=<state sensor.smartpower07_consumption=45; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:07:32.273055+01:00>, new_state=<state sensor.smartpower07_consumption=53; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:07:35.290446+01:00>>
2025-02-13 23:07:35.433 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:07:42.129 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.12; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:07:18.189016+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.13; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:07:42.126663+01:00>>
2025-02-13 23:07:42.130 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=271.23; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:07:22.173459+01:00>, new_state=<state sensor.sonoff_100179eb80_power=275.9; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:07:42.127115+01:00>>
2025-02-13 23:07:42.132 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.8; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:07:21.444878+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=228.33; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:07:42.127448+01:00>>
2025-02-13 23:07:44.191 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=275.9; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:07:42.127115+01:00>, new_state=<state sensor.sonoff_100179eb80_power=275.29; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:07:44.189872+01:00>>
2025-02-13 23:07:45.435 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:07:48.167 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=275.29; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:07:44.189872+01:00>, new_state=<state sensor.sonoff_100179eb80_power=277.33; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:07:48.166090+01:00>>
2025-02-13 23:07:48.169 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=228.33; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:07:42.127448+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.8; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:07:48.166496+01:00>>
2025-02-13 23:07:50.436 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:07:51.856 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=277.33; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:07:48.166090+01:00>, new_state=<state sensor.sonoff_100179eb80_power=276.63; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:07:51.853585+01:00>>
2025-02-13 23:07:55.436 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:07:56.174 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=276.63; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:07:51.853585+01:00>, new_state=<state sensor.sonoff_100179eb80_power=274.96; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:07:56.172454+01:00>>
2025-02-13 23:07:56.175 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.8; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:07:48.166496+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.27; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:07:56.172801+01:00>>
2025-02-13 23:08:00.438 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:08:02.190 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: KeepAliveTask()
2025-02-13 23:08:02.190 DEBUG (Recorder) [homeassistant.components.recorder.core] Sending keepalive
2025-02-13 23:08:04.167 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=274.96; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:07:56.172454+01:00>, new_state=<state sensor.sonoff_100179eb80_power=278.01; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:04.166087+01:00>>
2025-02-13 23:08:04.169 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.27; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:07:56.172801+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=228.07; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:08:04.166506+01:00>>
2025-02-13 23:08:05.439 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:08:11.327 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=278.01; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:04.166087+01:00>, new_state=<state sensor.sonoff_100179eb80_power=279.71; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:11.326400+01:00>>
2025-02-13 23:08:11.329 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=228.07; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:08:04.166506+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=228.33; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:08:11.326763+01:00>>
2025-02-13 23:08:12.217 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=279.71; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:11.326400+01:00>, new_state=<state sensor.sonoff_100179eb80_power=275.89; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:12.215655+01:00>>
2025-02-13 23:08:12.219 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=228.33; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:08:11.326763+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.8; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:08:12.216161+01:00>>
2025-02-13 23:08:15.442 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:08:18.219 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.13; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:07:42.126663+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.12; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:08:18.217400+01:00>>
2025-02-13 23:08:18.221 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=275.89; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:12.215655+01:00>, new_state=<state sensor.sonoff_100179eb80_power=273.52; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:18.217832+01:00>>
2025-02-13 23:08:20.166 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.12; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:08:18.217400+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.13; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:08:20.164155+01:00>>
2025-02-13 23:08:20.167 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=273.52; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:18.217832+01:00>, new_state=<state sensor.sonoff_100179eb80_power=277.45; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:20.164586+01:00>>
2025-02-13 23:08:20.444 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:08:21.364 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=277.45; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:20.164586+01:00>, new_state=<state sensor.sonoff_100179eb80_power=275.86; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:21.362254+01:00>>
2025-02-13 23:08:21.367 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=228.33; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:08:18.218156+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.8; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:08:21.362726+01:00>>
2025-02-13 23:08:22.187 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.13; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:08:20.164155+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.11; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:08:22.185869+01:00>>
2025-02-13 23:08:22.189 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=275.86; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:21.362254+01:00>, new_state=<state sensor.sonoff_100179eb80_power=274.44; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:22.186236+01:00>>
2025-02-13 23:08:25.444 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:08:30.171 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.11; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:08:22.185869+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.13; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:08:30.169017+01:00>>
2025-02-13 23:08:30.172 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=274.44; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:22.186236+01:00>, new_state=<state sensor.sonoff_100179eb80_power=277.15; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:30.169388+01:00>>
2025-02-13 23:08:30.174 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.energy, old_state=<state sensor.energy=5032.88; state_class=total, source=sensor.sonoff_100179eb80_power, unit_of_measurement=kWh, device_class=energy, icon=mdi:lightning-bolt, friendly_name=Energy @ 2025-02-13T23:06:18.200193+01:00>, new_state=<state sensor.energy=5032.89; state_class=total, source=sensor.sonoff_100179eb80_power, unit_of_measurement=kWh, device_class=energy, icon=mdi:lightning-bolt, friendly_name=Energy @ 2025-02-13T23:08:30.170582+01:00>>
2025-02-13 23:08:30.174 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.energy_cost, old_state=<state sensor.energy_cost=34.8721999999993; state_class=total, last_reset=2025-02-01T07:01:43.567331+00:00, unit_of_measurement=EUR, device_class=monetary, friendly_name=sensor Cost @ 2025-02-13T23:06:18.210509+01:00>, new_state=<state sensor.energy_cost=34.8743999999994; state_class=total, last_reset=2025-02-01T07:01:43.567331+00:00, unit_of_measurement=EUR, device_class=monetary, friendly_name=sensor Cost @ 2025-02-13T23:08:30.171120+01:00>>
2025-02-13 23:08:30.445 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:08:30.861 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_power, old_state=<state sensor.smartpower07_power=53; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:07:35.289453+01:00>, new_state=<state sensor.smartpower07_power=45; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:08:30.861087+01:00>>
2025-02-13 23:08:30.863 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_consumption, old_state=<state sensor.smartpower07_consumption=53; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:07:35.290446+01:00>, new_state=<state sensor.smartpower07_consumption=45; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:08:30.862766+01:00>>
2025-02-13 23:08:32.165 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.13; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:08:30.169017+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.1; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:08:32.162847+01:00>>
2025-02-13 23:08:32.166 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=277.15; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:30.169388+01:00>, new_state=<state sensor.sonoff_100179eb80_power=266.74; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:32.163267+01:00>>
2025-02-13 23:08:32.167 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.8; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:08:21.362726+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.27; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:08:32.163591+01:00>>
2025-02-13 23:08:32.190 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: KeepAliveTask()
2025-02-13 23:08:32.190 DEBUG (Recorder) [homeassistant.components.recorder.core] Sending keepalive
2025-02-13 23:08:33.222 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_energy_day, old_state=<state sensor.sonoff_100179eb80_energy_day=0.03; state_class=total, unit_of_measurement=kWh, device_class=energy, friendly_name=POWR320D Energy Day @ 2025-02-13T23:06:23.191405+01:00>, new_state=<state sensor.sonoff_100179eb80_energy_day=0.04; state_class=total, unit_of_measurement=kWh, device_class=energy, friendly_name=POWR320D Energy Day @ 2025-02-13T23:08:33.222291+01:00>>
2025-02-13 23:08:33.224 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_energy_month, old_state=<state sensor.sonoff_100179eb80_energy_month=57.7; state_class=total, unit_of_measurement=kWh, device_class=energy, friendly_name=POWR320D Energy Month @ 2025-02-13T23:06:23.191839+01:00>, new_state=<state sensor.sonoff_100179eb80_energy_month=57.71; state_class=total, unit_of_measurement=kWh, device_class=energy, friendly_name=POWR320D Energy Month @ 2025-02-13T23:08:33.222591+01:00>>
2025-02-13 23:08:34.217 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.1; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:08:32.162847+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.11; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:08:34.215592+01:00>>
2025-02-13 23:08:34.219 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=266.74; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:32.163267+01:00>, new_state=<state sensor.sonoff_100179eb80_power=256.24; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:34.215954+01:00>>
2025-02-13 23:08:34.220 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.27; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:08:32.163591+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.53; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:08:34.216223+01:00>>
2025-02-13 23:08:34.888 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_power, old_state=<state sensor.smartpower07_power=45; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:08:30.861087+01:00>, new_state=<state sensor.smartpower07_power=51; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:08:34.887752+01:00>>
2025-02-13 23:08:34.889 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_consumption, old_state=<state sensor.smartpower07_consumption=45; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:08:30.862766+01:00>, new_state=<state sensor.smartpower07_consumption=51; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:08:34.888541+01:00>>
2025-02-13 23:08:35.446 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:08:36.172 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.11; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:08:34.215592+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.13; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:08:36.170227+01:00>>
2025-02-13 23:08:36.173 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=256.24; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:34.215954+01:00>, new_state=<state sensor.sonoff_100179eb80_power=276.72; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:36.170599+01:00>>
2025-02-13 23:08:36.174 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.53; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:08:34.216223+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.27; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:08:36.170878+01:00>>
2025-02-13 23:08:38.162 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.13; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:08:36.170227+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.12; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:08:38.160760+01:00>>
2025-02-13 23:08:38.164 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=276.72; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:36.170599+01:00>, new_state=<state sensor.sonoff_100179eb80_power=274.47; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:38.161132+01:00>>
2025-02-13 23:08:38.165 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.27; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:08:36.170878+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.8; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:08:38.161404+01:00>>
2025-02-13 23:08:39.952 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_power, old_state=<state sensor.smartpower07_power=51; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:08:34.887752+01:00>, new_state=<state sensor.smartpower07_power=45; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:08:39.952312+01:00>>
2025-02-13 23:08:39.954 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_consumption, old_state=<state sensor.smartpower07_consumption=51; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:08:34.888541+01:00>, new_state=<state sensor.smartpower07_consumption=45; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:08:39.953979+01:00>>
2025-02-13 23:08:40.455 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:08:40.952 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_power, old_state=<state sensor.smartpower07_power=45; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:08:39.952312+01:00>, new_state=<state sensor.smartpower07_power=24; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:08:40.952012+01:00>>
2025-02-13 23:08:40.955 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_consumption, old_state=<state sensor.smartpower07_consumption=45; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:08:39.953979+01:00>, new_state=<state sensor.smartpower07_consumption=24; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:08:40.953830+01:00>>
2025-02-13 23:08:41.321 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.12; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:08:38.160760+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.05; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:08:41.319964+01:00>>
2025-02-13 23:08:41.323 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=274.47; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:38.161132+01:00>, new_state=<state sensor.sonoff_100179eb80_power=248.13; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:41.320308+01:00>>
2025-02-13 23:08:41.323 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.8; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:08:38.161404+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=228.33; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:08:41.320724+01:00>>
2025-02-13 23:08:41.963 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_power, old_state=<state sensor.smartpower07_power=24; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:08:40.952012+01:00>, new_state=<state sensor.smartpower07_power=34; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:08:41.962348+01:00>>
2025-02-13 23:08:41.964 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_consumption, old_state=<state sensor.smartpower07_consumption=24; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:08:40.953830+01:00>, new_state=<state sensor.smartpower07_consumption=34; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:08:41.963505+01:00>>
2025-02-13 23:08:42.972 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_power, old_state=<state sensor.smartpower07_power=34; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:08:41.962348+01:00>, new_state=<state sensor.smartpower07_power=42; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:08:42.971147+01:00>>
2025-02-13 23:08:42.973 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_consumption, old_state=<state sensor.smartpower07_consumption=34; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:08:41.963505+01:00>, new_state=<state sensor.smartpower07_consumption=42; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:08:42.972157+01:00>>
2025-02-13 23:08:43.983 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_power, old_state=<state sensor.smartpower07_power=42; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:08:42.971147+01:00>, new_state=<state sensor.smartpower07_power=49; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:08:43.982723+01:00>>
2025-02-13 23:08:43.985 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_consumption, old_state=<state sensor.smartpower07_consumption=42; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:08:42.972157+01:00>, new_state=<state sensor.smartpower07_consumption=49; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:08:43.983733+01:00>>
2025-02-13 23:08:45.455 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:08:49.033 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_power, old_state=<state sensor.smartpower07_power=49; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:08:43.982723+01:00>, new_state=<state sensor.smartpower07_power=55; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:08:49.032054+01:00>>
2025-02-13 23:08:50.458 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:08:51.459 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.05; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:08:41.319964+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.13; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:08:51.457966+01:00>>
2025-02-13 23:08:51.461 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=248.13; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:41.320308+01:00>, new_state=<state sensor.sonoff_100179eb80_power=275.14; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:51.458387+01:00>>
2025-02-13 23:08:51.462 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=228.33; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:08:41.320724+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.27; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:08:51.458675+01:00>>
2025-02-13 23:08:55.458 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:08:56.201 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=275.14; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:51.458387+01:00>, new_state=<state sensor.sonoff_100179eb80_power=276.35; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:56.199400+01:00>>
2025-02-13 23:08:56.202 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.27; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:08:51.458675+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.3; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:08:56.199785+01:00>>
2025-02-13 23:09:00.460 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:09:01.765 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=switch.sonoff_100179eb80, old_state=<state switch.sonoff_100179eb80=on; friendly_name=POWR320D @ 2025-02-13T21:26:30.766051+01:00>, new_state=<state switch.sonoff_100179eb80=unavailable; friendly_name=POWR320D @ 2025-02-13T23:09:01.762593+01:00>>
2025-02-13 23:09:01.766 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.13; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:08:51.457966+01:00>, new_state=<state sensor.sonoff_100179eb80_current=unavailable; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:01.763005+01:00>>
2025-02-13 23:09:01.768 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=276.35; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:08:56.199400+01:00>, new_state=<state sensor.sonoff_100179eb80_power=unavailable; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:01.763209+01:00>>
2025-02-13 23:09:01.769 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.3; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:08:56.199785+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=unavailable; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:01.763415+01:00>>
2025-02-13 23:09:01.770 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_energy_day, old_state=<state sensor.sonoff_100179eb80_energy_day=0.04; state_class=total, unit_of_measurement=kWh, device_class=energy, friendly_name=POWR320D Energy Day @ 2025-02-13T23:08:33.222291+01:00>, new_state=<state sensor.sonoff_100179eb80_energy_day=unavailable; state_class=total, unit_of_measurement=kWh, device_class=energy, friendly_name=POWR320D Energy Day @ 2025-02-13T23:09:01.763590+01:00>>
2025-02-13 23:09:01.772 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_energy_month, old_state=<state sensor.sonoff_100179eb80_energy_month=57.71; state_class=total, unit_of_measurement=kWh, device_class=energy, friendly_name=POWR320D Energy Month @ 2025-02-13T23:08:33.222591+01:00>, new_state=<state sensor.sonoff_100179eb80_energy_month=unavailable; state_class=total, unit_of_measurement=kWh, device_class=energy, friendly_name=POWR320D Energy Month @ 2025-02-13T23:09:01.763761+01:00>>
2025-02-13 23:09:01.774 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.energy, old_state=<state sensor.energy=5032.89; state_class=total, source=sensor.sonoff_100179eb80_power, unit_of_measurement=kWh, device_class=energy, icon=mdi:lightning-bolt, friendly_name=Energy @ 2025-02-13T23:08:30.170582+01:00>, new_state=<state sensor.energy=unavailable; state_class=total, unit_of_measurement=kWh, device_class=energy, icon=mdi:lightning-bolt, friendly_name=Energy @ 2025-02-13T23:09:01.764183+01:00>>
2025-02-13 23:09:02.191 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: KeepAliveTask()
2025-02-13 23:09:02.192 DEBUG (Recorder) [homeassistant.components.recorder.core] Sending keepalive
2025-02-13 23:09:05.460 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:09:06.403 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=switch.sonoff_100179eb80, old_state=<state switch.sonoff_100179eb80=unavailable; friendly_name=POWR320D @ 2025-02-13T23:09:01.762593+01:00>, new_state=<state switch.sonoff_100179eb80=on; friendly_name=POWR320D @ 2025-02-13T23:09:06.400896+01:00>>
2025-02-13 23:09:06.405 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=unavailable; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:01.763005+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.13; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:06.401424+01:00>>
2025-02-13 23:09:06.406 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=unavailable; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:01.763209+01:00>, new_state=<state sensor.sonoff_100179eb80_power=276.35; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:06.401706+01:00>>
2025-02-13 23:09:06.407 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=unavailable; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:01.763415+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.3; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:06.401980+01:00>>
2025-02-13 23:09:06.409 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_energy_day, old_state=<state sensor.sonoff_100179eb80_energy_day=unavailable; state_class=total, unit_of_measurement=kWh, device_class=energy, friendly_name=POWR320D Energy Day @ 2025-02-13T23:09:01.763590+01:00>, new_state=<state sensor.sonoff_100179eb80_energy_day=0.04; state_class=total, unit_of_measurement=kWh, device_class=energy, friendly_name=POWR320D Energy Day @ 2025-02-13T23:09:06.402235+01:00>>
2025-02-13 23:09:06.411 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_energy_month, old_state=<state sensor.sonoff_100179eb80_energy_month=unavailable; state_class=total, unit_of_measurement=kWh, device_class=energy, friendly_name=POWR320D Energy Month @ 2025-02-13T23:09:01.763761+01:00>, new_state=<state sensor.sonoff_100179eb80_energy_month=57.71; state_class=total, unit_of_measurement=kWh, device_class=energy, friendly_name=POWR320D Energy Month @ 2025-02-13T23:09:06.402483+01:00>>
2025-02-13 23:09:06.413 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.energy, old_state=<state sensor.energy=unavailable; state_class=total, unit_of_measurement=kWh, device_class=energy, icon=mdi:lightning-bolt, friendly_name=Energy @ 2025-02-13T23:09:01.764183+01:00>, new_state=<state sensor.energy=5032.89; state_class=total, source=sensor.sonoff_100179eb80_power, unit_of_measurement=kWh, device_class=energy, icon=mdi:lightning-bolt, friendly_name=Energy @ 2025-02-13T23:09:06.403235+01:00>>
2025-02-13 23:09:07.169 INFO (MainThread) [homeassistant.components.automation.alert_power_off] Alert: Power Off: Running automation actions
2025-02-13 23:09:07.169 INFO (MainThread) [homeassistant.components.automation.alert_power_off] Alert: Power Off: Executing step call service
2025-02-13 23:09:07.171 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=switch.sonoff_100179eb80, old_state=<state switch.sonoff_100179eb80=on; friendly_name=POWR320D @ 2025-02-13T23:09:06.400896+01:00>, new_state=<state switch.sonoff_100179eb80=off; friendly_name=POWR320D @ 2025-02-13T23:09:07.166675+01:00>>
2025-02-13 23:09:07.173 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event automation_triggered[L]: name=Alert: Power Off, entity_id=automation.alert_power_off, source=state of switch.sonoff_100179eb80>
2025-02-13 23:09:07.177 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 2728, in async_call
    raise ServiceNotFound(domain, service) from None
2025-02-13 23:09:07.180 INFO (MainThread) [homeassistant.components.automation.alert_power_off] Alert: Power Off: Executing step call service
2025-02-13 23:09:07.181 INFO (MainThread) [homeassistant.components.automation.alert_power_off] Alert: Power Off: Executing step call service
2025-02-13 23:09:07.186 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=automation.alert_power_off, old_state=<state automation.alert_power_off=on; id=1720879158756, last_triggered=2025-02-03T23:14:49.866527+01:00, mode=single, current=0, friendly_name=Alert: Power Off @ 2025-02-01T08:01:43.872659+01:00>, new_state=<state automation.alert_power_off=on; id=1720879158756, last_triggered=2025-02-13T23:09:07.168682+01:00, mode=single, current=1, friendly_name=Alert: Power Off @ 2025-02-01T08:01:43.872659+01:00>>
2025-02-13 23:09:07.205 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event call_service[L]: domain=notify, service=smartphones, service_data=message=Power Off>
2025-02-13 23:09:07.230 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=automation.alert_power_off, old_state=<state automation.alert_power_off=on; id=1720879158756, last_triggered=2025-02-13T23:09:07.168682+01:00, mode=single, current=1, friendly_name=Alert: Power Off @ 2025-02-01T08:01:43.872659+01:00>, new_state=<state automation.alert_power_off=on; id=1720879158756, last_triggered=2025-02-13T23:09:07.168682+01:00, mode=single, current=0, friendly_name=Alert: Power Off @ 2025-02-01T08:01:43.872659+01:00>>
2025-02-13 23:09:09.169 INFO (MainThread) [homeassistant.components.automation.power_back_on] Power Back On: Running automation actions
2025-02-13 23:09:09.170 INFO (MainThread) [homeassistant.components.automation.power_back_on] Power Back On: Executing step device automation
2025-02-13 23:09:09.171 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event automation_triggered[L]: name=Power Back On, entity_id=automation.power_back_on, source=state of switch.sonoff_100179eb80>
2025-02-13 23:09:09.181 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=automation.power_back_on, old_state=<state automation.power_back_on=on; id=1720878250533, last_triggered=2025-02-03T23:14:51.867087+01:00, mode=single, current=0, friendly_name=Power Back On @ 2025-02-01T08:01:43.872381+01:00>, new_state=<state automation.power_back_on=on; id=1720878250533, last_triggered=2025-02-13T23:09:09.169331+01:00, mode=single, current=1, friendly_name=Power Back On @ 2025-02-01T08:01:43.872381+01:00>>
2025-02-13 23:09:09.197 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event call_service[L]: domain=switch, service=turn_on, service_data=entity_id=switch.sonoff_100179eb80>
2025-02-13 23:09:09.418 INFO (MainThread) [homeassistant.components.automation.power_back_on] Power Back On: Executing step call service
2025-02-13 23:09:09.420 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event call_service[L]: domain=notify, service=smartphones, service_data=message=Try to restore power, title=Home Offline>
2025-02-13 23:09:09.423 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 2728, in async_call
    raise ServiceNotFound(domain, service) from None
2025-02-13 23:09:09.427 INFO (MainThread) [homeassistant.components.automation.power_back_on] Power Back On: Repeating sequence: Iteration 1
2025-02-13 23:09:09.427 INFO (MainThread) [homeassistant.components.automation.power_back_on] Power Back On: Repeat at step 3: Running automation actions
2025-02-13 23:09:09.427 INFO (MainThread) [homeassistant.components.automation.power_back_on] Power Back On: Repeat at step 3: Executing step device automation
2025-02-13 23:09:09.435 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event call_service[L]: domain=switch, service=turn_on, service_data=entity_id=switch.sonoff_100179eb80>
2025-02-13 23:09:09.436 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=switch.sonoff_100179eb80, old_state=<state switch.sonoff_100179eb80=off; friendly_name=POWR320D @ 2025-02-13T23:09:07.166675+01:00>, new_state=<state switch.sonoff_100179eb80=on; friendly_name=POWR320D @ 2025-02-13T23:09:09.433980+01:00>>
2025-02-13 23:09:09.628 INFO (MainThread) [homeassistant.components.automation.power_back_on] Power Back On: Repeat at step 3: Executing step delay 0:00:02
2025-02-13 23:09:10.463 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:09:10.601 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=switch.smartpower07, old_state=<state switch.smartpower07=on; friendly_name=TV Camera @ 2025-02-13T22:50:33.232431+01:00>, new_state=<state switch.smartpower07=off; friendly_name=TV Camera @ 2025-02-13T23:09:10.586792+01:00>>
2025-02-13 23:09:11.363 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.13; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:06.401424+01:00>, new_state=<state sensor.sonoff_100179eb80_current=0.26; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:11.361682+01:00>>
2025-02-13 23:09:11.365 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=276.35; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:06.401706+01:00>, new_state=<state sensor.sonoff_100179eb80_power=280.2; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:11.362060+01:00>>
2025-02-13 23:09:11.366 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.3; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:06.401980+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.27; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:11.362342+01:00>>
2025-02-13 23:09:11.367 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_energy_day, old_state=<state sensor.sonoff_100179eb80_energy_day=0.04; state_class=total, unit_of_measurement=kWh, device_class=energy, friendly_name=POWR320D Energy Day @ 2025-02-13T23:09:06.402235+01:00>, new_state=<state sensor.sonoff_100179eb80_energy_day=0.0; state_class=total, unit_of_measurement=kWh, device_class=energy, friendly_name=POWR320D Energy Day @ 2025-02-13T23:09:11.362579+01:00>>
2025-02-13 23:09:11.368 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_energy_month, old_state=<state sensor.sonoff_100179eb80_energy_month=57.71; state_class=total, unit_of_measurement=kWh, device_class=energy, friendly_name=POWR320D Energy Month @ 2025-02-13T23:09:06.402483+01:00>, new_state=<state sensor.sonoff_100179eb80_energy_month=0.0; state_class=total, unit_of_measurement=kWh, device_class=energy, friendly_name=POWR320D Energy Month @ 2025-02-13T23:09:11.362814+01:00>>
2025-02-13 23:09:11.632 INFO (MainThread) [homeassistant.components.automation.power_back_on] Power Back On: If at step 4: Running automation actions
2025-02-13 23:09:11.633 INFO (MainThread) [homeassistant.components.automation.power_back_on] Power Back On: If at step 4: Executing step call service
2025-02-13 23:09:11.636 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event call_service[L]: domain=notify, service=smartphones, service_data=message=Power Restored, title=Home Online>
2025-02-13 23:09:11.640 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 2728, in async_call
    raise ServiceNotFound(domain, service) from None
2025-02-13 23:09:11.650 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=automation.power_back_on, old_state=<state automation.power_back_on=on; id=1720878250533, last_triggered=2025-02-13T23:09:09.169331+01:00, mode=single, current=1, friendly_name=Power Back On @ 2025-02-01T08:01:43.872381+01:00>, new_state=<state automation.power_back_on=on; id=1720878250533, last_triggered=2025-02-13T23:09:09.169331+01:00, mode=single, current=0, friendly_name=Power Back On @ 2025-02-01T08:01:43.872381+01:00>>
2025-02-13 23:09:11.872 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=0.26; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:11.361682+01:00>, new_state=<state sensor.sonoff_100179eb80_current=1.88; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:11.871623+01:00>>
2025-02-13 23:09:11.874 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=280.2; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:11.362060+01:00>, new_state=<state sensor.sonoff_100179eb80_power=281.97; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:11.872006+01:00>>
2025-02-13 23:09:13.883 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=1.88; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:11.871623+01:00>, new_state=<state sensor.sonoff_100179eb80_current=3.05; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:13.881339+01:00>>
2025-02-13 23:09:13.884 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=281.97; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:11.872006+01:00>, new_state=<state sensor.sonoff_100179eb80_power=463.17; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:13.881723+01:00>>
2025-02-13 23:09:13.885 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.27; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:11.362342+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.94; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:13.882001+01:00>>
2025-02-13 23:09:14.797 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower04_power, old_state=<state sensor.smartpower04_power=16; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=PC Power @ 2025-02-13T23:02:01.267423+01:00>, new_state=<state sensor.smartpower04_power=40; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=PC Power @ 2025-02-13T23:09:14.796207+01:00>>
2025-02-13 23:09:14.799 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower04_consumption, old_state=<state sensor.smartpower04_consumption=16; unit_of_measurement=W, friendly_name=SmartPower04 Consumption @ 2025-02-13T23:02:01.268780+01:00>, new_state=<state sensor.smartpower04_consumption=40; unit_of_measurement=W, friendly_name=SmartPower04 Consumption @ 2025-02-13T23:09:14.797475+01:00>>
2025-02-13 23:09:14.815 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower06_power, old_state=<state sensor.smartpower06_power=103; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=Media Station Power @ 2025-02-13T23:03:43.610474+01:00>, new_state=<state sensor.smartpower06_power=175; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=Media Station Power @ 2025-02-13T23:09:14.815405+01:00>>
2025-02-13 23:09:14.818 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower06_consumption, old_state=<state sensor.smartpower06_consumption=103; unit_of_measurement=W, friendly_name=SmartPower06 Consumption @ 2025-02-13T23:03:43.611110+01:00>, new_state=<state sensor.smartpower06_consumption=175; unit_of_measurement=W, friendly_name=SmartPower06 Consumption @ 2025-02-13T23:09:14.817160+01:00>>
2025-02-13 23:09:15.400 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_power, old_state=<state sensor.smartpower07_power=55; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:08:49.032054+01:00>, new_state=<state sensor.smartpower07_power=0; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:09:15.399841+01:00>>
2025-02-13 23:09:15.401 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_consumption, old_state=<state sensor.smartpower07_consumption=55; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:08:49.033157+01:00>, new_state=<state sensor.smartpower07_consumption=0; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:09:15.400611+01:00>>
2025-02-13 23:09:15.463 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:09:15.890 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=3.05; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:13.881339+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.68; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:15.888274+01:00>>
2025-02-13 23:09:15.892 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=463.17; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:13.881723+01:00>, new_state=<state sensor.sonoff_100179eb80_power=345.48; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:15.888810+01:00>>
2025-02-13 23:09:15.893 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.94; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:13.882001+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.41; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:15.889144+01:00>>
2025-02-13 23:09:16.716 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sun.sun, old_state=<state sun.sun=below_horizon; next_dawn=2025-02-14T05:53:17.751822+00:00, next_dusk=2025-02-14T17:21:48.933894+00:00, next_midnight=2025-02-13T23:37:14+00:00, next_noon=2025-02-14T11:37:14+00:00, next_rising=2025-02-14T06:24:13.324099+00:00, next_setting=2025-02-14T16:50:50.794028+00:00, elevation=-50.31, azimuth=316.17, rising=False, friendly_name=Sun @ 2025-02-13T17:49:24.189445+01:00>, new_state=<state sun.sun=below_horizon; next_dawn=2025-02-14T05:53:17.751822+00:00, next_dusk=2025-02-14T17:21:48.933894+00:00, next_midnight=2025-02-13T23:37:14+00:00, next_noon=2025-02-14T11:37:14+00:00, next_rising=2025-02-14T06:24:13.324099+00:00, next_setting=2025-02-14T16:50:50.794028+00:00, elevation=-52.58, azimuth=323.09, rising=False, friendly_name=Sun @ 2025-02-13T17:49:24.189445+01:00>>
2025-02-13 23:09:17.867 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.68; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:15.888274+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.49; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:17.865636+01:00>>
2025-02-13 23:09:17.869 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=345.48; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:15.888810+01:00>, new_state=<state sensor.sonoff_100179eb80_power=340.82; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:17.866014+01:00>>
2025-02-13 23:09:19.887 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=340.82; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:17.866014+01:00>, new_state=<state sensor.sonoff_100179eb80_power=336.39; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:19.885713+01:00>>
2025-02-13 23:09:20.465 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:09:21.313 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=336.39; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:19.885713+01:00>, new_state=<state sensor.sonoff_100179eb80_power=337.06; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:21.312208+01:00>>
2025-02-13 23:09:21.315 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.41; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:15.889144+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.39; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:21.312655+01:00>>
2025-02-13 23:09:23.899 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.49; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:17.865636+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.47; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:23.897405+01:00>>
2025-02-13 23:09:23.901 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=337.06; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:21.312208+01:00>, new_state=<state sensor.sonoff_100179eb80_power=330.99; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:23.897847+01:00>>
2025-02-13 23:09:23.902 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.39; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:21.312655+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.67; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:23.898172+01:00>>
2025-02-13 23:09:25.466 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:09:27.864 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.47; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:23.897405+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.43; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:27.862865+01:00>>
2025-02-13 23:09:27.866 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=330.99; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:23.897847+01:00>, new_state=<state sensor.sonoff_100179eb80_power=318.27; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:27.863246+01:00>>
2025-02-13 23:09:27.867 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.67; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:23.898172+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.94; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:27.863536+01:00>>
2025-02-13 23:09:29.877 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.43; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:27.862865+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.36; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:29.876404+01:00>>
2025-02-13 23:09:29.879 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=318.27; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:27.863246+01:00>, new_state=<state sensor.sonoff_100179eb80_power=304.67; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:29.876720+01:00>>
2025-02-13 23:09:29.880 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.94; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:27.863536+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.67; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:29.876941+01:00>>
2025-02-13 23:09:30.467 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:09:31.463 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower06_power, old_state=<state sensor.smartpower06_power=175; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=Media Station Power @ 2025-02-13T23:09:14.815405+01:00>, new_state=<state sensor.smartpower06_power=155; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=Media Station Power @ 2025-02-13T23:09:31.463714+01:00>>
2025-02-13 23:09:31.465 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower06_consumption, old_state=<state sensor.smartpower06_consumption=175; unit_of_measurement=W, friendly_name=SmartPower06 Consumption @ 2025-02-13T23:09:14.817160+01:00>, new_state=<state sensor.smartpower06_consumption=155; unit_of_measurement=W, friendly_name=SmartPower06 Consumption @ 2025-02-13T23:09:31.465273+01:00>>
2025-02-13 23:09:32.192 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: KeepAliveTask()
2025-02-13 23:09:32.192 DEBUG (Recorder) [homeassistant.components.recorder.core] Sending keepalive
2025-02-13 23:09:35.468 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:09:35.881 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.36; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:29.876404+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.37; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:35.879678+01:00>>
2025-02-13 23:09:35.883 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=304.67; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:29.876720+01:00>, new_state=<state sensor.sonoff_100179eb80_power=297.94; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:35.880060+01:00>>
2025-02-13 23:09:37.890 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.37; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:35.879678+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.33; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:37.888055+01:00>>
2025-02-13 23:09:37.891 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=297.94; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:35.880060+01:00>, new_state=<state sensor.sonoff_100179eb80_power=295.27; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:37.888504+01:00>>
2025-02-13 23:09:37.893 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.67; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:29.876941+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.94; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:37.888789+01:00>>
2025-02-13 23:09:39.500 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower06_power, old_state=<state sensor.smartpower06_power=155; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=Media Station Power @ 2025-02-13T23:09:31.463714+01:00>, new_state=<state sensor.smartpower06_power=144; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=Media Station Power @ 2025-02-13T23:09:39.498858+01:00>>
2025-02-13 23:09:39.501 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower06_consumption, old_state=<state sensor.smartpower06_consumption=155; unit_of_measurement=W, friendly_name=SmartPower06 Consumption @ 2025-02-13T23:09:31.465273+01:00>, new_state=<state sensor.smartpower06_consumption=144; unit_of_measurement=W, friendly_name=SmartPower06 Consumption @ 2025-02-13T23:09:39.499825+01:00>>
2025-02-13 23:09:39.870 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.33; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:37.888055+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.31; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:39.868084+01:00>>
2025-02-13 23:09:39.871 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=295.27; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:37.888504+01:00>, new_state=<state sensor.sonoff_100179eb80_power=290.32; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:39.868535+01:00>>
2025-02-13 23:09:39.872 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.94; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:37.888789+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=228.2; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:39.868812+01:00>>
2025-02-13 23:09:40.471 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:09:41.279 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=290.32; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:39.868535+01:00>, new_state=<state sensor.sonoff_100179eb80_power=299.71; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:41.277437+01:00>>
2025-02-13 23:09:41.281 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=228.2; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:39.868812+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.41; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:41.277837+01:00>>
2025-02-13 23:09:43.167 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=switch.smartpower07, old_state=<state switch.smartpower07=off; friendly_name=TV Camera @ 2025-02-13T23:09:10.586792+01:00>, new_state=<state switch.smartpower07=on; friendly_name=TV Camera @ 2025-02-13T23:09:43.166534+01:00>>
2025-02-13 23:09:43.900 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.31; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:39.868084+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.29; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:43.898221+01:00>>
2025-02-13 23:09:43.901 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=299.71; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:41.277437+01:00>, new_state=<state sensor.sonoff_100179eb80_power=282.08; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:43.898633+01:00>>
2025-02-13 23:09:43.903 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.41; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:41.277837+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.8; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:43.898945+01:00>>
2025-02-13 23:09:44.480 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower04_power, old_state=<state sensor.smartpower04_power=40; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=PC Power @ 2025-02-13T23:09:14.796207+01:00>, new_state=<state sensor.smartpower04_power=24; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=PC Power @ 2025-02-13T23:09:44.479916+01:00>>
2025-02-13 23:09:44.481 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower04_consumption, old_state=<state sensor.smartpower04_consumption=40; unit_of_measurement=W, friendly_name=SmartPower04 Consumption @ 2025-02-13T23:09:14.797475+01:00>, new_state=<state sensor.smartpower04_consumption=24; unit_of_measurement=W, friendly_name=SmartPower04 Consumption @ 2025-02-13T23:09:44.481453+01:00>>
2025-02-13 23:09:45.471 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:09:47.866 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.29; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:43.898221+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.31; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:47.864805+01:00>>
2025-02-13 23:09:47.867 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=282.08; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:43.898633+01:00>, new_state=<state sensor.sonoff_100179eb80_power=278.64; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:47.865097+01:00>>
2025-02-13 23:09:50.473 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:09:51.496 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.31; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:47.864805+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.3; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:51.494370+01:00>>
2025-02-13 23:09:51.497 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=278.64; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:47.865097+01:00>, new_state=<state sensor.sonoff_100179eb80_power=279.81; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:51.494708+01:00>>
2025-02-13 23:09:51.498 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.27; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:47.865331+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.3; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:51.494950+01:00>>
2025-02-13 23:09:53.387 INFO (MainThread) [pyhap.hap_protocol] ('fe80::9f:8113:6278:4125', 58792, 0, 2): Connection made to HASS Bridge
2025-02-13 23:09:53.625 INFO (MainThread) [pyhap.hap_protocol] ('fe80::9f:8113:6278:4125', 49154, 0, 2): Connection made to HASS Bridge
2025-02-13 23:09:53.863 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=279.81; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:51.494708+01:00>, new_state=<state sensor.sonoff_100179eb80_power=281.12; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:53.862141+01:00>>
2025-02-13 23:09:53.865 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.3; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:51.494950+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.8; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:53.862541+01:00>>
2025-02-13 23:09:55.473 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:09:55.880 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.3; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:51.494370+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.29; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:55.878546+01:00>>
2025-02-13 23:09:55.881 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=281.12; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:53.862141+01:00>, new_state=<state sensor.sonoff_100179eb80_power=277.61; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:55.878970+01:00>>
2025-02-13 23:09:55.883 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.8; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:53.862541+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=228.33; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:55.879290+01:00>>
2025-02-13 23:09:57.888 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.29; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:55.878546+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.27; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:57.887282+01:00>>
2025-02-13 23:09:57.890 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=277.61; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:55.878970+01:00>, new_state=<state sensor.sonoff_100179eb80_power=277.82; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:57.887607+01:00>>
2025-02-13 23:09:59.865 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.27; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:57.887282+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.28; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:59.863992+01:00>>
2025-02-13 23:09:59.867 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=277.82; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:57.887607+01:00>, new_state=<state sensor.sonoff_100179eb80_power=275.0; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:59.864438+01:00>>
2025-02-13 23:09:59.868 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=228.33; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:55.879290+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.8; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:59.864726+01:00>>
2025-02-13 23:10:00.475 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:10:02.192 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: KeepAliveTask()
2025-02-13 23:10:02.193 DEBUG (Recorder) [homeassistant.components.recorder.core] Sending keepalive
2025-02-13 23:10:03.874 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.28; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:09:59.863992+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.26; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:03.872844+01:00>>
2025-02-13 23:10:03.876 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=275.0; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:09:59.864438+01:00>, new_state=<state sensor.sonoff_100179eb80_power=277.57; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:03.873267+01:00>>
2025-02-13 23:10:05.476 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:10:05.895 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.26; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:03.872844+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.27; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:05.893208+01:00>>
2025-02-13 23:10:05.896 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=277.57; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:03.873267+01:00>, new_state=<state sensor.sonoff_100179eb80_power=273.29; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:05.893583+01:00>>
2025-02-13 23:10:05.897 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.8; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:09:59.864726+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.93; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:10:05.893859+01:00>>
2025-02-13 23:10:07.896 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.27; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:05.893208+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.25; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:07.894607+01:00>>
2025-02-13 23:10:07.897 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=273.29; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:05.893583+01:00>, new_state=<state sensor.sonoff_100179eb80_power=267.07; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:07.894910+01:00>>
2025-02-13 23:10:07.898 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.93; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:10:05.893859+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=228.33; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:10:07.895123+01:00>>
2025-02-13 23:10:10.474 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: AdjustLRUSizeTask()
2025-02-13 23:10:10.475 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: StatisticsTask(start=datetime.datetime(2025, 2, 13, 22, 5, tzinfo=datetime.timezone.utc), fire_events=True)
2025-02-13 23:10:10.674 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:10:10.674 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event recorder_5min_statistics_generated[L]>
2025-02-13 23:10:11.386 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.25; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:07.894607+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.24; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:11.384395+01:00>>
2025-02-13 23:10:11.388 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=267.07; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:07.894910+01:00>, new_state=<state sensor.sonoff_100179eb80_power=264.21; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:11.384881+01:00>>
2025-02-13 23:10:11.389 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=228.33; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:10:07.895123+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.86; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:10:11.385213+01:00>>
2025-02-13 23:10:11.891 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=264.21; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:11.384881+01:00>, new_state=<state sensor.sonoff_100179eb80_power=264.33; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:11.889198+01:00>>
2025-02-13 23:10:11.892 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.86; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:10:11.385213+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=227.8; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:10:11.889704+01:00>>
2025-02-13 23:10:12.304 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=switch.smartpower07, old_state=<state switch.smartpower07=on; friendly_name=TV Camera @ 2025-02-13T23:09:43.166534+01:00>, new_state=<state switch.smartpower07=off; friendly_name=TV Camera @ 2025-02-13T23:10:12.303823+01:00>>
2025-02-13 23:10:12.381 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=switch.smartpower07, old_state=<state switch.smartpower07=off; friendly_name=TV Camera @ 2025-02-13T23:10:12.303823+01:00>, new_state=<state switch.smartpower07=on; friendly_name=TV Camera @ 2025-02-13T23:10:12.379707+01:00>>
2025-02-13 23:10:15.479 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:10:15.867 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.24; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:11.384395+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.23; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:15.864590+01:00>>
2025-02-13 23:10:15.869 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=264.33; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:11.889198+01:00>, new_state=<state sensor.sonoff_100179eb80_power=261.92; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:15.865175+01:00>>
2025-02-13 23:10:19.108 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower06_power, old_state=<state sensor.smartpower06_power=144; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=Media Station Power @ 2025-02-13T23:09:39.498858+01:00>, new_state=<state sensor.smartpower06_power=134; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=Media Station Power @ 2025-02-13T23:10:19.108139+01:00>>
2025-02-13 23:10:19.110 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower06_consumption, old_state=<state sensor.smartpower06_consumption=144; unit_of_measurement=W, friendly_name=SmartPower06 Consumption @ 2025-02-13T23:09:39.499825+01:00>, new_state=<state sensor.smartpower06_consumption=134; unit_of_measurement=W, friendly_name=SmartPower06 Consumption @ 2025-02-13T23:10:19.110083+01:00>>
2025-02-13 23:10:19.525 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=switch.smartpower07, old_state=<state switch.smartpower07=on; friendly_name=TV Camera @ 2025-02-13T23:10:12.379707+01:00>, new_state=<state switch.smartpower07=off; friendly_name=TV Camera @ 2025-02-13T23:10:19.523792+01:00>>
2025-02-13 23:10:20.481 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:10:21.316 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.23; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:15.864590+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.22; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:21.313264+01:00>>
2025-02-13 23:10:21.318 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=261.92; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:15.865175+01:00>, new_state=<state sensor.sonoff_100179eb80_power=259.95; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:21.313860+01:00>>
2025-02-13 23:10:21.319 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=227.8; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:10:11.889704+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=228.33; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:10:21.314264+01:00>>
2025-02-13 23:10:22.028 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=switch.smartpower07, old_state=<state switch.smartpower07=off; friendly_name=TV Camera @ 2025-02-13T23:10:19.523792+01:00>, new_state=<state switch.smartpower07=on; friendly_name=TV Camera @ 2025-02-13T23:10:22.026300+01:00>>
2025-02-13 23:10:22.479 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower06_power, old_state=<state sensor.smartpower06_power=134; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=Media Station Power @ 2025-02-13T23:10:19.108139+01:00>, new_state=<state sensor.smartpower06_power=133; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=Media Station Power @ 2025-02-13T23:10:22.478870+01:00>>
2025-02-13 23:10:22.480 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower06_consumption, old_state=<state sensor.smartpower06_consumption=134; unit_of_measurement=W, friendly_name=SmartPower06 Consumption @ 2025-02-13T23:10:19.110083+01:00>, new_state=<state sensor.smartpower06_consumption=133; unit_of_measurement=W, friendly_name=SmartPower06 Consumption @ 2025-02-13T23:10:22.479628+01:00>>
2025-02-13 23:10:23.894 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.22; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:21.313264+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.27; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:23.892894+01:00>>
2025-02-13 23:10:23.896 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=259.95; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:21.313860+01:00>, new_state=<state sensor.sonoff_100179eb80_power=259.25; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:23.893357+01:00>>
2025-02-13 23:10:24.127 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_power, old_state=<state sensor.smartpower07_power=0; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:09:15.399841+01:00>, new_state=<state sensor.smartpower07_power=11; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:10:24.127028+01:00>>
2025-02-13 23:10:24.129 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_consumption, old_state=<state sensor.smartpower07_consumption=0; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:09:15.400611+01:00>, new_state=<state sensor.smartpower07_consumption=11; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:10:24.128686+01:00>>
2025-02-13 23:10:25.141 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_power, old_state=<state sensor.smartpower07_power=11; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:10:24.127028+01:00>, new_state=<state sensor.smartpower07_power=19; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:10:25.140383+01:00>>
2025-02-13 23:10:25.142 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_consumption, old_state=<state sensor.smartpower07_consumption=11; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:10:24.128686+01:00>, new_state=<state sensor.smartpower07_consumption=19; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:10:25.141085+01:00>>
2025-02-13 23:10:25.482 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:10:25.871 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.27; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:23.892894+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.31; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:25.870058+01:00>>
2025-02-13 23:10:25.873 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=259.25; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:23.893357+01:00>, new_state=<state sensor.sonoff_100179eb80_power=282.43; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:25.870445+01:00>>
2025-02-13 23:10:25.874 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=228.33; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:10:21.314264+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=228.87; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:10:25.870725+01:00>>
2025-02-13 23:10:26.146 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_power, old_state=<state sensor.smartpower07_power=19; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:10:25.140383+01:00>, new_state=<state sensor.smartpower07_power=37; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:10:26.144752+01:00>>
2025-02-13 23:10:26.146 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_consumption, old_state=<state sensor.smartpower07_consumption=19; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:10:25.141085+01:00>, new_state=<state sensor.smartpower07_consumption=37; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:10:26.145757+01:00>>
2025-02-13 23:10:27.155 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_power, old_state=<state sensor.smartpower07_power=37; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:10:26.144752+01:00>, new_state=<state sensor.smartpower07_power=27; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:10:27.153919+01:00>>
2025-02-13 23:10:27.156 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_consumption, old_state=<state sensor.smartpower07_consumption=37; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:10:26.145757+01:00>, new_state=<state sensor.smartpower07_consumption=27; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:10:27.154782+01:00>>
2025-02-13 23:10:27.884 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.31; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:25.870058+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.4; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:27.882255+01:00>>
2025-02-13 23:10:27.885 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=282.43; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:25.870445+01:00>, new_state=<state sensor.sonoff_100179eb80_power=284.29; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:27.882618+01:00>>
2025-02-13 23:10:27.886 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=228.87; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:10:25.870725+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=228.33; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:10:27.882890+01:00>>
2025-02-13 23:10:28.163 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_power, old_state=<state sensor.smartpower07_power=27; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:10:27.153919+01:00>, new_state=<state sensor.smartpower07_power=47; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:10:28.163668+01:00>>
2025-02-13 23:10:28.197 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_consumption, old_state=<state sensor.smartpower07_consumption=27; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:10:27.154782+01:00>, new_state=<state sensor.smartpower07_consumption=47; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:10:28.197124+01:00>>
2025-02-13 23:10:29.311 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_power, old_state=<state sensor.smartpower07_power=47; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:10:28.163668+01:00>, new_state=<state sensor.smartpower07_power=56; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=TV Camera Power @ 2025-02-13T23:10:29.309618+01:00>>
2025-02-13 23:10:29.313 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower07_consumption, old_state=<state sensor.smartpower07_consumption=47; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:10:28.197124+01:00>, new_state=<state sensor.smartpower07_consumption=56; unit_of_measurement=W, friendly_name=SmartPower07 Consumption @ 2025-02-13T23:10:29.310966+01:00>>
2025-02-13 23:10:29.794 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower04_power, old_state=<state sensor.smartpower04_power=24; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=PC Power @ 2025-02-13T23:09:44.479916+01:00>, new_state=<state sensor.smartpower04_power=17; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=PC Power @ 2025-02-13T23:10:29.794398+01:00>>
2025-02-13 23:10:29.796 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.smartpower04_consumption, old_state=<state sensor.smartpower04_consumption=24; unit_of_measurement=W, friendly_name=SmartPower04 Consumption @ 2025-02-13T23:09:44.481453+01:00>, new_state=<state sensor.smartpower04_consumption=17; unit_of_measurement=W, friendly_name=SmartPower04 Consumption @ 2025-02-13T23:10:29.796005+01:00>>
2025-02-13 23:10:29.877 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.4; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:27.882255+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.37; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:29.875784+01:00>>
2025-02-13 23:10:29.878 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=284.29; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:27.882618+01:00>, new_state=<state sensor.sonoff_100179eb80_power=305.76; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:29.876154+01:00>>
2025-02-13 23:10:29.879 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=228.33; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:10:27.882890+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=229.27; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:10:29.876441+01:00>>
2025-02-13 23:10:30.484 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:10:31.870 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=305.76; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:29.876154+01:00>, new_state=<state sensor.sonoff_100179eb80_power=299.95; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:31.868289+01:00>>
2025-02-13 23:10:32.193 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: KeepAliveTask()
2025-02-13 23:10:32.193 DEBUG (Recorder) [homeassistant.components.recorder.core] Sending keepalive
2025-02-13 23:10:33.881 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.37; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:29.875784+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.36; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:33.878778+01:00>>
2025-02-13 23:10:33.883 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=299.95; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:31.868289+01:00>, new_state=<state sensor.sonoff_100179eb80_power=294.94; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:33.879351+01:00>>
2025-02-13 23:10:35.484 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:10:35.889 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.36; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:33.878778+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.35; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:35.887164+01:00>>
2025-02-13 23:10:35.890 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=294.94; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:33.879351+01:00>, new_state=<state sensor.sonoff_100179eb80_power=299.31; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:35.887581+01:00>>
2025-02-13 23:10:35.891 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=229.27; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:10:29.876441+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=228.74; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:10:35.887859+01:00>>
2025-02-13 23:10:37.897 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.35; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:35.887164+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.36; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:37.895878+01:00>>
2025-02-13 23:10:37.899 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=299.31; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:35.887581+01:00>, new_state=<state sensor.sonoff_100179eb80_power=304.42; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:37.896399+01:00>>
2025-02-13 23:10:40.154 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event call_service[L]: domain=homeassistant, service=turn_off, service_data=entity_id=switch.smartpower03>
2025-02-13 23:10:40.157 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event call_service[L]: domain=switch, service=turn_off, service_data=entity_id=['switch.smartpower03']>
2025-02-13 23:10:40.392 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry [email protected] - amazon.it for media_player
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 640, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/media_player/__init__.py", line 456, in async_setup_entry
    return await hass.data[DATA_COMPONENT].async_setup_entry(entry)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 186, in async_setup_entry
    raise ValueError(
    ...<2 lines>...
    )
ValueError: Config entry [email protected] - amazon.it (43564cf71589f05f8d7d6037afa06b89) for alexa_media.media_player has already been setup!
2025-02-13 23:10:40.487 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: CommitTask()
2025-02-13 23:10:41.280 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_current, old_state=<state sensor.sonoff_100179eb80_current=2.36; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:37.895878+01:00>, new_state=<state sensor.sonoff_100179eb80_current=2.45; state_class=measurement, unit_of_measurement=A, device_class=current, friendly_name=POWR320D Current @ 2025-02-13T23:10:41.278014+01:00>>
2025-02-13 23:10:41.281 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=304.42; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:37.896399+01:00>, new_state=<state sensor.sonoff_100179eb80_power=263.81; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:41.278360+01:00>>
2025-02-13 23:10:41.282 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=228.74; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:10:35.887859+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=228.33; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:10:41.278742+01:00>>
2025-02-13 23:10:41.888 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_power, old_state=<state sensor.sonoff_100179eb80_power=263.81; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:41.278360+01:00>, new_state=<state sensor.sonoff_100179eb80_power=233.69; state_class=measurement, unit_of_measurement=W, device_class=power, friendly_name=POWR320D Power @ 2025-02-13T23:10:41.886619+01:00>>
2025-02-13 23:10:41.890 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event state_changed[L]: entity_id=sensor.sonoff_100179eb80_voltage, old_state=<state sensor.sonoff_100179eb80_voltage=228.33; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:10:41.278742+01:00>, new_state=<state sensor.sonoff_100179eb80_voltage=228.87; state_class=measurement, unit_of_measurement=V, device_class=voltage, friendly_name=POWR320D Voltage @ 2025-02-13T23:10:41.887035+01:00>>
2025-02-13 23:10:42.154 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event logging_changed[L]>

as you can see the entity go off when the alert power off has been raised

@HennieMouton
Copy link

HennieMouton commented Feb 16, 2025

POWR2 and POW316: Does not switch erratically, but the power and current and voltage values are not always updated. I switch the device off and it shows the last power value for many hours still in HA. The "energy" or "energy_day" attribute seems to be updated correctly. I notice also that as soon as the Ewelink app (with these devices) is opened somewhere, the power and current updates to the correct values in HA.

Image

Home Assistant:

Core 2025.2.4
Supervisor 2025.02.1
Operating System 14.2
Frontend 20250214.0 ⸱ legacy
Sonoff integration: 3.8.2

I list only the POWR2 debug log extracts, as it seems there are POW316 debug logs already.

POWR2
fwVersion': '3.6.0'
FW Name: PSC-B67-GL

"errors": [
      {
        "name": "custom_components.sonoff.core.ewelink.cloud",
        "message": [
          "Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': '1000a94db9', 'apikey': 'acbac8f0-1e0b-4fa1-b378-b0f916241a32', 'sequence': '1739628163025'}",
          "Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': '1000a94db9', 'apikey': 'acbac8f0-1e0b-4fa1-b378-b0f916241a32', 'sequence': '1739630313940'}",
          "Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': '100186e063', 'apikey': 'acbac8f0-1e0b-4fa1-b378-b0f916241a32', 'sequence': '1739646904402'}",
          "Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': '1000a94db9', 'apikey': 'acbac8f0-1e0b-4fa1-b378-b0f916241a32', 'sequence': '1739656534819'}",
          "Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': '1000a94db9', 'apikey': 'acbac8f0-1e0b-4fa1-b378-b0f916241a32', 'sequence': '1739697456279'}"
        ],
        "level": "WARNING",
        "source": [
          "custom_components/sonoff/core/ewelink/cloud.py",
          603
        ],
        "timestamp": ,
        "exception": "",
        "count": 25,
        "first_occurred": 1739592181.8509927
      }
    ], 

Debug log:
Switch off manually at 2025-02-16 11:34:36
... 11:38: 'power': '746.00', 'voltage': '233.21', 'current': '3.26'
... only energy updates it seems
Switch on manually at 2025-02-16 11:42:03, 'power': '746.00', 'voltage': '233.21', 'current': '3.26'

POWR2.debug.log

@exSnake
Copy link

exSnake commented Feb 16, 2025

@HennieMouton seems, if it is, a completely different issue, why posting it here?

@HennieMouton
Copy link

HennieMouton commented Feb 18, 2025

@HennieMouton seems, if it is, a completely different issue, why posting it here?

"errors": [ { "name": "custom_components.sonoff.core.ewelink.cloud", "message": [ "Cloud ERROR: {'error': 504 ....

as per the title of this thread.

@MikeBP13
Copy link

MikeBP13 commented Apr 1, 2025

I also got the 504 cloud error (so far only once) on a S60TPF plug...

The device seems to be functioning OK and data is available in HA.

Not sure what is causing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants