Comments (7)
The idea behind it is to fit everything on a narrow screen, hence the C instead of Cancel.
What should we use instead of Disarm as it's a bit too long?
from hass-custom-alarm.
Seems like there's plenty of room to just make the buttons wider and use the words "Clear" and "Disarm":
from hass-custom-alarm.
Ok, I'll give it a try.
Actually, you can play with it for yourself locally and tell us what works best.
Just make the following changes to resources/panel.html:
line 192: replace C with Clear, i.e
<mwc-button class='clear action-button' on-click='callclearcode' raised>Clear</mwc-button>
and line 195: you need a button here as well, not an icon
<mwc-button class='action-button disarm' on-click='callAlarmService' data-call='disarm' raised>Disarm</mwc-button>
from hass-custom-alarm.
implemented in commit 6010c33.
I also modified the sm (tablet width > 1024) view to have the same button groupings with 0 at bottom center:
I'm still experimenting with increasing the button sizes in the sm tablet view.
from hass-custom-alarm.
not sure if these changes are desirable for everyone. i can send a pull request if you think so.
would probably be nicer if it was made optional in the theme, but i wasn't sure the best way to approach that
from hass-custom-alarm.
let me think about it as there's no rush.. ;)
from hass-custom-alarm.
I think the disarm button is far and away more logic for mot people. I have the same problem with people not knowing how to use it - though less critical because mostly arm/disarm through presence automations.
from hass-custom-alarm.
Related Issues (20)
- Integration to Alarmpanel by Thanksmister (MQTT) HOT 1
- On Safari, bwalarm settings pages don't show properly - impossible to reach some settings HOT 6
- bwalarm Settings buttons hard to read, black text on dark gray HOT 2
- Add "Keypad always vertical" option to panel's settings
- Alarm Panel Card: states buttons not working HOT 3
- armed_away sensors in override list not triggering alarm HOT 1
- 0.115 no longer supports html_url for registering panel HOT 20
- no panel alarm HOT 2
- BW Alarm does not appear in the integration-menu of HA HOT 2
- I do not get the panel or access HOT 1
- Alarm config page missing from side menu HOT 1
- No version key HOT 2
- No Alarm Integration Found HOT 1
- 2021.10.0b2 breaks bwalarm HOT 1
- HA beta 2021.12.0b1 breaks integration HOT 10
- Deprecated call HOT 2
- New issue on core-2022.5.0b1 HOT 1
- Python 3.10 dependency conflict HOT 7
- HA 2023.6 Broken integration HOT 19
- cts 700 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hass-custom-alarm.