Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modbus write register service #2970

Merged
merged 1 commit into from
Aug 27, 2016
Merged

modbus write register service #2970

merged 1 commit into from
Aug 27, 2016

Conversation

persandstrom
Copy link
Contributor

@persandstrom persandstrom commented Aug 25, 2016

Description:
New service to write modbus register.

Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#834

Example entry for configuration.yaml (if applicable):

automation:
  - alias: Set fan speed                                                         
    trigger:                                                                     
      platform: state                                                            
      entity_id: input_slider.fan_speed                                                                         
    action:                                                                                                     
      service: modbus.write_register                                                                            
      data_template:                                                                                            
        unit: 1                                                                                                 
        address: 100                                                             
        value: '{{ states.input_slider.fan_speed.state }}'  

Checklist:

If user exposed functionality or configuration variables are added/changed:

If code communicates with devices, web services, or a:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass

@persandstrom
Copy link
Contributor Author

@robbiet480 @MartinHjelmare could you have a look at this and get in into the release as well?

@robbiet480
Copy link
Member

🐬

@robbiet480 robbiet480 merged commit 04f0fec into home-assistant:dev Aug 27, 2016
@persandstrom
Copy link
Contributor Author

Thanks!

@persandstrom persandstrom deleted the modbus_write branch August 27, 2016 10:08
@home-assistant home-assistant locked and limited conversation to collaborators Mar 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants