Coolcam powerplug in esphome

Changed a Coolcam from wasmachine to klustafel.
esphome sees the Coolcam but the HA doesnt see the Coolcam.

I can see the logs clearly.

But can’t program the Coolcam in a dashboard.

Treid to update true wifi and by serial and delete the complete yaml file, and setup the Coolcam complete new up.

No succes.

No yaml, no logs, no issue.

My config,

substitutions:
  name: klustafel
  friendly_name: 'Klustafel'
  # Higher value gives lower watt readout
  current_res: "0.00221"
  # Lower value gives lower voltage readout
  voltage_div: "850"

esphome:
  name: ${name}

esp8266:
  board: esp8285

wifi:
  ssid: sidd
  password: key

# Optional manual IP
  manual_ip:
    static_ip: 192.168.2.136
    gateway: 192.168.2.1
    subnet: 255.255.255.0

logger:

api:
  encryption:
    key: "2XBSUB7Kr...........................

ota:

binary_sensor:
  - platform: gpio
    pin:
      number: GPIO0
      inverted: true
    name: "${friendly_name} Button"
    on_press:
      - switch.toggle: relay

switch:
  - platform: gpio
    name: "${friendly_name} LED Red"
    pin: GPIO13
    inverted: true
    restore_mode: ALWAYS_OFF
    id: red_led

  - platform: gpio
    name: "${friendly_name} Relay"
    pin: GPIO14
    restore_mode: ALWAYS_ON
    id: relay

    on_turn_on:
      - switch.turn_on: red_led

    on_turn_off:
      - switch.turn_off: red_led

sensor:
  - platform: hlw8012
    sel_pin:
      number: GPIO12
      inverted: true
    cf_pin: GPIO04
    cf1_pin: GPIO05
    current_resistor: ${current_res}
    voltage_divider: ${voltage_div}
    current:
      name: "${friendly_name} Amperage"
      unit_of_measurement: A
    voltage:
      name: "${friendly_name} Voltage"
      unit_of_measurement: V
    power:
      name: "${friendly_name} Power"
      unit_of_measurement: W
      id: power_sensor
    change_mode_every: 8
    update_interval: 10s

  - platform: total_daily_energy
    name: "${friendly_name} Total Daily Energy"
    power_id: power_sensor
    filters:
        # Multiplication factor from W to kW is 0.001
        - multiply: 0.001
    unit_of_measurement: kWh

time:
- platform: sntp
  id: my_time

Please post your code properly. See point 11 here How to help us help you - or How to ask a good question

Thanks,
Is this better to read?

Hell yes, thanks

So, I think you reused the same ESP. Did you removed the old “wasmachine” integration in HA and add the new one as a new integration in: settings->Devices & Services? (NOT the ESPHome add-on dashboard)

Yes I removed it even in de File explorer Esp/wasmachine.yaml

This is the log in esphome

But not in Integrations by Esphome.

Did you remove the "wasmachine’ from the ESPHome block. I think “klustafel” is not seen as new because I assume it uses the same IP as “wasmachine” before. After removing “wasmachine” you can also add it manually by selecting “add Integration”, search for ESPHome, select it and add the klustafel by adding it’s IP-address or by entering klustafel.local

Thanks man,

This did the job.