Sonoff Pow R2 - voltage appears in log but not in Home Assistant entity

This issue has been driving me crazy, hopefully someone knows how to help.

I flashed two identical Sonoff POW R2 devices with ESPHome. One for the washing machine and one for the tumble dryer. They both have the same configuration (except for the names). The washing machine reports all it’s values to Home Assistant, however when the tumble dryer does not.

When I look in the logs for the tumble dryer device it is reading the values:

[16:56:36][D][cse7766:147]: Got voltage=244.5V current=0.0A power=0.0W
[16:56:36][D][sensor:117]: 'Tumble Dryer Voltage': Sending state 244.47911 V with 1 decimals of accuracy
[16:56:36][D][sensor:117]: 'Tumble Dryer Current': Sending state 0.00000 A with 2 decimals of accuracy
[16:56:36][D][sensor:117]: 'Tumble Dryer Power': Sending state 0.00000 W with 1 decimals of accuracy

However the device entity shows it all as unavailable.

The configuration is as below:

esphome:
  name: tumble_dryer_esp
  platform: ESP8266
  board: esp01_1m

wifi:
  ssid: "ssid"
  password: "password"

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Tumble Dryer Esp"
    password: "password"

captive_portal:

# Enable logging
logger:
  baud_rate: 0
  
# Enable Home Assistant API
api:
  password: "revaeb"

ota:
  password: "revaeb"

uart:
  rx_pin: RX
  baud_rate: 4800

sensor:
  - platform: cse7766
    current:
      name: "Tumble Dryer Current"
    voltage:
      name: "Tumble Dryer Voltage"
    power:
      name: "Tumble Dryer Power"
      
switch:
  - platform: gpio
    name: "Tumble Dryer on-off"
    pin: GPIO12
    id: relay
    
binary_sensor:
  - platform: gpio
    pin:
      number: GPIO0
      mode: INPUT_PULLUP
      inverted: True
    name: "Sonoff Basic Button Tumble Dryer"
    on_press:
      - switch.toggle: relay
      
status_led:
  pin:
    number: GPIO13
    inverted: yes

I can see the logs and update it normally, just the last step of seeing the information in Home Assistant is causing the problem. I have tried deleting the entity and re-adding it but no luck - though I can see in the logs that it connects successfully:

[16:49:23][D][api.connection:630]: Client 'aioesphomeapi (192.168.0.14)' connected successfully!
[16:49:23][D][api.connection:630]: Client 'Home Assistant 2021.6.6 (192.168.0.14)' connected successfully!

Any help would be much appreciated,

C

Solved it:

I deleted the entity again in the integration, then I went into the addons folder itself and deleted the folder there too. I believe the issue was that it was looking at information within the folder itself which was left behind even when I deleted the item through the UI.

Hopefully that helps someone else.

C