From a93022074560447b1e74ae2279932b2fff7569cd Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Mon, 17 May 2021 00:26:34 +0300 Subject: [PATCH] Cleanup --- .travis.yml | 18 ------ appdaemon/.gitignore | 1 - appdaemon/appdaemon.yaml | 16 ------ appdaemon/apps/apps.yaml | 4 -- appdaemon/apps/apps.yaml.example | 4 -- appdaemon/apps/hello.py | 12 ---- appdaemon/dashboards/Hello.dash | 14 ----- zigbee2mqtt/.gitignore | 4 -- zigbee2mqtt/configuration.yaml | 96 -------------------------------- zigbee2mqtt/secret.example.yaml | 2 - 10 files changed, 171 deletions(-) delete mode 100644 .travis.yml delete mode 100644 appdaemon/.gitignore delete mode 100644 appdaemon/appdaemon.yaml delete mode 100644 appdaemon/apps/apps.yaml delete mode 100644 appdaemon/apps/apps.yaml.example delete mode 100755 appdaemon/apps/hello.py delete mode 100755 appdaemon/dashboards/Hello.dash delete mode 100644 zigbee2mqtt/.gitignore delete mode 100644 zigbee2mqtt/configuration.yaml delete mode 100644 zigbee2mqtt/secret.example.yaml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index cb90d68..0000000 --- a/.travis.yml +++ /dev/null @@ -1,18 +0,0 @@ -language: python - -python: "3.7.7" - -before_install: - - mv ./config/secrets.example.yaml ./config/secrets.yaml - - sed -e '/hacs/,+2d' < ./config/configuration.yaml > ./config/configuration.yaml - - sed -e '/uilogs/,+2d' < ./config/configuration.yaml > ./config/configuration.yaml - - sed -e '/spotcast/,+2d' < ./config/configuration.yaml > ./config/configuration.yaml - - sed -e '/youtube/,+2d' < ./config/configuration.yaml > ./config/configuration.yaml - -install: - - pip3 install homeassistant - - pip3 install colorlog - - pip3 install python-dateutil - -script: - - hass -c ./config --script check_config --info all diff --git a/appdaemon/.gitignore b/appdaemon/.gitignore deleted file mode 100644 index 03cdeec..0000000 --- a/appdaemon/.gitignore +++ /dev/null @@ -1 +0,0 @@ -secrets.yaml diff --git a/appdaemon/appdaemon.yaml b/appdaemon/appdaemon.yaml deleted file mode 100644 index fdc4510..0000000 --- a/appdaemon/appdaemon.yaml +++ /dev/null @@ -1,16 +0,0 @@ -appdaemon: - latitude: !secret latitude - longitude: !secret longitude - elevation: !secret elevation - time_zone: Europe/Sofia - plugins: - HASS: - type: hass - ha_url: !secret url - token: !secret token - -http: - url: http://cobalt.lan:5050 - -api: -hadashboard: diff --git a/appdaemon/apps/apps.yaml b/appdaemon/apps/apps.yaml deleted file mode 100644 index daff739..0000000 --- a/appdaemon/apps/apps.yaml +++ /dev/null @@ -1,4 +0,0 @@ -hello_world: - module: hello - class: HelloWorld - diff --git a/appdaemon/apps/apps.yaml.example b/appdaemon/apps/apps.yaml.example deleted file mode 100644 index daff739..0000000 --- a/appdaemon/apps/apps.yaml.example +++ /dev/null @@ -1,4 +0,0 @@ -hello_world: - module: hello - class: HelloWorld - diff --git a/appdaemon/apps/hello.py b/appdaemon/apps/hello.py deleted file mode 100755 index c40fb9f..0000000 --- a/appdaemon/apps/hello.py +++ /dev/null @@ -1,12 +0,0 @@ -import hassapi as hass -# -# Hello World App -# -# Args: -# - -class HelloWorld(hass.Hass): - - def initialize(self): - self.log("Hello from AppDaemon") - self.log("You are now ready to run Apps!") diff --git a/appdaemon/dashboards/Hello.dash b/appdaemon/dashboards/Hello.dash deleted file mode 100755 index cead237..0000000 --- a/appdaemon/dashboards/Hello.dash +++ /dev/null @@ -1,14 +0,0 @@ -# -# Main arguments, all optional -# -title: Hello Panel -widget_dimensions: [120, 120] -widget_margins: [5, 5] -columns: 8 - -label: - widget_type: label - text: Hello World - -layout: - - label(2x2) diff --git a/zigbee2mqtt/.gitignore b/zigbee2mqtt/.gitignore deleted file mode 100644 index f71aa99..0000000 --- a/zigbee2mqtt/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -database.db -log/ -secret.yaml -state.json diff --git a/zigbee2mqtt/configuration.yaml b/zigbee2mqtt/configuration.yaml deleted file mode 100644 index b9a725d..0000000 --- a/zigbee2mqtt/configuration.yaml +++ /dev/null @@ -1,96 +0,0 @@ -homeassistant: false -permit_join: false -mqtt: - base_topic: zigbee2mqtt - server: 'mqtt://192.168.0.27' - user: '!secret user' - password: '!secret password' -serial: - port: /dev/ttyACM0 - disable_led: true -advanced: - channel: 15 - log_level: debug - network_key: - - 5 - - 7 - - 5 - - 1 - - 9 - - 11 - - 3 - - 15 - - 0 - - 2 - - 4 - - 6 - - 8 - - 11 - - 12 - - 13 -devices: - '0x00158d0002f249d2': - friendly_name: desk_switch - '0x00158d00044e8210': - friendly_name: bedroom_left_window - retain: true - '0x00158d00045c0e3f': - friendly_name: bedroom_right_window - retain: true - '0x00158d00044e85df': - friendly_name: bedroom_door - retain: true - '0x00158d000465ae58': - friendly_name: bedroom_weather - retain: true - temperature_precision: 1 - humidity_precision: 1 - '0x00158d00049ff1db': - friendly_name: kitchen_window - retain: true - '0x00158d00045cf423': - friendly_name: kitchen_weather - retain: true - temperature_precision: 1 - humidity_precision: 1 - '0x00158d00047ba6cd': - friendly_name: bathroom_weather - retain: true - temperature_precision: 1 - humidity_precision: 1 - '0x00158d00045ee213': - friendly_name: front_door - retain: true - '0x00158d00047ba8af': - friendly_name: hallway_weather - retain: true - temperature_precision: 1 - humidity_precision: 1 - '0x00158d0001cbbb94': - friendly_name: trust_remote - '0x00158d0003f42ea3': - friendly_name: hallway_motion - '0x00158d00041444bc': - friendly_name: kitchen_motion - '0x00158d00042d163f': - friendly_name: living_room_right_window - retain: true - '0x00124b001f6fc6a2': - friendly_name: bed_led - '0x00158d00040249c8': - friendly_name: bedside_switch - '0x00158d0002f24a63': - friendly_name: bedroom_wall_switch - '0x00124b0018e27de7': - friendly_name: router_1 - '0x00158d0002eb57bc': - friendly_name: bathroom_switch - '0x00158d00045c933d': - friendly_name: guest_bedroom_weather - retain: true - temperature_precision: 1 - humidity_precision: 1 - '0x04cf8cdf3c794dd1': - friendly_name: opple_1 - '0x00158d0002c4c6b8': - friendly_name: '0x00158d0002c4c6b8' diff --git a/zigbee2mqtt/secret.example.yaml b/zigbee2mqtt/secret.example.yaml deleted file mode 100644 index c486ccd..0000000 --- a/zigbee2mqtt/secret.example.yaml +++ /dev/null @@ -1,2 +0,0 @@ -user: 'user' -password: 'password'