mirror of
https://github.com/beestat/app.git
synced 2025-05-24 02:14:03 -04:00
Fixed #125 - Removed sensors are not being properly removed
Forgot to remove the inactive sensors from the polling.
This commit is contained in:
parent
ca340b4326
commit
b02374a71b
@ -46,22 +46,42 @@ beestat.poll = function() {
|
||||
{
|
||||
'resource': 'thermostat',
|
||||
'method': 'read_id',
|
||||
'alias': 'thermostat'
|
||||
'alias': 'thermostat',
|
||||
'arguments': {
|
||||
'attributes': {
|
||||
'inactive': 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
'resource': 'sensor',
|
||||
'method': 'read_id',
|
||||
'alias': 'sensor'
|
||||
'alias': 'sensor',
|
||||
'arguments': {
|
||||
'attributes': {
|
||||
'inactive': 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
'resource': 'ecobee_thermostat',
|
||||
'method': 'read_id',
|
||||
'alias': 'ecobee_thermostat'
|
||||
'alias': 'ecobee_thermostat',
|
||||
'arguments': {
|
||||
'attributes': {
|
||||
'inactive': 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
'resource': 'ecobee_sensor',
|
||||
'method': 'read_id',
|
||||
'alias': 'ecobee_sensor'
|
||||
'alias': 'ecobee_sensor',
|
||||
'arguments': {
|
||||
'attributes': {
|
||||
'inactive': 0
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
function(response) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user