Skip to content

Commit af258b6

Browse files
committed
fix: rename for action hue_factory_reset
1 parent 3f9bc5e commit af258b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mocks/bridgeDefinitions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6912,7 +6912,7 @@ export const BRIDGE_DEFINITION: Message<Zigbee2MQTTAPI["bridge/definitions"]> =
69126912
},
69136913
},
69146914
},
6915-
actions: ["raw", "hue_factory_reset"],
6915+
actions: ["raw", "philips_hue_factory_reset"],
69166916
},
69176917
topic: "bridge/definitions",
69186918
};

src/pages/TouchlinkPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export default function TouchlinkPage() {
103103

104104
const onHueResetApply = useCallback(async () => {
105105
await sendMessage(scanIdx, "bridge/request/action", {
106-
action: "hue_factory_reset",
106+
action: "philips_hue_factory_reset",
107107
params: {
108108
// 0x-format
109109
extended_pan_id: hueExtPanId,

0 commit comments

Comments
 (0)