home-assistant-konnected-tutorial
home-assistant-konnected-tutorial copied to clipboard
Shorten suggestion messages and titles for iphone limitations
Iphones dont display long message and titles very well on notification screen. For suggest-arm-everybody-left.yaml and suggest-arm-late-nobody-home.yaml. Also using notify.intrusion_actions group to shorten code:
message: Everybody left home. Long press to see options.
title: Arm the system?
the entire automation:
alias: 'Intrusion: suggest arming when everybody leaves' description: 'Whenever all members of the family leave, present the choice to arm the alarm' trigger:
- platform: state entity_id: group.family to: not_home condition:
- condition: state entity_id: alarm_control_panel.home_alarm state: disarmed action:
- service: notify.intrusion_actions data: message: Everybody left home. Long press to see options. title: Arm the system? data: tag: intrusion-suggest-arm url: /lovelace/security actions: - action: ARM_AWAY title: Arm away destructive: true - action: ARM_HOME title: Arm home destructive: true - action: DO_NOTHING title: Hide this notification mode: single
stupid auto correct/html formatting but i think you get whats happening...
Sorry I don't have a lot of time this weekend, but I'll take a better look on Tuesday. If you want to help me speed up the review, you could send me pull requests. Would you like to try?
On Thu, Mar 24, 2022 at 2:57 PM johnny-co @.***> wrote:
stupid auto correct/html formatting but i think you get whats happening...
— Reply to this email directly, view it on GitHub https://github.com/scarpazza/home-assistant-konnected-tutorial/issues/8#issuecomment-1077947502, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGJZUJRI7B5K2XBAK6HUGILVBS3LDANCNFSM5RSAT2YQ . You are receiving this because you are subscribed to this thread.Message ID: <scarpazza/home-assistant-konnected-tutorial/issues/8/1077947502@ github.com>
Been meaning to learn more of the basics of github. I'll do some reading and figure it out. the more you know....
Much appreciated! Here's one way to go about it: https://docs.github.com/en/get-started/quickstart/github-flow This workflow would help me a lot, as I just have to review the differences and merge them, rather than compare the old and the new files by hand. Thanks!
On Tue, Mar 29, 2022 at 8:21 AM johnny-co @.***> wrote:
Been meaning to learn more of the basics of github. I'll do some reading and figure it out. the more you know....
— Reply to this email directly, view it on GitHub https://github.com/scarpazza/home-assistant-konnected-tutorial/issues/8#issuecomment-1081802584, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGJZUJQFZMYN23GPULZO5ZLVCLYUTANCNFSM5RSAT2YQ . You are receiving this because you commented.Message ID: @.*** com>