Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "shellies-ds9",
"version": "1.0.6",
"version": "1.0.7",
"description": "Handles communication with the next generation of Shelly devices",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/discovery/mdns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export class MdnsDeviceDiscoverer extends DeviceDiscoverer {
let ipAddress: string | null = null;

// find the device IP address among the answers
for (const a of response.answers) {
for (const a of response.answers.concat(response.additionals)) {
if (a.type === 'A') {
ipAddress = a.data;
}
Expand Down