Update whats_new_1.1.0-b2.md

This commit is contained in:
Yegor Vialov 2020-05-25 15:54:10 +03:00 committed by GitHub
parent 41df8bd299
commit d45f9bf00d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,21 @@
- **Actionable notifications**. Actions could call service or fire events. The event type is `ha_client_event`.
- **Additional notification options**. Add `image` to the notification `data` with image url to show image in notification. Use `tag` in notification `data` to replace already exsisting notification with the same `tag`. Use `dismiss: true` in notification `data` to dismiss previously shown notification with the same `tag`. Use `autoDismiss: false` to prevent notification from being dismissed after tap/click. Use `channelId` to create and use custom notification channels.
### Example of `notify` service data:
```
message: "Notification text"
title: "Hey!"
data:
tag: myNotificationTag
autoDismiss: false
actions:
- action: call-service
title: Call service
service: light.turn_on
service_data:
entity_id: light.hallway
- action: my_event_action
title: Fire event
```
- **Full badges support** including *entity_filter*
- **Light card suppot**. Brightness could be changed by tapping, but not dragging for now. Dragging support will be added later
- **States-like UI** are now generated if you don't have Lovlease UI config yet