mirror of
https://github.com/fmtr/haco.git
synced 2026-12-04 22:00:13 -05:00
Restructure v0 in v0 sub package
This commit is contained in:
parent
e6ea78ab49
commit
995cb81253
48 changed files with 25 additions and 20 deletions
|
|
@ -1,14 +0,0 @@
|
|||
from haco.control import Control
|
||||
|
||||
from haco.tools import invert_bool
|
||||
|
||||
|
||||
class Switch(Control):
|
||||
NAME = 'switch'
|
||||
|
||||
def __init__(self, name, icon=None):
|
||||
super().__init__(name, icon=icon)
|
||||
|
||||
@property
|
||||
def control_type(self):
|
||||
return invert_bool
|
||||
Loading…
Add table
Add a link
Reference in a new issue