8000 Fixed sensor issue with Google Wifi routers in bridge mode by fronzbot · Pull Request #8710 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fixed 8000 sensor issue with Google Wifi routers in bridge mode #8710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 30, 2017
Merged

Fixed sensor issue with Google Wifi routers in bridge mode #8710

merged 2 commits into from
Jul 30, 2017

Conversation

fronzbot
Copy link
Contributor

Description:

  • Router in bridge mode apparently don't report all of the stats (local IP Address)
  • Re-wrote the data_format function so it's a bit easier to follow and able to log keys that aren't supported by a router in a given mode
  • Changed config so that it properly ignores conditions when not explicitly listed
  • Added tests to check for the above and also to verify we log that a key doesn't exist rather than throwing an exception

Related issue (if applicable): fixes #8705

Checklist:

If the code does not interact with devices:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • Tests have been added to verify that the new code works.

- Router in brdige mode apparently don't report all of 
8000
the stats
- Re-wrote the data_format function so it's a bit easier to follow and able to log keys that aren't supported by a router in a given mode
- Changed config so that it properly ignores conditions when not explicitly listed
- Added tests to check for the above and also to verify we log that a key doesn't exist rather than throwing an exception
@fronzbot
Copy link
Contributor Author

@balloob Can this bugfix get added to the next patch milestone?

@fronzbot fronzbot changed the title Fixed issue with routers in bridge mode Fixed sensor issue with Google Wifi routers in bridge mode Jul 30, 2017
- Changed to be the actual config values to prevent log error
@balloob balloob added this to the 0.50.2 milestone Jul 30, 2017
@balloob
Copy link
Member
balloob commented Jul 30, 2017

Thanks for the quick fix! 🎉 🐬 Will include it in 0.50.2

@balloob balloob merged commit 418a8ba into home-assistant:dev Jul 30, 2017
balloob pushed a commit that referenced this pull request Jul 31, 2017
* Fixed issue with routers in bridge mode

- Router in brdige mode apparently don't report all of the stats
- Re-wrote the data_format function so it's a bit easier to follow and able to log keys that aren't supported by a router in a given mode
- Changed config so that it properly ignores conditions when not explicitly listed
- Added tests to check for the above and also to verify we log that a key doesn't exist rather than throwing an exception

* Mistakenly was calling MONITORED_CONDITIONS in data_format

- Changed to be the actual config values to prevent log error
@balloob balloob mentioned this pull request Jul 31, 2017
dethpickle pushed a commit to dethpickle/home-assistant that referenced this pull request Aug 18, 2017
…stant#8710)

* Fixed issue with routers in bridge mode

- Router in brdige mode apparently don't report all of the stats
- Re-wrote the data_format function so it's a bit easier to follow and able to log keys that aren't supported by a router in a given mode
- Changed config so that it properly ignores conditions when not explicitly listed
- Added tests to check for the above and also to verify we log that a key doesn't exist rather than throwing an exception

* Mistakenly was calling MONITORED_CONDITIONS in data_format

- Changed to be the actual config values to prevent log error
@home-assistant home-assistant locked and limited conversation to collaborators Dec 11, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Google Wifi Sensor
4 participants
0