Skip to content

Commit

Permalink
fixes #798
Browse files Browse the repository at this point in the history
  • Loading branch information
joBr99 committed Mar 5, 2023
1 parent 20743c3 commit 70211d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/nspanel-lovelace-ui/luibackend/pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ def generate_thermo_page(self, navigation, title, entity, temp_unit, overwrite_s
state_translation = get_translation(self._locale, "frontend.ui.panel.config.devices.entities.state")
action_translation = get_translation(self._locale, "frontend.ui.card.climate.operation").replace(' ','\r\n')

detailPage = ""
detailPage = "1"
if any(x in ["preset_modes", "swing_modes", "fan_modes"] for x in entity.attributes):
detailPage = "0"

Expand Down

0 comments on commit 70211d5

Please sign in to comment.