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

Group switch on CARD ? #53

Open
AntoxaSa opened this issue Jan 24, 2021 · 2 comments
Open

Group switch on CARD ? #53

AntoxaSa opened this issue Jan 24, 2021 · 2 comments

Comments

@AntoxaSa
Copy link

AntoxaSa commented Jan 24, 2021

Подскажите,как сделать отдельную кнопку в карточке на отдельный свитч?
Tell me how to make a separate button in the card for a separate group switch?
auto:
icon: 'mdi:brightness-auto'
order: 5
state:
entity: group.manual_brizer
mapper: "(state) => (state ? 'on' : 'off')"
toggle_action: >

@AntoxaSa AntoxaSa changed the title Свитч в карточке Group switch on CARD ? Jan 24, 2021
@AgenTer85
Copy link

Я имею такую же проблему. Хочу сделать дополнительную кнопку в мини-карточке, но не один из способов не работает. Переключение не происходит.
I have the same problem. I want to make an additional button in the mini-card, but not one of the ways does not work. The switch does not occur.

@bisquit2003
Copy link

так же хотел бы добавить отдельную кнопку в карточку, которая отвечает за подогрев воды в увлажнителе, у меня модель сяоми про, там этот функционал интеграцией передается отдельным свитчем
пока накидал такую карточку для отображения уровня воды из отдельного сенсора:

type: custom:mini-humidifier
entity: humidifier.leshow_jsq1_ee06_humidifier #увлажнитель
indicators:
water:
icon: mdi:cup-water
unit: '%'
round: 1
source:
entity: sensor.leshow_jsq1_ee06_water_level #сенсор уровня воды

в идеале бы еще яркость дисплея, интеграция передает отдельной сущностью number.leshow_jsq1_ee06_screen_brightness со значениями 0 и 1, наверное можно через сервис, не пробовал еще

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

No branches or pull requests

3 participants