Skip to content

Latest commit

 

History

History
103 lines (83 loc) · 8.72 KB

File metadata and controls

103 lines (83 loc) · 8.72 KB

GitHub Release Maintainer All Contributors

Community Forum PRs Welcome Open issues Stargazers


Add support for the Doomsday Clock world threat assessment index from the Bulletin of the Atomic Scientists.


Sensor state card Sensor details

Sensor state card and details popup.

Description 🕚

The Doomsday Clock helps monitor how close humanity is to a man-made global catastrophe, its own destruction if you will, either through nuclear war or climate change. Useful in case egocentric psychopaths keep on playing Russian roulette with humanity's future. Makes a great addition to your fallout shelter's Home Assistant build! 😱



The clock doesn't change often, at most once a year, and offers no API. Since we rely on web scraping of TheBulletin.org the component has a goodwill throttle of 6 hours (21,600 seconds), but it would be best to set the scan interval for the sensor to 1 day (86,400 seconds) or more.

Configuration ⚙

# Example configuration.yaml entry
sensor:
  - platform: doomsday_clock
    scan_interval: 86400

icon (string) (optional)
Material Design Icon that illustrates the sensor. (default = mdi:nuke)

name (string) (optional)
Custom name of sensor. (default = Doomsday Clock)

scan_interval (integer) (optional)
Number of seconds between polls. (minimum = 21600 seconds [6 hours])

unit_of_measurement (string) (optional)
Custom unit of measurement for the value. (default = min)

value_template (template) (optional)
Custom template to manipulate the state of the sensor.

Contributing ✨

This project follows the all-contributors specification. Found a bug, want to suggest an idea or share some improvements? Contributions of any kind are welcome! 😃