(channel: RemoteChannel)
| 32 | |
| 33 | /** Each channel listens on its own code. */ |
| 34 | const codeFor = (channel: RemoteChannel) => |
| 35 | channel === 'telegram' ? SensorSettings.getTelegramCode() : SensorSettings.getWhitelistCode(); |
| 36 | |
| 37 | export function useRemoteControl( |
| 38 | mcp: Pick<UseMCPReturn, 'send' | 'isRunning'>, |
no test coverage detected