Entity sensor unavailable randomly after restart, ESP presence

hi all,
I’m very slowly moving to HA for my automations. I love the tinkering… even though it is a learning curve ;).

After moving the sensors to MQTT new format, it worked (thanks to help from here ^^).
After a restart of HA, for a config change completely unrelated to this, I now get entity unavailable in the dashboard and can’t find them anymore in the entity list.
The ESP items themself still work and are connected to HA (and I see them update).

Definitely an error on my part. But can anyone help me?

cheers,
Vic

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

media_player:
  - platform: onkyo
    host: 192.168.178.11
    name: Receiver

mqtt_statestream:
  base_topic: homeassistant
  publish_attributes: true
  publish_timestamps: true  
  
device_tracker:
  - platform: tado
    username: [email protected]
    password: !secret
    home_id: 474165

camera:
  - platform: xiaomi_cloud_map_extractor
    host: 192.168.178.13
    token: 4b3970636c6f58626a6c30346d4f4576
    username: [email protected]
    password: !secret
    draw: ['all']
    attributes:
      - calibration_points
    room_colors:
      1: [240, 178, 122]
      2: [133, 193, 233]
      3: [217, 136, 128]
      4: [52, 152, 219]
    sizes:
      charger_radius: 4
      vacuum_radius: 6.5

sensor:
# One entry for each beacon you want to track
  - platform: mqtt_room
    device_id: "nut:f764813afc86"
    name: 'Vics_esp_beacon'
    state_topic: 'espresense/rooms'
    timeout: 60
    away_timeout: 120

  - platform: mqtt_room
    device_id: "nut:7c2f80ec6f7c"
    name: 'Flo_esp_beacon'
    state_topic: 'espresense/rooms'
    timeout: 60
    away_timeout: 120

mqtt:
    binary_sensor:
      name: hallway
      state_topic: espresense/rooms/hallway/status
      json_attributes_topic: espresense/rooms/hallway/telemetry
      payload_on: online
      payload_off: offline
      device_class: connectivity 


mqtt:
    binary_sensor:
      name: livingroom
      state_topic: espresense/rooms/livingroom/status
      json_attributes_topic: espresense/rooms/livingroom/telemetry
      payload_available: online
      payload_not_available: offline
      device_class: connectivity  

logger:
  default: info
  logs:
    custom_components.hacs: debug
    aiogithubapi: debug

sensor:
    - platform: afvalwijzer
      provider: mijnafvalwijzer        # (required, default = mijnafvalwijzer) either choose mijnafvalwijzer, afvalstoffendienstkalender or rova
      postal_code: a place ;)             # (required, default = '')
      street_number:  86                # (required, default = '')
      suffix: ''                       # (optional, default = '')
      exclude_pickup_today: false       # (optional, default = true) to take or not to take Today into account in the next pickup.
      default_label: niet              # (optional, default = Geen) label if no date found
      id: ''                           # (optional, default = '') use if you'd like to have multiple waste pickup locations in HASS
      exclude_list: 'rest,papier,plastic'                 # (optional, default = '') comma separated list of wast types (case ignored). F.e. "papier, gft"

Would anyone be able to solve / guide me in a direction?

Presence now doesn’t work… And that is annoying.