Skip to content

Commit

Permalink
fix: httpx error message, references #180
Browse files Browse the repository at this point in the history
  • Loading branch information
geertmeersman committed Jul 9, 2024
1 parent bac77a6 commit 7862a67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ The **REST sensors**, are updated on a configurable scan interval. When the mowe
- [Installation](#installation)
- [Using HACS (recommended)](#using-hacs-recommended)
- [Manual](#manual)
- [Contributions are welcome!](#contributions-are-welcome)
- [Contributions are welcome](#contributions-are-welcome)
- [Troubleshooting](#troubleshooting)
- [Frequently asked questions](#frequently-asked-questions)
- [Enable debug logging](#enable-debug-logging)
Expand Down Expand Up @@ -104,7 +104,7 @@ This integration will set up the following platforms.
| ---------- | ------------------------------------- |
| `robonect` | Home Assistant component for Robonect |

## Contributions are welcome!
## Contributions are welcome

If you want to contribute to this please read the [Contribution guidelines](CONTRIBUTING.md)

Expand Down Expand Up @@ -179,8 +179,8 @@ In template.yaml, add the following:
The example uses the following custom lovelace cards:
- custom:button-card: https://github.com/custom-cards/button-card
- custom:mini-graph-card: https://github.com/kalkih/mini-graph-card
- custom:button-card: <https://github.com/custom-cards/button-card>
- custom:mini-graph-card: <https://github.com/kalkih/mini-graph-card>
```yaml
type: vertical-stack
Expand Down
2 changes: 1 addition & 1 deletion custom_components/robonect/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ async def test_connection(self, user_input: dict | None = None) -> dict:
errors["base"] = "invalid_auth"
else:
errors["base"] = "unknown"
exception = e.message
exception = str(e)
return {"status": status, "errors": errors, "exception": exception}

async def async_step_username_password(
Expand Down

0 comments on commit 7862a67

Please sign in to comment.