Unreachable entities

Hello Friends - I have 2 problems with ESP or I don’t even know if not with the whole HA:

  1. On one of the ESPHome in the bedroom, one entity is not visible in hass - the dallas temperature measurement, but on the LOG itself in ESP everything works, I tried to change different names, and even change the whole ESP, but it does nothing - given a new name for this sensor is NOT seen ANYWHERE except log inside ESP
  2. I have another ESP in the bathroom that once added to hassio worked fine, but the entities for some time are no longer visible in full, just like before - all entities are visible in the log but hassio himself sees these entities as unreachable. As before, I changed ESP discs, but it doesn’t do anything

Can’t understand, has anyone had a hit like this ?? …

Can you share the full (sanitised) esphome configuration for both devices?

Once again - all entities are available in ESP Logs but not seen in HASSIO

Here is all unreachable:

esphome:
  name: hub_lazienka_3
  platform: ESP32
  board: mhetesp32devkit


wifi:
  reboot_timeout: 60min
  networks:
    - ssid: "*****"
      password: "######"


        

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Hub Lazienka 3 Fallback Hotspot"
    password: "XuaKOUP2dw6f"


captive_portal:

logger:

api:
  password: "password"

ota:
  password: "password"
 
web_server:
  port: 80 

dallas:
  - id: "dallas_1"
    pin: GPIO14 
    update_interval: 90s

time:
  - platform: homeassistant
    on_time:
      - seconds: 0
        minutes: 0
        hours: 4
        days_of_week: MON-SUN
        then:
           - switch.toggle: restart_switch
           
switch:
  - platform: restart
    name: "hub_lazienka_2_Restart"
    id: restart_switch
 
  - platform: gpio
    name: "Kaloryfer_podłoga_2"
    id: Kaloryfer_podloga_2
    pin:
      number: GPIO17
      inverted: false
      
  - platform: gpio
    name: "Kaloryfer_lazienka_2"
    id: Kaloryfer_lazienka_2
    pin:
      number: GPIO2
      inverted: true

      
      
  - platform: gpio
    name: "wentylator_łazienka_button"
    id: wentylator_lazienka_button
    pin:
      number: GPIO13
      mode: INPUT
      inverted: True

output:
  #wentylator lazienka
  - platform: ledc
    pin: GPIO15
    frequency: 25000 Hz
    id: wentylator_lazienka_output
    inverted: True
    min_power: 0
  #dioda do wentylatora
  - platform: ledc
    id: blue_output
    pin: GPIO16
    frequency: 25000 Hz
    inverted: True





light:
# wentylator
  - platform: monochromatic
    output: wentylator_lazienka_output
    name: "wentylator_lazienka"
    id: wentylator_lazienka
    default_transition_length: 0s

#dioda do wentylatora
  - platform: monochromatic
    name: "went_dioda"
    id: went_dioda
    output: blue_output

sensor:

  
  - platform:  dallas
    address:  0x7500000CFF393828
    id:  "lazienka_kal_temp"
    name: lazienka_kal_temp
    dallas_id: dallas_1
    # update_interval: 45s    
    
  - platform: dht
    pin:       
      number: GPIO4
      mode: INPUT
    temperature:
      # filters:
      # # - lambda: return x * (5.0/5.0) - 4;
      # - lambda: return x ;
      name: "lazienka_went_temp"
      id: lazienka_went_temp
      accuracy_decimals: 1
    humidity:
      name: "lazienka_went_humid"
      id: lazienka_went_humid
      accuracy_decimals: 1
    # model: AM2302
    model: DHT22
    update_interval: 48s
    
# Example configuration entry

  - platform: ntc
    sensor: resistance_sensor
    name: NTC Temperature
    id: ntc_emperature
    calibration:
      b_constant: 3970
      reference_temperature: 25°C
      reference_resistance: 14kOhm
      


  # Example source sensors:
  - platform: resistance
    id: resistance_sensor
    sensor: source_sensor
    configuration: UPSTREAM
    # configuration: DOWNSTREAM
    # resistor: 26.3kOhm
    # resistor: 14.4kOhm
    resistor: 18kOhm
    # resistor: 2.2kOhm
    name: Resistance Sensor
    # reference_voltage: 5V
    reference_voltage: 3.3V
    on_value_range:
      - above: 6000
        then:
          - switch.turn_off: Kaloryfer_podloga_2
    
  - platform: adc
    id: source_sensor
    pin: GPIO32
    attenuation: 11db
    update_interval: 75s
    # filters:
    # - multiply: 2
    
    
climate:
  - platform: bang_bang
    name: "Climate_Lazienka_kaloryfer"
    id: Climate_Lazienka_kaloryfer
    sensor: lazienka_kal_temp
    default_target_temperature_low: 37 °C
    default_target_temperature_high: 40 °C
    visual:
      min_temperature: 16 °C
      max_temperature: 50 °C
      temperature_step: 0.5 °C
    heat_action:
      - switch.turn_on: Kaloryfer_lazienka_2
    idle_action:
      - switch.turn_off: Kaloryfer_lazienka_2
      
      
      
      
  - platform: bang_bang
    name: "Climate_Lazienka_wentylator"
    id: Climate_Lazienka_wentylator
    sensor: lazienka_went_humid
    default_target_temperature_low: 60 
    default_target_temperature_high: 65 
    visual:
      min_temperature: 16 
      max_temperature: 100 
      temperature_step: 1 
    heat_action:
      # - light.turn_on: went_dioda
      - light.turn_on:
          id: went_dioda
          brightness: 0%
      - light.turn_on:
          id: wentylator_lazienka
          brightness: 0%
          
          
          
    idle_action:
      # - light.turn_off: went_dioda
      - light.turn_on:
          id: went_dioda
          brightness: 50%
      - light.turn_on:
          id: wentylator_lazienka
          brightness: 50%
      
      
  - platform: bang_bang
    name: "Climate_Lazienka_podloga"
    id: Climate_Lazienka_podloga
    sensor: ntc_emperature
    default_target_temperature_low: 37 °C
    default_target_temperature_high: 40°C
    visual:
      min_temperature: 16 °C
      max_temperature: 45 °C
      temperature_step: 0.5 °C
    heat_action:
      - switch.turn_on: Kaloryfer_podloga_2
    idle_action:
      - switch.turn_off: Kaloryfer_podloga_2

here is only Dallas missing:

esphome:
  name: hub-sypialnia33
  platform: ESP32
  board: esp32dev

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:
  password: "d7371623a6f84aa9cce5b863413f64be"

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

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Hub-Sypialnia33 Fallback Hotspot"
    password: "8UVVuJ1XnREM"

captive_portal:


web_server:
  port: 80

spi:
  clk_pin: GPIO18
  mosi_pin: GPIO23  

i2c:
  sda: 21
  scl: 22
  scan: True

time:
  - platform: homeassistant
    id: esptime
    
uart:
  rx_pin: GPIO1
  tx_pin: GPIO3
  baud_rate: 9600
  
  
 
dallas:
  - id: "dallas_11"
    pin: GPIO16
    update_interval: 40s

 
 
sensor:


  - platform:  dallas
    address:  0xDD00000CFE84BA28
    id:  syp_kaloryfer_temp
    name: "syp_kaloryfer_temp"
    dallas_id: dallas_11
    # update_interval: 45s


  - platform: mhz19
    co2:
      name: "sypialnia_CO2_"
      id: sypialnia_CO2_
      # filters:
      # - lambda: return x  - 700;
    temperature:
      name: "sypialnia_temp_co2"
    update_interval: 70s
    automatic_baseline_calibration: true



      

 
  - platform: homeassistant
    name: "outside"
    id: outside
    entity_id:  sensor.outdoor_temperatura
    


binary_sensor:
  - platform: homeassistant
    name: "gerda doors sensor"
    id: gerda_sensor_helper
    entity_id: binary_sensor.0x00158d00044b72dd_contact
    

    
switch:
  - platform: gpio
    name: "kaloryfer_sypialnia_1"
    id: kaloryfer_sypialnia_1
    pin:
      number: GPIO0
      inverted: false

climate:
  - platform: bang_bang
    name: "Climate_Sypialnia"
    id: Climate_Sypialnia
    sensor: syp_kaloryfer_temp
    default_target_temperature_low: 22 °C
    default_target_temperature_high: 22.5 °C
    visual:
      min_temperature: 16 °C
      max_temperature: 35 °C
      temperature_step: 0.5 °C
    heat_action:
      - switch.turn_on: kaloryfer_sypialnia_1
    idle_action:
      - switch.turn_off: kaloryfer_sypialnia_1
      
 

display:
  - platform: max7219
    intensity: 0
    cs_pin: GPIO15
    num_chips: 3
    lambda: |-
        auto time = id(esptime).now();
        
         
        if(time.hour<10)
            it.printf(16,"0%d.",time.hour);
          else
            it.printf(16,"%d.",time.hour);
          if(time.minute<10)
            it.printf(18,"0%d",time.minute);
          else
            it.printf(18,"%d",time.minute);
            
            
            
        if(id(gerda_sensor_helper).has_state()){
          if(id(gerda_sensor_helper).state==1)
               it.printf(20," CLO");
            else
               it.printf(20," OPE");
        }  
        
        
        
        if (id(sypialnia_CO2_).has_state()) {
            it.printf(0,"%4.f", id(sypialnia_CO2_).state);
        }
        
        
        if(id(outside).has_state()) {
          it.printf(8,"%3.1f", id(outside).state);
        }
        
    # if (id(sypialnia_temperatura).has_state()) {
        # it.printf(12,"%4.f", id(sypialnia_temperatura).state);
    # }

FIXED! Just removed integration and add another the same - works!