Hi,
i just tried in my testsystem…
My config:
{
“country”: “DE”,
“id”: “holiday”,
“name”: “holiday”,
“class”: “HolidaySensor”,
“state”: “BW”,
“debug”: true
},
When Debug is enabled i see the following output:
17:14:23.116 [pimatic-holidays] debug true
17:14:23.122 [pimatic-holidays] country DE
17:14:23.125 [pimatic-holidays] state BW
17:14:23.139 [pimatic-holidays] actualdate 2017-12-25
17:14:23.167 [pimatic-holidays] holidayname variable: 1. Weihnachtstag
17:14:23.168 [pimatic-holidays] holidaytype variable: public
17:14:23.168 [pimatic-holidays] istodayholiday: { date: ‘2017-12-25 00:00:00’,
17:14:23.168 [pimatic-holidays]> start: 2017-12-24T23:00:00.000Z,
17:14:23.168 [pimatic-holidays]> end: 2017-12-25T23:00:00.000Z,
17:14:23.168 [pimatic-holidays]> name: ‘1. Weihnachtstag’,
17:14:23.168 [pimatic-holidays]> type: ‘public’ }
17:14:23.168 [pimatic-holidays] presencevalue: true
The variables are looking good…
Could you try to enable debug and see what’s the result?
Please restart pimatic when checking the debug option.
You are on version 0.0.3, right? There was an issue in the previous versions.
Best regards
Stephan