We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 690d686 commit fb5bfb4Copy full SHA for fb5bfb4
1 file changed
packages/modules/devices/generic/mqtt/bat.py
@@ -44,7 +44,7 @@ def update(self, received_topics: Dict) -> None:
44
self.store.set(bat_state)
45
46
def set_power_limit(self, power_limit: Optional[int]) -> None:
47
- Pub().pub(f"openWB/mqtt/bat/{self.component_config.id}/set/powerLimit", power_limit)
+ Pub().pub(f"openWB/set/mqtt/bat/{self.component_config.id}/set/power_limit", power_limit)
48
49
def power_limit_controllable(self) -> bool:
50
return self.component_config.configuration.power_limit_controllable
0 commit comments