Add Tasmota

This commit is contained in:
Steffen Lange 2020-02-01 23:46:58 +01:00
parent 09dc476f9b
commit a4570a6288

14
modules/Tasmota.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Tasmota extends PatchBase {
function __construct() {
parent::__construct('Theo Arends', 'Tasmota', 'https://github.com/arendst/Tasmota');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/arendst/Tasmota/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>