Add Zigbee2MQTT

This commit is contained in:
Steffen Lange 2023-12-17 23:45:42 +01:00
parent 1a6c2e980c
commit 85943b3f05

14
modules/Zigbee2MQTT.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Zigbee2MQTT extends PatchBase {
function __construct() {
parent::__construct('Koen Kanters', 'Zigbee2MQTT', 'https://www.zigbee2mqtt.io/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/Koenkk/zigbee2mqtt/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>