Add support for Cast.

This commit is contained in:
2020-01-14 23:06:52 +01:00
parent 5f34d95040
commit c3f2ebd8d4
5 changed files with 38 additions and 19 deletions

View File

@@ -17,8 +17,6 @@ For more usage examples, see the [cookbook](https://github.com/thomasloven/hass-
# Installation instructions
**NOTE: This integration requires Home Assistant version 0.95 or later**
- Copy the contents of `custom_components/browser_mod/` to `<your config dir>/custom_components/browser_mod/`.
- Add the following to your `configuration.yaml`:
@@ -29,6 +27,17 @@ browser_mod:
- Restart Home Assistant
> Note: If you want to use browser_mod with Home Assistant Cast, you need to also add:
>
> ```yaml
> resources:
> - url: /browser_mod.js
> type: module
> ```
> to your `ui_lovelace.yaml`.
> Don't worry about where to put browser_mod.js, the integration will handle that automatically, and please note that it's **not** `/local/browser_mod.js`.
# Usage
## Devices