Skip to content

Commit

Permalink
Merge pull request #491 from SmartThingsCommunity/fix/hue-edge-child-…
Browse files Browse the repository at this point in the history
…type
  • Loading branch information
dljsjr authored Jan 18, 2023
2 parents 93bc575 + fb95027 commit 8c8b15b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/SmartThings/philips-hue/src/disco.lua
Original file line number Diff line number Diff line change
Expand Up @@ -301,14 +301,15 @@ process_discovered_light = function(driver, bridge_id, resource_id, device_info,
local bridge_device = known_dni_to_device_map[bridge_id]

local create_device_msg = {
type = "LAN",
type = "EDGE_CHILD",
device_network_id = light.id,
label = light.metadata.name,
vendor_provided_label = device_info.product_data.product_name,
profile = profile_ref,
manufacturer = device_info.product_data.manufacturer_name,
model = device_info.product_data.model_id,
parent_device_id = bridge_device.id,
parent_assigned_child_key = light.id,
}

HueDiscovery.light_state_disco_cache[light.id] = {
Expand Down

0 comments on commit 8c8b15b

Please sign in to comment.