Coder Social home page Coder Social logo

Comments (7)

rstrouse avatar rstrouse commented on August 16, 2024 1

Thanks that wiki needs some love. I'll update it when I find some time.

from espsomfy-rts-ha.

rstrouse avatar rstrouse commented on August 16, 2024

What error are you getting? I just ran that service on different entities without incident. However, I would have expected the yaml to be like the following. The entity_id is the target not part of the data.

service: cover.set_current_position
target:
  entity_id: cover.woonkamer_klein_raam
data: 
  position: 18

from espsomfy-rts-ha.

rstrouse avatar rstrouse commented on August 16, 2024

@nl0pvm did you get this resolved?

from espsomfy-rts-ha.

nl0pvm avatar nl0pvm commented on August 16, 2024

did not have time yet :)

from espsomfy-rts-ha.

nl0pvm avatar nl0pvm commented on August 16, 2024

Tested; it just does not matter what YAML i use ..... Both in homeassistant.log (and the GUI) the following error is thrown:
Error handling message: Service cover.set_current_position not found.

from espsomfy-rts-ha.

rstrouse avatar rstrouse commented on August 16, 2024

I am sorry I didn't play close enough attention to your yaml above you need to be using the espsomfy_rts domain for the service. The HA default cover does not contain a service for setting the current position.

service: espsomfy_rts.set_current_position
data:
  position: 93
target:
  entity_id: cover.woonkamer_klein_raam

from espsomfy-rts-ha.

nl0pvm avatar nl0pvm commented on August 16, 2024

Thanks, tested, Works.

Maybe to add this example to to the documentation at https://github.com/rstrouse/ESPSomfy-RTS-HA/wiki/Services as without you never think of using the espsomfy_rts service instead of cover. :)

from espsomfy-rts-ha.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.