Hello,
today I reinstalled Mosquitto broker and after new installation all entities related with mqtt are not available.
I can not see them in Development tools -> States.
Mqtt is working - in NodeRed I can see mqtt is connected and I can send messages to device.
But all entities related with mqtt disappeared.
Can you please help?
Thank you,
Mirek
> homeassistant:
> # Name of the location where Home Assistant is running
> name: Home
> # Location required to calculate the time the sun rises and sets
> latitude:
> longitude:
> # Impacts weather/sunrise data (altitude above sea level in meters)
> elevation: 0
> # metric for Metric, imperial for Imperial
> unit_system: metric
> # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
> time_zone: Europe/Prague
> # Customization file
> customize: !include customize.yaml
>
> # Configure a default setup of Home Assistant (frontend, api, etc)
> default_config:
>
>
> # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
> # http:
> # base_url: example.duckdns.org:8123
>
> # Discover some devices automatically
> discovery:
>
> # Sensors
> sensor inside_temp:
> platform: mqtt
> state_topic: "inside_temp"
> name: "inside_temp"
> friendly_name: "inside temp"
> unit_of_measurement: "C"
> icon: mdi:temperature-celsius
>
> sensor outside_temp:
> platform: mqtt
> state_topic: "outside_temp"
> name: "outside_temp"
> unit_of_measurement: "C"
> icon: mdi:temperature-celsius
>
> sensor outside_hum:
> platform: mqtt
> state_topic: "outside_hum"
> unit_of_measurement: "C"
> name: "outside_hum"
>
> sensor inside_hum:
> platform: mqtt
> state_topic: "inside_hum"
> unit_of_measurement: "C"
> name: "inside_hum"
>
> sensor presssure:
> platform: mqtt
> state_topic: "pressure"
> name: "pressure"
> unit_of_measurement: "C"
>
>
> sensor:
> # Weather prediction
> - platform: yr
>
>
> # SCENES --------------------------------------------------------
> switch scene_good_night:
> - platform: mqtt
> name: "scene_good_night"
> state_topic: "scene_good_night"
> command_topic: "scene_good_night"
> payload_on: "ON"
> payload_off: "OFF"
> payload_available: "Aktivní"
> payload_not_available: "Neaktivní"
>
> switch scene_im_home:
> - platform: mqtt
> name: "scene_im_home"
> state_topic: "scene_im_home"
> command_topic: "scene_im_home"
> payload_on: "ON"
> payload_off: "OFF"
> payload_available: "Aktivní"
> payload_not_available: "Neaktivní"
>
> switch scene_leaving_home:
> - platform: mqtt
> name: "scene_leaving_home"
> state_topic: "scene_leaving_home"
> command_topic: "scene_leaving_home"
> payload_on: "ON"
> payload_off: "OFF"
> payload_available: "Aktivní"
> payload_not_available: "Neaktivní"
> switch scene_cinema:
> - platform: mqtt
> name: "scene_cinema"
> state_topic: "scene_cinema"
> command_topic: "scene_cinema"
> payload_on: "ON"
> payload_off: "OFF"
> payload_available: "Aktivní"
> payload_not_available: "Neaktivní"
>
> # SWITCHES ------------------------------------------------------
> switch livingroom_cinema:
> - platform: mqtt
> name: "livingroom_cinema"
> icon: mdi:projector
> state_topic: "livingroom_cinema"
> command_topic: "livingroom_cinema"
> payload_on: "ON"
> payload_off: "OFF"
> payload_available: "Aktivní"
> payload_not_available: "Neaktivní"
>
> # Text to speech
> vacuum:
> - platform: xiaomi_miio
> host: 192.
> token: 4a5a
> sonoff:
> username: "jar"
> password:
> scan_interval: 60
> grace_period: 600
> api_region: 'eu'
> entity_prefix: True
> debug: False
> # definice zarizeni MAGIC HOME ----------------------
> light:
> - platform: flux_led
> devices:
> 192.168.0.112:
> name: led_livingroom
> mode: "rgbw"
>
>
>
> 192.168.0.126:
> name: LED_bedroom
> mode: "rgbw"
>
>
>
> tts:
> - platform: google_translate
>
> group: !include groups.yaml
>
>
> automation: !include automations.yaml
> script: !include scripts.yaml
>
> influxdb:
> host: a0d
> port: 8086
> database: home_assistant
> username: home_assistant
> password:
> max_retries: 3
> default_measurement: state
>
>
> weather:
> - platform: darksky
> api_key: 5b1
> mode: daily
>
> media_player:
> - platform: spotify
> client_id: 644033c
> client_secret: ef
>
> # DEVICE TRACKER ----------------------
> device_tracker:
> - platform: nmap_tracker
> hosts:
> - 192.168.0.115
> - 192.168.0.110
> track_new_devices: true
>
> # RIZENI ZALUZII ----------------------
> cover BlindsControl1:
> - platform: mqtt
> name: "Rolety obývák -> zahrada"
> command_topic: "shutters_obyvak_zahrada"
> retain: false
> payload_open: "open"
> payload_close: "close"
> payload_stop: "stop"
>
> - platform: mqtt
> name: "Rolety obývák -> ulice"
> command_topic: "shutters_obyvak_ulice"
> retain: false
> payload_open: "open"
> payload_close: "close"
> payload_stop: "stop"
>
> - platform: mqtt
> name: "cover.rolety_kuchyne"
> command_topic: "shutters_kuchyne"
> retain: false
> payload_open: "open"
> payload_close: "close"