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

Remove reliance on state object existence when rendering tiles #766

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

lageorgem
Copy link

Changelog:

  • Removed condition checking for the state object when rendering tile

Tile rendering allows for retrieving the tile's value from internal variables. That can be combined with various tap_actions that turn a tile into a button without the need for the tile to be related to an entity.
Since the other methods in the tile rendering do not particularly require the presence of a state object in the arguments, I found it fitting to remove said condition that prevented render.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant