From 0a6b9466acc07a07fc20983f91d2b45bc00941de Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 8 Nov 2019 20:30:32 +0300 Subject: [PATCH] dummy keys --- Makefile | 3 +++ hass/settings/secrets.yaml.sample | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e447b1e..a7094ca 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,9 @@ update_secrets_sample: @sed -i "s/powerstrip_key:.*/powerstrip_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/g" hass/settings/secrets.yaml.sample #len 32 @sed -i "s/telegram_chat:.*/telegram_chat: 0/g" hass/settings/secrets.yaml.sample #must be a number @sed -i "s/timezone:.*/timezone: Europe\/London/g" hass/settings/secrets.yaml.sample #must be valid + @sed -i "s/chat_id:.*/chat_id: 12312312/g" hass/settings/secrets.yaml.sample #must be valid + @sed -i "s/token:.*/token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/g" hass/settings/secrets.yaml.sample #must be valid + @echo "Masking env files..." @find . -name *.env | xargs -I{} cp {} {}.sample @find . -name *.env.sample | xargs -I{} sed -i "s/\=.*/\=xxxxxxxxx/g" {} diff --git a/hass/settings/secrets.yaml.sample b/hass/settings/secrets.yaml.sample index fc81d1c..316fac6 100644 --- a/hass/settings/secrets.yaml.sample +++ b/hass/settings/secrets.yaml.sample @@ -53,7 +53,7 @@ wifi_socket_ip: xxxxxxxxx wifi_socket_key: xxxxxxxxx philips_downlight_ip: xxxxxxxxx -philips_downlight_token: xxxxxxxxx +philips_downlight_token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx purifier_ip: xxxxxxxxx purifier_key: xxxxxxxxx @@ -114,7 +114,7 @@ mosenergo_alt_pwd: xxxxxxxxx # APPDAEMON SETTINGS # ################################### ha_url: xxxxxxxxx -ha_token: xxxxxxxxx +ha_token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ################################### @@ -127,7 +127,7 @@ narodmon_key: xxxxxxxxx ################################### mosru_login: xxxxxxxxx mosru_pwd: xxxxxxxxx -mosru_token: xxxxxxxxx +mosru_token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx mosru_flat_id: xxxxxxxxx mosru_paycode: xxxxxxxxx