mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-20 15:35:05 +00:00
Fixes
This commit is contained in:
parent
5ceadc4ebf
commit
d1dcae0c50
@ -52,7 +52,7 @@ def find_binding(compatible: str, bindings: list[Binding]) -> Binding:
|
|||||||
return binding
|
return binding
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def property_to_string(property: Property) -> str:
|
def property_to_string(property: DeviceProperty) -> str:
|
||||||
type = property.type
|
type = property.type
|
||||||
if type == "value":
|
if type == "value":
|
||||||
return property.value
|
return property.value
|
||||||
|
|||||||
@ -11,7 +11,7 @@ class Device:
|
|||||||
devices: list
|
devices: list
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class Property:
|
class DeviceProperty:
|
||||||
name: str
|
name: str
|
||||||
type: str
|
type: str
|
||||||
value: object
|
value: object
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user