forked from platypush/platypush
[#340] Force a refresh via alarm.status
when Alarm
view loads.
This commit is contained in:
parent
b4be56ec2c
commit
894faaad1e
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@ export default {
|
|||
async refresh() {
|
||||
this.$emit('loading', true)
|
||||
try {
|
||||
await this.request('alarm.status');
|
||||
(await this.request('entities.get', {plugins: [this.pluginName]})).forEach(
|
||||
entity => this.addAlarm(entity)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue