Honeywell, a Charlotte, North Carolina-based electronics manufacturer, is planning to spend $4.95 billion to buy a security business from a South Florida company, officials announced Friday. The deal with Carrier Global Corp., a climate and energy firm, allows Honeywell to take over Carrier Global Access Solutions, which includes several brands focused on digital security. The deal also supports Honeywell’s work to realign its business portfolio into what it has called “three megatrends” to improve growth: automation, the future of aviation and energy transition. Honeywell had announced that m…