diff --git a/docs/usage/casting.md b/docs/usage/casting.md index 3877ebca..960e3b34 100644 --- a/docs/usage/casting.md +++ b/docs/usage/casting.md @@ -23,6 +23,16 @@ Casting Home Assistant dashboards comes with a number of caveats: - The Javascript fullscreen API does not work (so the fullscreen button does not work, but see below for an equivalent). +## The `casting` profile + +The optional [casting profile](../configuration/profiles.md?id=casting) provides +some defaults to improve your casting experience. Use it like: + +```yaml +profiles: + - casting +``` + ## Recommended configuration for Nest Hub Using a `panel` dashboard with the following base configuration will result in @@ -38,6 +48,8 @@ cameras: dimensions: aspect_ratio: 1024:600 aspect_ratio_mode: static +profile: + - casting ``` ### Result diff --git a/src/config/profiles/casting.ts b/src/config/profiles/casting.ts index c53bf972..6537700a 100644 --- a/src/config/profiles/casting.ts +++ b/src/config/profiles/casting.ts @@ -5,11 +5,9 @@ import { CONF_LIVE_CONTROLS_BUILTIN, CONF_LIVE_SHOW_IMAGE_DURING_LOAD, CONF_MEDIA_VIEWER_CONTROLS_BUILTIN, - CONF_MENU_STYLE, } from '../../const.js'; export const CASTING_PROFILE = { - [CONF_MENU_STYLE]: 'none' as const, [CONF_LIVE_AUTO_UNMUTE]: ['selected', 'visible'], [CONF_DIMENSIONS_ASPECT_RATIO]: '16:9', [CONF_LIVE_CONTROLS_BUILTIN]: false, diff --git a/tests/config/profiles/casting.test.ts b/tests/config/profiles/casting.test.ts index 886f86d0..cad2188d 100644 --- a/tests/config/profiles/casting.test.ts +++ b/tests/config/profiles/casting.test.ts @@ -12,7 +12,6 @@ it('should contain expected defaults', () => { 'live.controls.builtin': false, 'live.show_image_during_load': true, 'media_viewer.controls.builtin': false, - 'menu.style': 'none', }); });