Skip to content

Convert automation conditions to Lit#4321

Merged
bramkragten merged 5 commits into
devfrom
automation-conditions-lit
Dec 5, 2019
Merged

Convert automation conditions to Lit#4321
bramkragten merged 5 commits into
devfrom
automation-conditions-lit

Conversation

@bramkragten
Copy link
Copy Markdown
Member

No description provided.

Comment thread src/panels/config/automation/condition/ha-automation-condition-editor.ts Outdated
Comment thread src/panels/config/automation/condition/ha-automation-condition-row.ts Outdated
Comment thread src/panels/config/automation/condition/ha-automation-condition.ts
@property() public condition!: SunCondition;

public static get defaultConfig() {
return {};
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.

Shouldn't this include sunrise / sunset ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

No, you can't remove them when set, and since you could only set before and not set after or otherwise, a default doesn't make sense?

Copy link
Copy Markdown
Member

@balloob balloob left a comment

Choose a reason for hiding this comment

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

Few small comments. Looks great !

@bramkragten bramkragten merged commit 0734288 into dev Dec 5, 2019
@delete-merged-branch delete-merged-branch Bot deleted the automation-conditions-lit branch December 5, 2019 18:48
@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.

3 participants