dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.9k stars 498 forks source link

Don't load rules lasttriggered and timestriggered from database #7678

Closed manup closed 6 months ago

manup commented 6 months ago

Partly roll back PR: https://github.com/dresden-elektronik/deconz-rest-plugin/pull/7672 (see comments there)

The main reason to have lasttriggered and timestriggered in the database is to be able to get some insights for if rules are actually used in user setups, when we debug mailed databases.

With the PR the values aren't loaded but are still stored in the database for the last session to aid in debugging.