-
Notifications
You must be signed in to change notification settings - Fork 2
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
Explore adding Fan without autodiscovery #49
Labels
enhancement
New feature or request
Comments
My own yaml for - fan:
- name: "Itho HRU 350 eco"
unique_id: f8be29e7-363a-4cdf-a5b1-aeb8e170ec49
device:
identifiers: "mv"
name: "Itho Box"
manufacturer: "Itho Daalderop"
model: "Itho HRU 350 eco"
# ip adres van de wifi add-on
configuration_url: "http://192.168.107.11"
state_topic: "ithohru/lwt"
state_value_template: "{% if value == 'online' %}ON{% else %}OFF{% endif %}"
command_topic: "ithohru/cmd"
preset_mode_state_topic: "ithohru/ithostatus"
preset_mode_command_template: >
{% set preset_to_mode = {
"Low": "low",
"Medium": "medium",
"High": "high",
"Auto": "auto",
"Autonight": "autonight",
"Timer 10": "timer1",
"Timer 20": "timer2",
"Timer 30": "timer3",
"Timer": "timer"
}
%}
{ vremote: '{{ preset_to_mode[value] }}' }
preset_mode_value_template: >
{% set am = value_json['Actual Mode'] | int %}
{% if am == 1 %}
Low
{% elif am == 2 %}
Medium
{% elif am == 3 %}
High
{% elif am == 13 %}
Timer
{% elif am == 24 %}
Auto
{% elif am == 25 %}
Autonight
{% else %}
{{ am }}
{% endif %}
preset_mode_command_topic: "ithohru/cmd"
preset_modes:
- Low
- High
- Auto
- Timer 10
- Timer 20
- Timer 30
- Timer |
{
"aliases": [],
"area_id": null,
"categories": {},
"capabilities": {
"preset_modes": [
"low",
"medium",
"high",
"auto",
"autonight",
"timer1",
"timer2",
"timer3",
"timer"
]
},
"config_entry_id": "300d9b36140349e098511f49019f7f80",
"created_at": "1970-01-01T00:00:00+00:00",
"device_class": null,
"device_id": null,
"disabled_by": null,
"entity_category": null,
"entity_id": "fan.itho_hru_350",
"hidden_by": null,
"icon": null,
"id": "ebed0ac27cd8ebdd221d55552f3d2fbf",
"has_entity_name": true,
"labels": [],
"modified_at": "2024-08-09T17:24:42.786611+00:00",
"name": null,
"options": {
"cloud.google_assistant": { "should_expose": false },
"cloud.alexa": { "should_expose": true },
"conversation": { "should_expose": false }
},
"original_device_class": null,
"original_icon": null,
"original_name": "Itho HRU 350 ",
"platform": "mqtt",
"supported_features": 56,
"translation_key": null,
"unique_id": "Itho_hru_Fan",
"previous_unique_id": null,
"unit_of_measurement": null
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue created to document ideas etc
The text was updated successfully, but these errors were encountered: