1 parent cf883f6 commit 4ee7382Copy full SHA for 4ee7382
1 file changed
qtoggleserver/core/vports.py
@@ -12,7 +12,6 @@
12
13
class VirtualPort(core_ports.Port):
14
WRITABLE = True
15
- VIRTUAL = True
16
17
def __init__(
18
self,
@@ -42,6 +41,9 @@ def map_id(self, new_id: str) -> None:
42
41
def is_integer(self) -> bool:
43
return bool(self._integer)
44
+ def attr_is_virtual(self) -> bool:
45
+ return True
46
+
47
async def read_value(self) -> NullablePortValue:
48
return self._virtual_value
49
0 commit comments