mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-21 15:04:24 +01:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b4b988b735 | ||
|
|
d3ab908507 | ||
|
|
2ee79debd0 |
12
.github/issue-close-app.yml
vendored
12
.github/issue-close-app.yml
vendored
@@ -5,10 +5,10 @@
|
|||||||
|
|
||||||
# Comment that will be sent if an issue is judged to be closed.
|
# Comment that will be sent if an issue is judged to be closed.
|
||||||
comment: >-
|
comment: >-
|
||||||
This issue has been automatically closed because the TEMPLATE is missing or incomplete.
|
This issue has been automatically closed because the TEMPLATE (it's the stuff you deleted from the issue while opening) is missing or incomplete.
|
||||||
|
|
||||||
Filling the template is required so standard questions don't need to be asked again each time.
|
Filling the template is required so standard questions don't need to be asked again each time.
|
||||||
THe ability to provide assistance is greatly hampered if few minutes are not taken to complete the issue template
|
The ability to provide assistance is greatly hampered if few minutes are not taken to complete the issue template
|
||||||
with the requested information. The details requested potentially affect which options to pursue. The small amount
|
with the requested information. The details requested potentially affect which options to pursue. The small amount
|
||||||
of time you will spend completing the template will also help the volunteers, providing assistance to you, to reduce
|
of time you will spend completing the template will also help the volunteers, providing assistance to you, to reduce
|
||||||
the time required to help you.
|
the time required to help you.
|
||||||
@@ -19,14 +19,16 @@ comment: >-
|
|||||||
|
|
||||||
[Docs](https://docs.nspanel.pky.eu) for more information.
|
[Docs](https://docs.nspanel.pky.eu) for more information.
|
||||||
|
|
||||||
|
IF YOU THINK THIS IS WAS CLOSED AS A FALSE POSITIVE or you just didn't find a template that matches your request, please do not open another issue, closed issues will also be monitored.
|
||||||
|
|
||||||
issueConfigs:
|
issueConfigs:
|
||||||
# There can be several configs for different kind of issues.
|
# There can be several configs for different kind of issues.
|
||||||
- content:
|
- content:
|
||||||
# template 1: bug report
|
# template 1: bug report
|
||||||
- "PROBLEM DESCRIPTION"
|
- "PROBLEM DESCRIPTION"
|
||||||
# - "REQUESTED INFORMATION"
|
- "REQUESTED INFORMATION"
|
||||||
# - "TO REPRODUCE"
|
- "TO REPRODUCE"
|
||||||
# - "EXPECTED BEHAVIOUR"
|
- "EXPECTED BEHAVIOUR"
|
||||||
- content:
|
- content:
|
||||||
# template 2: feature request
|
# template 2: feature request
|
||||||
- "FEATURE DESCRIPTION"
|
- "FEATURE DESCRIPTION"
|
||||||
|
|||||||
@@ -486,7 +486,7 @@ class LuiPagesGen(object):
|
|||||||
else:
|
else:
|
||||||
media_icon = self.generate_entities_item(entity, "cardGrid")
|
media_icon = self.generate_entities_item(entity, "cardGrid")
|
||||||
ha_entity = apis.ha_api.get_entity(entityId)
|
ha_entity = apis.ha_api.get_entity(entityId)
|
||||||
heading = title if title != "unknown" else entity.attributes.friendly_name
|
heading = title if title != "unknown" else ha_entity.attributes.friendly_name
|
||||||
title = get_attr_safe(ha_entity, "media_title", "")
|
title = get_attr_safe(ha_entity, "media_title", "")
|
||||||
author = get_attr_safe(ha_entity, "media_artist", "")
|
author = get_attr_safe(ha_entity, "media_artist", "")
|
||||||
volume = int(get_attr_safe(ha_entity, "volume_level", 0)*100)
|
volume = int(get_attr_safe(ha_entity, "volume_level", 0)*100)
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ List of supported config keys of this card:
|
|||||||
key | optional | type | default | description
|
key | optional | type | default | description
|
||||||
-- | -- | -- | -- | --
|
-- | -- | -- | -- | --
|
||||||
`type` | False | string | `None` | Type of the card
|
`type` | False | string | `None` | Type of the card
|
||||||
`entities` | False | complex | `None` | contains a list of entities of this card
|
`entity` | False | string | `None` | contains the entitiy of this card
|
||||||
`title` | True | string | `None` | Title of the Page
|
`title` | True | string | `None` | Title of the Page
|
||||||
`temperatureUnit` | True | string | `celsius` | set this to fahrenheit to change the temperatureUnit on the page
|
`temperatureUnit` | True | string | `celsius` | set this to fahrenheit to change the temperatureUnit on the page
|
||||||
`key` | True | string | `None` | Used by navigate items in combination with the type (cardEntities_key)
|
`key` | True | string | `None` | Used by navigate items in combination with the type (cardEntities_key)
|
||||||
|
|||||||
Reference in New Issue
Block a user