2 lines
8.1 KiB
JSON
2 lines
8.1 KiB
JSON
|
[{"id":"466ad5c2.a29164","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"40da5ad2.8aabf4","type":"tab","label":"Covid-19","disabled":false,"info":""},{"id":"dc09bc1e.a5f7f","type":"server","name":"Home Assistant","addon":true},{"id":"f2eef645.6063f","type":"binance-credentials","name":"Binance Credentials"},{"id":"4f147b45.6d1a5c","type":"http request","z":"40da5ad2.8aabf4","name":"state cases","method":"GET","ret":"obj","paytoqs":"ignore","url":"https://raw.githubusercontent.com/covid-19-au/covid-19-au.github.io/prod/src/data/stateCaseData.json","tls":"","persist":false,"proxy":"","authType":"","x":270,"y":160,"wires":[["d3ee7ba9.942948"]]},{"id":"d3ee7ba9.942948","type":"change","z":"40da5ad2.8aabf4","name":"just victoria data","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.values[2]","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":440,"y":160,"wires":[["30249d2b.adadf2"]]},{"id":"3af185ab.c301b2","type":"ha-entity","z":"40da5ad2.8aabf4","name":"COVID-19","server":"dc09bc1e.a5f7f","version":1,"debugenabled":false,"outputs":1,"entityType":"sensor","config":[{"property":"name","value":"COVID-19 Data"},{"property":"device_class","value":""},{"property":"icon","value":"mdi:virus"},{"property":"unit_of_measurement","value":""}],"state":"payload[1]","stateType":"msg","attributes":[{"property":"state","value":"payload[0]","valueType":"msg"},{"property":"cases","value":"payload[1]","valueType":"msg"},{"property":"deaths","value":"payload[2]","valueType":"msg"},{"property":"recovered","value":"payload[3]","valueType":"msg"},{"property":"tested","value":"payload[4]","valueType":"msg"},{"property":"active","value":"payload[5]","valueType":"msg"},{"property":"hospital","value":"payload[6]","valueType":"msg"},{"property":"icu","value":"payload[7]","valueType":"msg"}],"resend":true,"outputLocation":"","outputLocationType":"none","inputOverride":"allow","x":970,"y":160,"wires":[[]]},{"id":"366ac0f2.d26968","type":"inject","z":"40da5ad2.8aabf4","name":"","repeat":"3600","crontab":"","once":true,"onceDelay":"30","topic":"","payload":"","payloadType":"date","x":110,"y":160,"wires":[["4f147b45.6d1a5c"]]},{"id":"30249d2b.adadf2","type":"rbe","z":"40da5ad2.8aabf4","name":"","func":"rbe","gap":"","start":"","inout":"out","property":"payload","x":590,"y":160,"wires":[["3af185ab.c301b2"]]},{"id":"6aaac257.edb40c","type":"http request","z":"40da5ad2.8aabf4","name":"state cases","method":"GET","ret":"obj","paytoqs":"ignore","url":"https://raw.githubusercontent.com/covid-19-au/covid-19-au.github.io/prod/src/data/state.json","tls":"","persist":false,"proxy":"","authType":"","x":270,"y":260,"wires":[["882d669e.5f14c8"]]},{"id":"23c16912.20f496","type":"inject","z":"40da5ad2.8aabf4","name":"","repeat":"3600","crontab":"","once":true,"onceDelay":"30","topic":"","payload":"","payloadType":"date","x":110,"y":260,"wires":[["6aaac257.edb40c"]]},{"id":"482885aa.9fabbc","type":"comment","z":"40da5ad2.8aabf4","name":"Data Source Site","info":"Data source:\nhttps://github.com/covid-19-au/covid-19-au.github.io\n\nVictorian source:\nhttps://interactive.guim.co.uk/covidfeeds/victoria.json","x":100,"y":60,"wires":[]},{"id":"4eeb6da3.14ce6c","type":"ha-entity","z":"40da5ad2.8aabf4","name":"COVID-19 New Cases","server":"dc09bc1e.a5f7f","version":1,"debugenabled":false,"outputs":1,"entityType":"sensor","config":[{"property":"name","value":"COVID-19 New"},{"property":"device_class","value":""},{"property":"icon","value":"mdi:virus"},{"property":"unit_of_measurement","value":""}],"state":"payload","stateType":"msg","attributes":[],"resend":true,"outputLocation":"","outputLocationType":"none","inputOverride":"allow","x":1000,"y":260,"wires":[[]]},{"id":"4141ba11.d94e34","type":"http request","z":"40da5ad2.8aabf4","name":"locale cases","method":"GET","ret":"obj","paytoqs":"ignore","url":"https://interactive.guim.co.uk/covidfeeds/victoria.json","tls":"","persist":false,"proxy":"","authType":"","x":270,"y":460,"wires":[["9f89f5ee.bb3dd8"]]},{"id":"62431127.2d61d","type":"inject","z":"40da5ad2.8aabf4","name":"","pro
|