What I have does not work with the current version and I will not have
time to fix it until late next week. I will post some examples when I
have it.
On 28 January 2015 at 15:44, Nolan <nkgi...@gmail.com> wrote:
> Would you mind sharing your platform logic since you have already completed
> a similar task? It would be much appreciated. I'm a little lost looking at
> the switch/wemo.py
>
> On Wednesday, January 28, 2015 at 3:03:10 PM UTC-5, Stefan Krastanov wrote:
>>
>> Writing a new platform for the switch component is exactly what I did.
>> While not the best style, just copy-pasting another platform and
>> changing the definition of a few function should be sufficient.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Home Assistant Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to home-assistant-dev+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/89688b7e-e4e0-4196-b368-eacd6c3ff516%40googlegroups.com.
Best switch platform to work off would be the Tellstick one. Copy and paste it to config/custom_components/switch/your_platform.pyChange it to have get_devices return a list with your switch, overwrite the turn_on/turn_off commands with calling your command line functions.Only tricky part is that you have no way of checking if your switch is on/off. You can just have is_on return True if turn_on was called last, False if turn_off was called last.Good luck!
On Wed, Jan 28, 2015 at 1:15 PM, Nolan <nkgi...@gmail.com> wrote:
That would be great, thanks!
On Wednesday, January 28, 2015 at 4:14:26 PM UTC-5, Stefan Krastanov wrote:
What I have does not work with the current version and I will not have
time to fix it until late next week. I will post some examples when I
have it.
On 28 January 2015 at 15:44, Nolan <nkgi...@gmail.com> wrote:
> Would you mind sharing your platform logic since you have already completed
> a similar task? It would be much appreciated. I'm a little lost looking at
> the switch/wemo.py
>
> On Wednesday, January 28, 2015 at 3:03:10 PM UTC-5, Stefan Krastanov wrote:
>>
>> Writing a new platform for the switch component is exactly what I did.
>> While not the best style, just copy-pasting another platform and
>> changing the definition of a few function should be sufficient.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Home Assistant Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to home-assistant-dev+unsubscribe@googlegroups.com.
> To post to this group, send email to home-assi...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/home-assistant-dev/bb1b749a-16cb-4098-a444-0f1fe9e2c46c%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Home Assistant Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-dev+unsub...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/89688b7e-e4e0-4196-b368-eacd6c3ff516%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/c3866830-cd96-441c-b500-4103be69a4a8%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/89688b7e-e4e0-4196-b368-eacd6c3ff516%40googlegroups.com.
--It's nice to be important but it's more important to be nice.
--
You received this message because you are subscribed to the Google Groups "Home Assistant Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-dev+unsub...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/c3866830-cd96-441c-b500-4103be69a4a8%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/d1551e7f-2599-44ac-bd0f-9e2435bae970%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/c3866830-cd96-441c-b500-4103be69a4a8%40googlegroups.com.
--It's nice to be important but it's more important to be nice.
--
You received this message because you are subscribed to the Google Groups "Home Assistant Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-dev+unsub...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/d1551e7f-2599-44ac-bd0f-9e2435bae970%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Home Assistant Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/d9c34fb6-7c8e-4418-9bb6-ad4d56e9d357%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-dev+unsub...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/d9c34fb6-7c8e-4418-9bb6-ad4d56e9d357%40googlegroups.com.
For sensors you can do the same steps but then copy the sensor/demo.py platform.
Icons are done automatically in the interface using the domain icon for switch, sensor etc. To overwrite you can set the state attribute entity_picture to a url.
Paulus
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/d9c34fb6-7c8e-4418-9bb6-ad4d56e9d357%40googlegroups.com.--It's nice to be important but it's more important to be nice.
--
You received this message because you are subscribed to the Google Groups "Home Assistant Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/1aad950a-82d6-49da-a081-8115b02976e2%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-dev+unsub...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/d9c34fb6-7c8e-4418-9bb6-ad4d56e9d357%40googlegroups.com.----It's nice to be important but it's more important to be nice.
You received this message because you are subscribed to the Google Groups "Home Assistant Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-dev+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/d9c34fb6-7c8e-4418-9bb6-ad4d56e9d357%40googlegroups.com.----It's nice to be important but it's more important to be nice.
You received this message because you are subscribed to the Google Groups "Home Assistant Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/1aad950a-82d6-49da-a081-8115b02976e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Home Assistant Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/a5f85b39-dc1d-4618-8e71-b5d7fd5ae06f%40googlegroups.com.
I need the instructions for the home assistant setup. I know how to setup rcswitch.
I BEG YAA :)