Comments (1)
Hello @CountParadox!
You'll be happy to know that the ability to do this is already included in the current version of Firemote!
In November of 2022, version 1.8.0 was released with new functionality which allows you to override any standard remote button with a Home Assistant script. A few months later, In March of this year, version 2.0.3 was released which added the ability to use the card's YAML config to send a custom service call without the need for a separate script! Both of these options are still included in the latest version of Firemote.
Full documentation for how this works can be found in the README.md file under the Button Overrides heading.
In your case, I would imagine that adding something like this to your Firemote card's YAML config would do the trick:
button_overrides:
power-button:
service: { CHANGE THIS TO THE APPROPRIATE NAME OF YOUR IR BLASTER SERVICE CALL }
target:
entity_id: { CHANGE THIS TO THE ENTITY ID OF YOUR IR BLASTER }
data:
{ YOUR PROPERTY } : { YOUR VALUE }
I'm unable to properly guess the exact details of your situation since I don't have your IR blaster, so everything above in between the { BRACKETS } will need to be figured out by you.
Alternatively, you could always build a script that does what you need, and add something like this to your card's YAML config:
button_overrides:
power-button:
script: { THE NAME OF YOUR SCRIPT }
Hopefully this answers your questions. If not, please let me know and I'll be happy to help!
-Doug
from ha-firemote.
Related Issues (20)
- [New App Shortcut]: Eurosport Player HOT 14
- [New App Shortcut]: Freecast HOT 1
- [New App Shortcut]: TV Vlaanderen (BE) HOT 12
- [New App Shortcut]: fioptics+ HOT 1
- [New App Shortcut]: TV4 Play Sweden HOT 2
- [New App Shortcut]: Telia Play - Sweden HOT 2
- [New App Shortcut]: StingTV HOT 1
- [New App Shortcut]: FreeTV HOT 2
- [New App Shortcut]: Norlys Play HOT 2
- [New App Shortcut]: HBO Max - Denmark HOT 3
- [Feature Request]: Design your own remote HOT 1
- [Feature Request]: Broadlink Integration HOT 11
- [New App Shortcut]: NOVA Video Player HOT 1
- Sportsnet launcher not working HOT 12
- [New App Shortcut]: CANAL+ HOT 3
- [New App Shortcut]: Ninja Player HOT 5
- [New App Shortcut]: Cheers - Danmu Player HOT 1
- [New App Shortcut]: Radioplayer (UK)
- Binge AU app shortcut not working on Amazon Fire TV Stick 4K Max HOT 2
- New App Launcher Shortcut - TrillerTV (formally fite TV)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-firemote.