renemarc / home-assistant-doomsday-clock

🕚 Display the Doomsday Clock inside your Home Assistant's …fallout shelter? 😱
https://community.home-assistant.io/t/doomsday-clock-custom-sensor/40758
Apache License 2.0
8 stars 1 forks source link

"Integration 'doomsday_clock' not found" warning. #10

Open theEpicjosh opened 5 months ago

theEpicjosh commented 5 months ago

Description of the bug

I have followed the guide nearly perfectly and have gotten the following error when checking configuration:

⚠️ Configuration warnings
   Platform error 'sensor' from integration 'doomsday_clock' - Integration 'doomsday_clock' not found.

Steps to reproduce

  1. I expected to install the copy of Doomsday Clock onto my system via HACS,
  2. to add in the following code in the relevant configuration section,
  3. and clicked on "Check Configuration".
  4. I have instead received the error above.
  5. Because it was just a warning, I restarted anyway.
  6. The Doomsday entity still does not exist.
  7. I followed steps 2-7 again, thinking I needed to restart it right after I installed it.
  8. It still does not work.
  9. I also enable experimental features thinking that could work.
  10. I have the "Update" entity, but not the main one.

Environment info

Home Assistant

Core 2024.5.4 Supervisor 2024.05.1 Operating System 12.3 Frontend 20240501.1

HACS

Integration version: 1.34.0 Frontend version: 20220906112053

Running on RPi 3B+ with 16GB MicroSD

Configuration

configuration.yaml

sensor:
  - platform: doomsday_clock
    unit_of_measurement: sec
    scan_interval: 86400

Debug log

[WARINING]
Failed to load integration for translation: Integration 'doomsday_clock' not found.
   on helpers/translation.py

[ERROR]
Platform error: sensor - Integration 'doomsday_clock' not found.
   on "config.py"

[WARNING]
* Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues

* Detected that custom integration 'hacs' accesses hass.helpers.event. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from event directly at custom_components/hacs/base.py, line 642: self.hass.helpers.event.async_track_time_interval(, please create a bug report at https://github.com/hacs/integration/issues
   both on helpers/frame.py
welcome[bot] commented 5 months ago

🎉 Thanks for opening your first issue here! 😃