@pburtchaell/homebridge-seasons 0.1.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,6 +4,7 @@
4
4
  "singular": true,
5
5
  "schema": {
6
6
  "type": "object",
7
+ "required": ["hemisphere"],
7
8
  "properties": {
8
9
  "hemisphere": {
9
10
  "title": "Hemisphere",
package/index.js CHANGED
@@ -14,7 +14,7 @@ module.exports = function (homebridge) {
14
14
  Service = homebridge.hap.Service;
15
15
  Characteristic = homebridge.hap.Characteristic;
16
16
 
17
- homebridge.registerPlatform("@pburtchaell/homebridge-seasons", "Seasons", SeasonsPlatform);
17
+ homebridge.registerPlatform("@pburtchaell/homebridge-seasons", "Homebridge Seasons", SeasonsPlatform);
18
18
  };
19
19
 
20
20
  class SeasonsPlatform {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "private": false,
3
3
  "name": "@pburtchaell/homebridge-seasons",
4
4
  "displayName": "Homebridge Seasons",
5
- "version": "0.1.1",
5
+ "version": "0.3.0",
6
6
  "description": "Homebridge plugin to display the current season of the year as HomeKit contact sensors",
7
7
  "license": "MIT",
8
8
  "main": "index.js",
@@ -8,7 +8,7 @@
8
8
  "platforms": [
9
9
  {
10
10
  "name": "Seasons",
11
- "platform": "Seasons",
11
+ "platform": "Homebridge Seasons",
12
12
  "calendar": "meteorologic",
13
13
  "hemisphere": "north",
14
14
  "display": "both"
@@ -99,7 +99,7 @@ require("../index")(mock);
99
99
 
100
100
  function createAccessories(config = {}) {
101
101
  const defaults = {
102
- platform: "Seasons",
102
+ platform: "Homebridge Seasons",
103
103
  hemisphere: "north",
104
104
  };
105
105
  const log = Object.assign(() => {}, { debug() {} });