kaklakariada / fritzbox-java-api

Java API for managing FritzBox HomeAutomation
GNU General Public License v3.0
20 stars 13 forks source link

Support for device-attribute "Alert" missing #31

Open JunkerMartin opened 2 years ago

JunkerMartin commented 2 years ago

"alert" is described in the "AVM Home Automation HTTP Interface" - Doc 1.36 from 2020/09/16 and is shown for me with the device "blind".

Sample:

    \<alert\>
            \<state\>0\</state\>
            \<lastalertchgtimestamp\>1637521201\</lastalertchgtimestamp\>
        \</alert\>
TDesjardins commented 1 year ago

@JunkerMartin Seems this is also already solved with your patch: https://github.com/kaklakariada/fritzbox-java-api/blob/e06cb656a5727a84e9d4fcb33cd62b4229331898/src/main/java/com/github/kaklakariada/fritzbox/model/homeautomation/Device.java#L79