Skip to content

Convert Automation Actions to mwc/ha-form + other automation items#11753

Merged
bramkragten merged 2 commits intodevfrom
action-automation-ha-form
Feb 21, 2022
Merged

Convert Automation Actions to mwc/ha-form + other automation items#11753
bramkragten merged 2 commits intodevfrom
action-automation-ha-form

Conversation

@zsarnett
Copy link
Copy Markdown
Contributor

Breaking change

Proposed change

Move Actions from paper to MWC or ha-form

catch a few imports and other automation fixes for paper conversion

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example configuration

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue or discussion:
  • Link to documentation pull request:

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

@zsarnett zsarnett added the needs design preview PRs with this label will trigger a GitHub action to generate a gallery preview label Feb 21, 2022
.value=${event}
@value-changed=${this._eventChanged}
></paper-input>
@change=${this._eventChanged}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is change enough, or should it be input?

)}
name="count"
.value=${(action as CountRepeat).count || "0"}
@hange=${this._countChanged}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

change or input?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Not hange for sure 😄

Comment on lines +55 to +56
ev.stopPropagation();
fireEvent(this, "value-changed", { value: ev.detail.value });
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Do we have to re-emit this? Or can we remove the handler all together?

@bramkragten bramkragten enabled auto-merge (squash) February 21, 2022 16:26
@bramkragten bramkragten merged commit decc0d3 into dev Feb 21, 2022
@delete-merged-branch delete-merged-branch bot deleted the action-automation-ha-form branch February 21, 2022 16:37
@github-actions github-actions bot locked and limited conversation to collaborators Feb 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed needs design preview PRs with this label will trigger a GitHub action to generate a gallery preview

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants