'HA 알림 채널 제거', 'message' => 'remove_channel', 'level' => 'info', 'tag' => 'control-channel-remove-' . preg_replace('/[^a-zA-Z0-9_-]+/', '-', $channel), 'data' => [ 'channel' => $channel, 'notification_icon' => 'mdi:notification-clear-all', 'persistent' => false, 'sticky' => 'false', 'renotify' => 'false', ], ]); echo json_encode($result, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) . PHP_EOL; exit(($result['sent'] ?? 0) > 0 ? 0 : 1);