isWeekend v1.0.3

Weekend sensor checks whether it is currently weekend (Saturday or Sunday) in the specified time zone and returns TRUE or FALSE
Input arguments are:

  • timeZone, defaults to Europe/Brussels

Possible input for timeZone: Time zones

Raw data:

  • timestamp in UTC milis
  • year
  • month
  • day
  • hours
  • minutes
  • seconds
  • dateString, in format: Mon Jun 29 2015 15:24:59 GMT+0200

Required properties:

  • timeZone

States:

  • TRUE
  • FALSE

Raw data:

  • timestamp (long)
  • localTime (string)
  • hours (integer)
  • minutes (integer)
  • day (integer)
  • month (integer)
  • year (integer)
  • seconds (double)
  • dateString (double)