Skip to content

Add name variable - Weather Card#2131

Merged
zsarnett merged 2 commits intodevfrom
weather-patch
Nov 27, 2018
Merged

Add name variable - Weather Card#2131
zsarnett merged 2 commits intodevfrom
weather-patch

Conversation

@zsarnett
Copy link
Copy Markdown
Contributor

No description provided.

@ghost ghost assigned zsarnett Nov 27, 2018
@ghost ghost added the in progress label Nov 27, 2018
}

computeName(stateObj) {
return this.config.name || stateObj.attributes.friendly_name;
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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Okay. So I thought about doing that but figured I would keep it the same and then I forgot to mention that in my description...

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.

this.config is not set on legacy UI, so can't just be referenced for any element in src/cards

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.

@zsarnett zsarnett merged commit b37ea48 into dev Nov 27, 2018
@delete-merged-branch delete-merged-branch bot deleted the weather-patch branch November 27, 2018 20:06
@ghost ghost removed the in progress label Nov 27, 2018
@balloob balloob mentioned this pull request Dec 5, 2018
@github-actions github-actions bot locked and limited conversation to collaborators Jul 7, 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