From e0a07c74d01b1c88572544e9195457cff701ad4a Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Thu, 17 Aug 2023 11:46:27 +0200 Subject: [PATCH] Add Home Assistant --- modules/HomeAssistant.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 modules/HomeAssistant.php diff --git a/modules/HomeAssistant.php b/modules/HomeAssistant.php new file mode 100644 index 0000000..565b465 --- /dev/null +++ b/modules/HomeAssistant.php @@ -0,0 +1,14 @@ +fetch_json('https://api.github.com/repos/home-assistant/core/releases/latest')) + return $this->parse_json('tag_name'); + return false; + } +} + +?>