Hello everyone. I have a sonoff s20 socket with esphome. This one has a ds18b20 probe. Every time I restart HA, the temperature does not appear, however, it is seen in the device log. Is there a command that removes the device and adds it back every time HA reboots? Thanks a lot
Post your esp yaml file
Hola. Solo ocurre cuando actualizo HA. Si voy al log esta funcionando pero la entidad no lo reconoce. Elimino la integracion la agreo y funciona.
esphome:
name: enchufe-wifi-reposicion
esp8266:
board: esp8285
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: "xx"
wifi:
ssid: "Micronet_2.4_EXT"
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Micronet_2.4"
password: !secret wifi_password
# Example configuration entry
dallas:
- pin: 03
# Individual sensors
sensor:
- platform: dallas
address: 0xb2031644035dff28
name: "Temperatura Reposicion"
id: temp_reposicion
# Example configuration entry
switch:
- platform: gpio
name: "reposicion"
pin: GPIO12
id: relay
binary_sensor:
- platform: gpio
pin:
number: GPIO0
mode:
input: true
pullup: true
inverted: true
name: "reposicion"
on_press:
- switch.toggle: relay
- platform: status
name: "enchufe-reposicion-estado"
- platform: gpio
pin: GPIO3
name: "enchufe-reposicion-sensor"
output:
# Register the green LED as a dimmable output ....
- platform: esp8266_pwm
id: s20_green_led
pin:
number: GPIO13
inverted: true
light:
# ... and then make a light out of it.
- platform: monochromatic
name: "Sensor enchufe resposicion"
output: s20_green_led