Please note you will need to add your Airfryer Via Tuya Android App, then get the ip and local key to do this localtuya, I will provide the screen shots of how it should be added as a device with screen shots, listing the entities, and the final yaml for the controls, you will need to download other cards e.g. chips, css mod, mushroom, etc to use this.
Add device with localtuya using IP and local Key.
You should end up with something that looks like this.
Once done you can copy paste this yaml into a card
you will need
custom:button-card
custom:mushroom-chips-card
custom:numberbox-card
custom:card-mod
I think thats them all
type: vertical-stack
cards:
- type: horizontal-stack
cards:
- show_name: true
show_icon: true
type: custom:button-card
show_entity_picture: true
name: Power
state:
- value: 'on'
icon: mdi:power
color: green
- value: 'off'
icon: mdi:power
color: red
entity: switch.power
- show_name: true
show_icon: true
type: custom:button-card
show_entity_picture: true
name: Start/Stop
state:
- value: 'on'
icon: mdi:fan
color: green
styles:
icon:
- animation:
- rotating 1s linear infinite
- value: 'off'
icon: mdi:fan
color: gray
entity: switch.start_stop
- show_name: true
show_icon: true
type: custom:button-card
show_entity_picture: true
name: Lamp
state:
- value: 'on'
icon: mdi:lightbulb
color: yellow
- value: 'off'
icon: mdi:lightbulb-off
color: gray
entity: switch.start_stop
- type: custom:mushroom-chips-card
chips:
- type: template
entity: select.mode
icon: mdi:french-fries
tap_action:
action: call-service
service: select.select_option
data:
option: Chips
target:
entity_id: select.mode
content_info: none
icon_color: |-
{% set state=states('select.mode') %}
{% if state=='Chips' %}
green
{% else %}
gray
{% endif %}
- type: template
entity: select.mode
content_info: none
icon: mdi:cupcake
tap_action:
action: call-service
service: select.select_option
data:
option: Cake
target:
entity_id: select.mode
icon_color: |-
{% set state=states('select.mode') %}
{% if state=='Cake' %}
green
{% else %}
gray
{% endif %}
- type: template
entity: select.mode
content_info: none
icon: mdi:pizza
tap_action:
action: call-service
service: select.select_option
data:
option: Pizza
target:
entity_id: select.mode
icon_color: |-
{% set state=states('select.mode') %}
{% if state=='Pizza' %}
green
{% else %}
gray
{% endif %}
- type: template
entity: select.mode
content_info: none
icon: mdi:fishbowl
tap_action:
action: call-service
service: select.select_option
data:
option: Shrimp
target:
entity_id: select.mode
icon_color: |-
{% set state=states('select.mode') %}
{% if state=='Shrimp' %}
green
{% else %}
gray
{% endif %}
- type: template
entity: select.mode
content_info: none
icon: mdi:food-steak
tap_action:
action: call-service
service: select.select_option
data:
option: Steak
target:
entity_id: select.mode
icon_color: |-
{% set state=states('select.mode') %}
{% if state=='Steak' %}
green
{% else %}
gray
{% endif %}
- type: template
entity: select.mode
content_info: none
icon: mdi:fish
tap_action:
action: call-service
service: select.select_option
data:
option: Fish
target:
entity_id: select.mode
icon_color: |-
{% set state=states('select.mode') %}
{% if state=='Fish' %}
green
{% else %}
gray
{% endif %}
- type: template
entity: select.mode
content_info: none
icon: mdi:food-steak
tap_action:
action: call-service
service: select.select_option
data:
option: Ribs
target:
entity_id: select.mode
icon_color: |-
{% set state=states('select.mode') %}
{% if state=='Ribs' %}
green
{% else %}
gray
{% endif %}
- type: template
entity: select.mode
content_info: none
icon: mdi:food-drumstick
tap_action:
action: call-service
service: select.select_option
data:
option: Drumsticks
target:
entity_id: select.mode
icon_color: |-
{% set state=states('select.mode') %}
{% if state=='Drumsticks' %}
green
{% else %}
gray
{% endif %}
alignment: justify
- type: horizontal-stack
cards:
- type: vertical-stack
cards:
- type: custom:numberbox-card
border: true
entity: number.cook_time
icon: mdi:clock
name: Cooking Time
- type: custom:numberbox-card
border: true
entity: number.cooking_tempreture
icon: mdi:thermometer
unit: c
name: Cooking Temperature
- type: horizontal-stack
cards:
- type: entity
unit: min
entity: number.time_remaning
icon: mdi:clock-outline
name: Time Remaing
state_color: false
- type: custom:button-card
show_name: true
show_icon: true
show_entity_picture: true
name: Food
state:
- value: unknown
icon: mdi:food-fork-drink
color: white
name: Make your Selection
- value: Pizza
icon: mdi:pizza
color: white
name: Pizza
- value: Chips
icon: mdi:french-fries
color: white
name: Chips
- value: Cake
icon: mdi:cake-variant
color: white
name: Cake
- value: Shrimp
icon: mdi:fishbowl
color: white
name: Shrimp
- value: Steak
icon: mdi:food-steak
color: white
name: Steak
- value: Fish
icon: mdi:fish
color: white
name: Fish
- value: Drumsticks
icon: mdi:food-drumstick
color: white
name: Drumsticks
- value: Ribs
icon: mdi:food-steak
color: white
name: Ribs
entity: select.mode
Enjoy, if you can make a better looking one, please share as personally it looks dull to me, I aint that good at making it look flashy, but at least it works.