I presume “homeassistant” and “something” are the login credentials my devices must use (though I don’t see that explicitly stated anywhere). In the devices’ own console, I can see that they are connected:
in my configuration.yaml. THis worked in my previous HassIO install, but again, teh entities don’t show up in the dropdown entity list when creating buttons.
Annoyingly, if I go to Configuration / Integrations / Configured / MQTT, my switches all appear in there as cards. They each say “No Area” and “entity unavailable”. Never seen that before. Does it give any clues?
Areas are new. Go back a page to configuration and you can set them up there. You can then assign devices to an area in the interrogations page. This has nothing to do with your problem.
Entity unavailable means there is a communication or configuration problem between your devices and HA.
Set what up? I go back a page and see the usual Integrations page.
No, areas are nothing to do with the problem, but it’s interesting that the switches appear here but not in the entities list.
Bother. They’re all happily attached, according to their own console pages and I can control them from HA’s Developer Tools / MQTT window.
Is it possible for you to try to configure a switch/sensor manually (not using discovery) and see if they show up in your states page then?
Are you sure this isn’t related to your use of the internal broker? in one of the other threads you’ve created about similar topics it was recommended to not use the internal broker because people had reported issues using it.
Did that and restarted. I can see from the devices’ own consoles that they disconnected from the broker, then reconnected shortly after the restart. They’re still not on the state page. I can still control them from Developer Tools / MQTT.
It’s truly getting on my nerves, though. The default sensor:
> sensor:
> # Weather prediction
> - platform: yr
Appears in the history, appears in the log book, but has disappeared from its badge. I try to add it as a badge or a card, bu it doesn’t pop up in the list of entities.
Based on prompts from you lot, I’ve changed to running Mosquitto. It’s on the same Linux server as HA.
Yr is not an mqtt component. It should just appear in the entities list if you have it in your configuration file. If you look at the example at the bottom of the component page there are a bunch of other conditions you can monitor with it:
Also there are lots of other weather components you could try (darksky seems popular):