Commit Graph
229 Commits
Author SHA1 Message Date
rich fdcef375d4 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
gah, forgot it's entity_id!!

See merge request Bots/r0b3BOT!21
2019-11-27 14:43:41 -05:00
rich 72c97f7564 gah, forgot it's entity_id!! 2019-11-27 14:43:23 -05:00
rich 6459f671b1 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
fixing variable calling

See merge request Bots/r0b3BOT!20
2019-11-27 14:36:44 -05:00
rich c082888d2a fixing variable calling 2019-11-27 14:36:22 -05:00
rich d1527a8424 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
added code to turn light back off

See merge request Bots/r0b3BOT!19
2019-11-27 14:34:31 -05:00
rich b470a3a2ce added code to turn light back off 2019-11-27 14:34:07 -05:00
rich b35301cff2 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
removing http:// from varibale so that i can set it bot_config instead

See merge request Bots/r0b3BOT!18
2019-11-27 14:28:05 -05:00
rich 735ac8d7e2 removing http:// from varibale so that i can set it bot_config instead 2019-11-27 14:27:42 -05:00
rich fef6af3e3e Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
forgot to update the api call url

See merge request Bots/r0b3BOT!17
2019-11-27 14:24:44 -05:00
rich 62f71f7caf forgot to update the api call url 2019-11-27 14:24:23 -05:00
rich d52a4a1435 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
trying to turn on light using services turn_on

See merge request Bots/r0b3BOT!16
2019-11-27 14:20:14 -05:00
rich 985159e517 trying to turn on light using services turn_on 2019-11-27 14:19:48 -05:00
rich 1eedc900f2 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
Converting JSON to python dict and changed how i'm referencing the information

Closes #2

See merge request Bots/r0b3BOT!15
2019-11-27 14:11:39 -05:00
rich 8e7c53b25d Converting JSON to python dict and changed how i'm referencing the information 2019-11-27 14:11:21 -05:00
rich 4ac9c68308 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
changed to .text...

See merge request Bots/r0b3BOT!14
2019-11-27 14:03:15 -05:00
rich 490d43a385 changed to .text... 2019-11-27 14:01:54 -05:00
rich 1c7dcb7ebf Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
added code to cahnge light status.  dont think it will work , will prob get error 403

See merge request Bots/r0b3BOT!13
2019-11-22 16:12:19 -05:00
rich 583a164a33 added code to cahnge light status. dont think it will work , will prob get error 403 2019-11-22 16:09:14 -05:00
rich 3a3846df85 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
seems im not speficying the headers correctly

Closes #2

See merge request Bots/r0b3BOT!12
2019-11-22 15:55:17 -05:00
rich 392c091806 seems im not speficying the headers correctly 2019-11-22 15:54:52 -05:00
rich 2e19fdabdc Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
forgot to remove ':'

See merge request Bots/r0b3BOT!11
2019-11-22 15:51:58 -05:00
rich 165e92d274 forgot to remove ':' 2019-11-22 15:51:36 -05:00
rich d0c214a4e3 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
changing api url to public hostname instead of internal ip

See merge request Bots/r0b3BOT!10
2019-11-22 15:51:02 -05:00
rich 34ca1ad6c5 changing api url to public hostname instead of internal ip 2019-11-22 15:49:53 -05:00
rich 18a153ed82 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
reverting back to origin requests usage

See merge request Bots/r0b3BOT!9
2019-11-22 15:39:59 -05:00
rich 8bc6141366 reverting back to origin requests usage 2019-11-22 15:39:27 -05:00
rich 4aa1db5757 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
thing i was calling requests. incorrectly

See merge request Bots/r0b3BOT!8
2019-11-22 15:32:23 -05:00
rich 895c1b51de thing i was calling requests. incorrectly 2019-11-22 15:31:43 -05:00
rich 3fdca08751 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
adding more infromation to console to troubelshoot

See merge request Bots/r0b3BOT!7
2019-11-22 15:25:23 -05:00
rich eae183e669 adding more infromation to console to troubelshoot 2019-11-22 15:24:24 -05:00
rich a5f808ccb0 Merge branch '2-homeassistant-api-connection-is-broken' into 'master'
replacing homeassistant.remote API with REST API

See merge request Bots/r0b3BOT!6
2019-11-22 15:16:02 -05:00
rich d15dfc9a70 WIP: replacing homeassistant.remote API with REST API 2019-11-22 15:13:51 -05:00
rich f5dc97a584 Merge branch 'master' of http://gitlab.rickelobe.com/Bots/r0b3BOT 2019-11-22 09:51:32 -05:00
rich 285d0a59fb Eliminating unncessary debug print statement 2019-11-22 09:51:19 -05:00
rich f22591aee0 Merge branch '3-r0b3bot-does-not-handle-homeassistant-api-failure-gracefully' into 'master'
Eliminated defunct code and added comments

Closes #3

See merge request Bots/r0b3BOT!5
2019-11-22 09:41:26 -05:00
rich 43811751b5 Eliminated defunct code and added comments 2019-11-22 09:39:12 -05:00
rich e9c476e576 Merge branch '3-r0b3bot-does-not-handle-homeassistant-api-failure-gracefully' into 'master'
added try/except to check for state attribute

See merge request Bots/r0b3BOT!4
2019-11-22 09:35:12 -05:00
rich d8edd1b067 added try/except to check for state attribute 2019-11-22 09:34:24 -05:00
rich 6719847896 Merge branch '3-r0b3bot-does-not-handle-homeassistant-api-failure-gracefully' into 'master'
adding state attribute if api call fails

Closes #3

See merge request Bots/r0b3BOT!3
2019-11-22 09:28:27 -05:00
rich af97204c27 adding state attribute if api call fails 2019-11-22 09:27:36 -05:00
rich 4945714e4c Merge branch '3-r0b3bot-does-not-handle-homeassistant-api-failure-gracefully' into 'master'
Removed empty ctx.send

Closes #3

See merge request Bots/r0b3BOT!2
2019-11-22 09:14:33 -05:00
rich 8088aa1ca5 Removed empty ctx.send 2019-11-22 09:13:53 -05:00
rich 54d69b0151 Merge branch '3-r0b3bot-does-not-handle-homeassistant-api-failure-gracefully' into 'master'
Line 41 was causing problems, needs to be moved into CommandOnCooldown, Added...

Closes #3

See merge request Bots/r0b3BOT!1
2019-11-22 09:11:23 -05:00
rich d376d9cd27 Line 41 was causing problems, needs to be moved into CommandOnCooldown, Added check for CommandInvokeError 2019-11-22 09:10:02 -05:00
rich 2c12b0cb56 ugh, i was changing the wrong string for testing... i think i have it right now, but making a tiny change to test 2019-11-14 14:53:14 -05:00
rich bc8caa91a4 added a . 2019-11-14 14:50:14 -05:00
rich 3e13897832 removing /bin/bash from ci/cd config 2019-11-14 14:45:49 -05:00
rich 99a3b32124 Small change for ci/cd testing - changed two D's to d's 2019-11-14 14:43:12 -05:00
rich a7a272d205 pipeline is stuck, maybe i need to specify /bin/bash? 2019-11-14 14:33:46 -05:00
rich 3e27c27822 Added pipeline status 2019-11-14 14:29:44 -05:00