Skip to content

Commit

Permalink
Fixed request for esphome does not use the default password after las…
Browse files Browse the repository at this point in the history
…t commit
  • Loading branch information
guyluz11 committed Nov 26, 2022
1 parent a2dd4b3 commit d96f4aa
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions lib/infrastructure/devices/companies_connector_conjector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ class CompaniesConnectorConjector {
in HostScanner.getAllPingableDevices(
subnet,
resultsInAddressAscendingOrder: false,
lastSubnet: 126,
lastHostId: 126,
)) {
try {
setHostNameDeviceByCompany(
Expand All @@ -320,7 +320,7 @@ class CompaniesConnectorConjector {
in HostScanner.getAllPingableDevices(
subnet,
resultsInAddressAscendingOrder: false,
lastSubnet: 127,
lastHostId: 127,
)) {
try {
setHostNameDeviceByCompany(
Expand Down
2 changes: 1 addition & 1 deletion lib/infrastructure/devices/esphome/esphome_helpers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class EspHomeHelpers {
deviceKey: 'null',
newState: 'null',
mDnsName: mDnsName,
devicePassword: 'null',
devicePassword: 'MyPassword',
getProjectFilesLocation:
await getIt<SystemCommandsManager>().getProjectFilesLocation(),
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class EspHomeLightEntity extends GenericLightDE {
deviceKey: espHomeKey.getOrCrash(),
newState: 'True',
mDnsName: 'null',
devicePassword: 'null',
devicePassword: 'MyPassword',
getProjectFilesLocation:
await getIt<SystemCommandsManager>().getProjectFilesLocation(),
);
Expand Down Expand Up @@ -138,7 +138,7 @@ class EspHomeLightEntity extends GenericLightDE {
deviceKey: espHomeKey.getOrCrash(),
newState: 'False',
mDnsName: 'null',
devicePassword: 'null',
devicePassword: 'MyPassword',
getProjectFilesLocation:
await getIt<SystemCommandsManager>().getProjectFilesLocation(),
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class EspHomeSwitchEntity extends GenericSwitchDE {
deviceKey: espHomeKey.getOrCrash(),
newState: 'True',
mDnsName: 'null',
devicePassword: 'null',
devicePassword: 'MyPassword',
getProjectFilesLocation:
await getIt<SystemCommandsManager>().getProjectFilesLocation(),
);
Expand Down Expand Up @@ -135,7 +135,7 @@ class EspHomeSwitchEntity extends GenericSwitchDE {
deviceKey: espHomeKey.getOrCrash(),
newState: 'False',
mDnsName: 'null',
devicePassword: 'null',
devicePassword: 'MyPassword',
getProjectFilesLocation:
await getIt<SystemCommandsManager>().getProjectFilesLocation(),
);
Expand Down

0 comments on commit d96f4aa

Please sign in to comment.