I have several Media_Player entities in HA, mostly Google Home Minis and Chromecasts. All of a sudden they are gone. I can’t even see them in my states menu. I’ve tried rebooting HA and disconnecting/reconnecting my Nabu Casa account but none of that worked. Any idea what to check?
If they’re all part of the cast
integration, check the logs for any errors or warnings.
I don’t have the cast
integration. I have always used Nabu Casa to integrate them. Was this moved to the cast
integration?
As media players they have always been part of cast
I guess I was confused on how I had these implemented. At one point I feel like it was implemented through Nuba Casa, but I could be wrong.
I see each of my Google Home Minis and Chromecasts in Integrations>Google Cast but they all show “Entity Unavailable”
Are they in States?
Nope, they are not listed in states.
Well thats why they don’t appear in lovelace, not that this observation is necessarily helpful.
Chromecasts should be auto detected if they are on your lan during HA startup? Were they all plugged in and on when you started HA?
Yep, they are all on the LAN and operating normally. I’ve done several HA restarts, google home mini restarts and network restarts.
I am on ha 0.101.2 and mine still appears in ha. Weird. What does your log tell you?
Here is my log. I don’t see anything related to this issue.
19-11-03 04:28:14 INFO (MainThread) [__main__] Initialize Hass.io setup
19-11-03 04:28:14 INFO (SyncWorker_0) [hassio.docker.supervisor] Attach to Supervisor homeassistant/armv7-hassio-supervisor with version 192
19-11-03 04:28:15 INFO (MainThread) [__main__] Setup HassIO
19-11-03 04:28:15 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.systemd1 - /org/freedesktop/systemd1
19-11-03 04:28:16 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.hostname1 - /org/freedesktop/hostname1
19-11-03 04:28:16 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: de.pengutronix.rauc - /
19-11-03 04:28:16 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.NetworkManager - /org/freedesktop/NetworkManager/DnsManager
19-11-03 04:28:16 INFO (MainThread) [hassio.host.info] Update local host information
19-11-03 04:28:16 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
19-11-03 04:28:16 INFO (MainThread) [hassio.host.services] Update service information
19-11-03 04:28:16 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
19-11-03 04:28:16 INFO (MainThread) [hassio.host.network] Update local network DNS information
19-11-03 04:28:16 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
19-11-03 04:28:16 INFO (MainThread) [hassio.host.apparmor] Load AppArmor Profiles: {'hassio-supervisor'}
19-11-03 04:28:16 INFO (MainThread) [hassio.host.services] Reload local service hassos-apparmor.service
19-11-03 04:28:16 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ReloadOrRestartUnit on /org/freedesktop/systemd1
19-11-03 04:28:16 INFO (SyncWorker_1) [hassio.docker.interface] Attach to homeassistant/armv7-hassio-dns with version 1
19-11-03 04:28:16 INFO (MainThread) [hassio.dns] Update resolv from Supervisor
19-11-03 04:28:16 INFO (MainThread) [hassio.dns] Start CoreDNS plugin
19-11-03 04:28:16 INFO (MainThread) [hassio.misc.forwarder] Start DNS port forwarding to 172.30.32.3
19-11-03 04:28:16 INFO (SyncWorker_1) [hassio.docker.interface] Clean hassio_dns application
19-11-03 04:28:20 INFO (SyncWorker_1) [hassio.docker.dns] Start DNS homeassistant/armv7-hassio-dns with version 1
19-11-03 04:28:20 INFO (SyncWorker_3) [hassio.docker.interface] Attach to homeassistant/raspberrypi3-homeassistant with version 0.101.2
19-11-03 04:28:20 INFO (MainThread) [hassio.hassos] Detect HassOS 2.12 on host system
19-11-03 04:28:21 INFO (SyncWorker_2) [hassio.docker.hassos_cli] Found HassOS CLI homeassistant/armv7-hassio-cli with version 14
19-11-03 04:28:21 INFO (MainThread) [hassio.store.git] Load add-on /data/addons/core repository
19-11-03 04:28:21 INFO (MainThread) [hassio.store.git] Load add-on /data/addons/git/3833edd4 repository
19-11-03 04:28:21 INFO (MainThread) [hassio.store.git] Load add-on /data/addons/git/a0d7b954 repository
19-11-03 04:28:21 INFO (MainThread) [hassio.store.git] Load add-on /data/addons/git/7be23ff5 repository
19-11-03 04:28:22 INFO (MainThread) [hassio.store] Load add-ons from store: 63 all - 63 new - 0 remove
19-11-03 04:28:22 INFO (MainThread) [hassio.addons] Found 14 installed add-ons
19-11-03 04:28:22 INFO (SyncWorker_7) [hassio.docker.interface] Attach to homeassistant/armv7-addon-configurator with version 3.6
19-11-03 04:28:22 INFO (SyncWorker_3) [hassio.docker.interface] Attach to dwelch2101/dropbox-sync-armhf with version 1.3.0
19-11-03 04:28:22 INFO (SyncWorker_13) [hassio.docker.interface] Attach to homeassistant/armv7-addon-nginx_proxy with version 2.5
19-11-03 04:28:22 INFO (SyncWorker_7) [hassio.docker.interface] Attach to hassioaddons/grafana-armv7 with version 3.0.0
19-11-03 04:28:22 INFO (SyncWorker_6) [hassio.docker.interface] Attach to hassioaddons/spotify-armv7 with version 0.6.1
19-11-03 04:28:22 INFO (SyncWorker_9) [hassio.docker.interface] Attach to homeassistant/armv7-addon-mosquitto with version 5.1
19-11-03 04:28:22 INFO (SyncWorker_16) [hassio.docker.interface] Attach to homeassistant/armv7-addon-samba with version 9.0
19-11-03 04:28:22 INFO (SyncWorker_7) [hassio.docker.interface] Attach to hassioaddons/sonweb-armv7 with version 0.8.3
19-11-03 04:28:22 INFO (SyncWorker_8) [hassio.docker.interface] Attach to homeassistant/armv7-addon-duckdns with version 1.10
19-11-03 04:28:22 INFO (SyncWorker_1) [hassio.docker.interface] Attach to samccauley/armhf-googlebackup with version 1.7.1
19-11-03 04:28:22 INFO (SyncWorker_4) [hassio.docker.interface] Attach to homeassistant/armv7-addon-ssh with version 6.4
19-11-03 04:28:22 INFO (SyncWorker_19) [hassio.docker.interface] Attach to hassioaddons/influxdb-armv7 with version 3.3.0
19-11-03 04:28:22 INFO (SyncWorker_12) [hassio.docker.interface] Attach to hassioaddons/lutron-cert with version v0.1.0
19-11-03 04:28:22 INFO (SyncWorker_5) [hassio.docker.interface] Attach to hassioaddons/lovelace-migration with version v0.3.0
19-11-03 04:28:22 INFO (MainThread) [hassio.updater] Fetch update data from https://version.home-assistant.io/stable.json
19-11-03 04:28:23 INFO (MainThread) [hassio.snapshots] Found 10 snapshot files
19-11-03 04:28:23 INFO (MainThread) [hassio.discovery] Load 1 messages
19-11-03 04:28:23 INFO (MainThread) [hassio.ingress] Load 0 ingress session
19-11-03 04:28:23 INFO (MainThread) [hassio.secrets] Load Home Assistant secrets: 1
19-11-03 04:28:23 INFO (MainThread) [__main__] Run Hass.io
19-11-03 04:28:23 INFO (MainThread) [hassio.api] Start API on 172.30.32.2
19-11-03 04:28:23 INFO (MainThread) [hassio.addons] Phase 'initialize' start 0 add-ons
19-11-03 04:28:23 INFO (MainThread) [hassio.addons] Phase 'system' start 2 add-ons
19-11-03 04:28:23 INFO (SyncWorker_18) [hassio.docker.interface] Clean addon_a0d7b954_sonweb application
19-11-03 04:28:23 WARNING (MainThread) [hassio.addons.validate] Unknown options quiet_logs
19-11-03 04:28:23 INFO (SyncWorker_14) [hassio.docker.interface] Clean addon_core_mosquitto application
19-11-03 04:28:29 INFO (SyncWorker_18) [hassio.docker.addon] Start Docker add-on hassioaddons/sonweb-armv7 with version 0.8.3
19-11-03 04:28:29 INFO (SyncWorker_14) [hassio.docker.addon] Start Docker add-on homeassistant/armv7-addon-mosquitto with version 5.1
19-11-03 04:28:33 INFO (MainThread) [hassio.services.modules.mqtt] Set core_mosquitto as service provider for mqtt
19-11-03 04:28:34 INFO (MainThread) [hassio.addons] Phase 'services' start 6 add-ons
19-11-03 04:28:35 INFO (SyncWorker_8) [hassio.docker.interface] Clean addon_core_duckdns application
19-11-03 04:28:35 INFO (MainThread) [hassio.host.alsa] Update ALSA device list
19-11-03 04:28:36 INFO (SyncWorker_9) [hassio.docker.interface] Clean addon_a0d7b954_spotify application
19-11-03 04:28:36 INFO (SyncWorker_10) [hassio.docker.interface] Clean addon_7be23ff5_dropbox_sync application
19-11-03 04:28:36 INFO (SyncWorker_0) [hassio.docker.interface] Clean addon_3833edd4_googlebackup application
19-11-03 04:28:38 INFO (SyncWorker_13) [hassio.docker.interface] Clean addon_core_samba application
19-11-03 04:28:38 INFO (SyncWorker_19) [hassio.docker.interface] Clean addon_core_ssh application
19-11-03 04:29:00 INFO (SyncWorker_0) [hassio.docker.addon] Start Docker add-on samccauley/armhf-googlebackup with version 1.7.1
19-11-03 04:29:00 INFO (SyncWorker_13) [hassio.docker.addon] Start Docker add-on homeassistant/armv7-addon-samba with version 9.0
19-11-03 04:29:04 INFO (SyncWorker_8) [hassio.docker.addon] Start Docker add-on homeassistant/armv7-addon-duckdns with version 1.10
19-11-03 04:29:05 INFO (SyncWorker_9) [hassio.docker.addon] Start Docker add-on hassioaddons/spotify-armv7 with version 0.6.1
19-11-03 04:29:05 INFO (SyncWorker_19) [hassio.docker.addon] Start Docker add-on homeassistant/armv7-addon-ssh with version 6.4
19-11-03 04:29:05 INFO (SyncWorker_10) [hassio.docker.addon] Start Docker add-on dwelch2101/dropbox-sync-armhf with version 1.3.0
19-11-03 04:29:10 INFO (SyncWorker_3) [hassio.docker.interface] Start homeassistant/raspberrypi3-homeassistant
19-11-03 04:29:10 INFO (MainThread) [hassio.api.security] /host/info access from a0d7b954_spotify
19-11-03 04:29:26 INFO (MainThread) [hassio.api.security] /host/info access from a0d7b954_sonweb
19-11-03 04:30:27 INFO (MainThread) [hassio.homeassistant] Detect a running Home Assistant instance
19-11-03 04:30:27 INFO (MainThread) [hassio.addons] Phase 'application' start 2 add-ons
19-11-03 04:30:27 WARNING (MainThread) [hassio.addons.validate] Unknown options username
19-11-03 04:30:27 WARNING (MainThread) [hassio.addons.validate] Unknown options password
19-11-03 04:30:27 WARNING (MainThread) [hassio.addons.validate] Unknown options ssl
19-11-03 04:30:27 WARNING (MainThread) [hassio.addons.validate] Unknown options certfile
19-11-03 04:30:27 WARNING (MainThread) [hassio.addons.validate] Unknown options keyfile
19-11-03 04:30:27 WARNING (MainThread) [hassio.addons.validate] Unknown options allowed_networks
19-11-03 04:30:27 INFO (SyncWorker_4) [hassio.docker.interface] Clean addon_core_nginx_proxy application
19-11-03 04:30:27 WARNING (MainThread) [hassio.addons.validate] Unknown options banned_ips
19-11-03 04:30:27 WARNING (MainThread) [hassio.addons.validate] Unknown options banlimit
19-11-03 04:30:27 WARNING (MainThread) [hassio.addons.validate] Unknown options notify_service
19-11-03 04:30:27 INFO (SyncWorker_8) [hassio.docker.interface] Clean addon_core_configurator application
19-11-03 04:30:35 INFO (SyncWorker_4) [hassio.docker.addon] Start Docker add-on homeassistant/armv7-addon-nginx_proxy with version 2.5
19-11-03 04:30:35 INFO (SyncWorker_8) [hassio.docker.addon] Start Docker add-on homeassistant/armv7-addon-configurator with version 3.6
19-11-03 04:30:40 INFO (MainThread) [hassio.tasks] All core tasks are scheduled
19-11-03 04:30:40 INFO (MainThread) [hassio.core] Hass.io is up and running
This is in my home-assistant.log file. Does this have to do with it?
2019-11-02 23:31:27 WARNING (MainThread) [homeassistant.components.cloud.google_config] Error reporting state - 5: Requested entity was not found.
2019-11-02 23:41:26 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 275, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File "aiohttp\_http_parser.pyx", line 523, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: invalid HTTP method
2019-11-02 23:41:26 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 275, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File "aiohttp\_http_parser.pyx", line 523, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: invalid HTTP method
I really can’t say. Let’s hope someone else comes along. Do you have Discovery turned on.
As long as you have one of discovery:
or cast:
in configuration.yaml
- or you set up Cast as an integration in the UI - they should show up. Can you check to see if you have either of those?
I have discovery:
in my configuration.yaml
I also have Google Cast integration in the UI and I have “enable newly added entities” enabled.
I tried deleting my Google Cast integration and re-installing it. I got this message.
My cast devices are on the same LAN and subnet as my HASSIO so I’m not sure why it’s not finding them.
Any update here? I just realized I have the same issue. All but one of my 8 cast devices is no longer showing up.
I’m still unable to find the cast devices using the Google Cast integration. But if I manual add each one by IP address of the cast device I can see them. I’ve entered this in my configuration.yaml to add two of them. Still working on the others. I would REALLY prefer the auto-discovery method if anyone can chime in with a fix.
cast:
media_player:
- host: 192.168.1.25
- host: 192.168.1.137
Appreciate the quick reply. Thanks for the workaround.
Bit the bullet and removed the cast component and readded it. My (one) chromecast was found immediately.
None of you have said what version of HA you are on.