#- Native code used for testing and code solidification -# #- Do not use it -# class Driver var every_second var every_100ms var web_add_handler var web_add_button var web_add_main_button var web_add_management_button var web_add_config_button var web_add_console_button var save_before_restart var web_sensor var json_append var button_pressed var display def init() end def get_tasmota() return tasmota end def add_cmd(c, f) tasmota.add_cmd(c, / cmd, idx, payload, payload_json -> f(self, cmd, idx, payload, payload_json)) end end