Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NSPManager/NSPanelManager
/ can_toggle
Method
can_toggle
docker/MQTTManager/include/switch/switch.cpp:131–133 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
129
}
130
131
bool SwitchEntity::can_toggle() {
132
return true;
133
}
134
135
void SwitchEntity::toggle() {
136
if (this->_current_state) {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected