mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
20221010.0 (#14059)
This commit is contained in:
commit
45646eaf0b
@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "home-assistant-frontend"
|
name = "home-assistant-frontend"
|
||||||
version = "20221006.0"
|
version = "20221010.0"
|
||||||
license = {text = "Apache-2.0"}
|
license = {text = "Apache-2.0"}
|
||||||
description = "The Home Assistant frontend"
|
description = "The Home Assistant frontend"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
@ -179,7 +179,7 @@ export class CloudGooglePref extends LitElement {
|
|||||||
private async _enabledToggleChanged(ev) {
|
private async _enabledToggleChanged(ev) {
|
||||||
const toggle = ev.target as HaSwitch;
|
const toggle = ev.target as HaSwitch;
|
||||||
try {
|
try {
|
||||||
await updateCloudPref(this.hass, { [toggle.id]: toggle.checked! });
|
await updateCloudPref(this.hass, { google_enabled: toggle.checked! });
|
||||||
fireEvent(this, "ha-refresh-cloud-status");
|
fireEvent(this, "ha-refresh-cloud-status");
|
||||||
} catch (err: any) {
|
} catch (err: any) {
|
||||||
toggle.checked = !toggle.checked;
|
toggle.checked = !toggle.checked;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user