Skip to content
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

Allow yaml in dev events #3861

Merged
merged 2 commits into from Oct 2, 2019
Merged

Allow yaml in dev events #3861

merged 2 commits into from Oct 2, 2019

Conversation

bramkragten
Copy link
Member

@bramkragten bramkragten commented Oct 2, 2019

Part of #3784

} catch (err) {
/* eslint-disable no-alert */
alert("Error parsing JSON: " + err);
alert("Error parsing YAML or JSON: " + err);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not even mention JSON anymore.

@@ -61,7 +63,7 @@ class HaPanelDevEvent extends EventsMixin(PolymerElement) {
value="{{eventType}}"
></paper-input>
<paper-textarea
label="Event Data (JSON, optional)"
label="Event Data (YAML or JSON, optional)"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same.

@bramkragten bramkragten merged commit 74d1de7 into dev Oct 2, 2019
@delete-merged-branch delete-merged-branch bot deleted the yaml-dev-event branch October 2, 2019 19:22
@bramkragten bramkragten mentioned this pull request Oct 2, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Jul 6, 2022
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.

None yet

4 participants