mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-19 03:13:14 +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 None
|
||||
|
||||
def property_to_string(property: Property) -> str:
|
||||
def property_to_string(property: DeviceProperty) -> str:
|
||||
type = property.type
|
||||
if type == "value":
|
||||
return property.value
|
||||
|
||||
@ -11,7 +11,7 @@ class Device:
|
||||
devices: list
|
||||
|
||||
@dataclass
|
||||
class Property:
|
||||
class DeviceProperty:
|
||||
name: str
|
||||
type: str
|
||||
value: object
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user